Module: (Python) Arithmetic expressions


Problem

3 /6


Built-in functions

Theory Click to read/hide

Any programming language includes many built-in functions that can be used in arithmetic expressions.
To use additional functions, you often have to connect additional libraries.

For example, the most commonly used standard mathematical functions and their writing in Python

 abs(i) module of integer n
 math.fabs(x) modulus of a real number x
 math.sqrt(x) the square root of the real number x
 math.pow(x,y) computes x to the power of y

Remember that the function argument is always written in brackets.
For these functions to work, you need to connect an additional mathematical library (module).
You can do this by adding a line at the beginning of the program
import math
A detailed description of the functions that this module contains can be found on official site with documentation on the Python language

Problem

Write a program that determines the distance between two points with the given coordinates x1 and x2 on the numerical axis. The distance between two points is calculated by the formula|x2 − х1|.
The first line of input contains two real numbers. Print one real number - the distance between two points

Example
Input

100000 0

Output

100000