#C9275. Absolute Difference

    ID: 53350 Type: Default 1000ms 256MiB

Absolute Difference

Absolute Difference

Given two integers M and N, your task is to compute the absolute difference between them. The absolute difference is defined using the formula ( |M - N| ). This is a basic arithmetic problem that tests your ability to handle integer operations and input/output from standard streams. Read two space-separated integers from input and output a single integer representing ( |M - N| ).

inputFormat

The input is provided via standard input (stdin) and consists of a single line containing two space-separated integers, M and N.

outputFormat

The output should be printed to standard output (stdout) as a single integer, which is the absolute difference of M and N, i.e., ( |M - N| ).## sample

7 3
4