Absolute Value

TarifEzaz SCB-PA Inter School and C...
Limits 1s, 512 MB

You will be given an integer x. The absolute value of x will be within 100. You have to add 1 to x's absolute value and print the result.

Input

The input contains a single integer x. The absolute value of x will be within 100.

For 50 points, the given numbers will be non-negative.

Output

Output the result for the given x.

Sample

InputOutput
70
71

According to Wikipedia, “In mathematics, the absolute value or modulus |x| of a real number x is the non-negative value of x without regard to its sign. Namely, |x| = x for a positive x, |x| = -x for a negative x (in which case -x is positive).”

Submit

Login to submit.

Statistics

91% Solution Ratio
farhan132Earliest, Oct '19
farhan132Fastest, 0.0s
ar.arzu12Lightest, 0 B
mdvirusShortest, 20B
Toph uses cookies. By continuing you agree to our Cookie Policy.