#C8526. Arithmetic Formatter
Arithmetic Formatter
Arithmetic Formatter
You are given two integers and . Your task is to compute the following arithmetic operations:
After computing these values, print them in the exact format shown below:
- The first line should be:
Sum: X
, whereX
is the sum of the two numbers. - The second line should be:
Difference: Y
, whereY
is the absolute difference of the two numbers. - The third line should be:
Product: Z
, whereZ
is the product of the two numbers.
The input will be provided via standard input, and you must write your output to standard output.
inputFormat
The input consists of a single line containing two space-separated integers, and .
outputFormat
Print three lines. The first line prints the sum in the format 'Sum: X'. The second line prints the absolute difference in the format 'Difference: Y'. The third line prints the product in the format 'Product: Z'.## sample
5 3
Sum: 8
Difference: 2
Product: 15
</p>