#PCBSAU0000006. Khoảng cách trên trục số (Distance on a Number Line)
Khoảng cách trên trục số (Distance on a Number Line)
Distance on a Number Line
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given integer positions on a number line, calculate the non-negative distance between them.
Input
One line containing integers .
Output
Print .
Subtask
- Subtask 1 — 100 points: .
Example
Input
-3 5
Output
8
Explanation
The difference between positions and is . Its absolute value is , which is the distance to print.