402507: GYM100796 A AHB
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
A. AHBtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
A and B are two non-negative integer numbers that both consist of n digits. Let the i-th digit of a number X be Xi. The operation gives an integer number defined as follows: the i-th digit of is equal to |Ai - Bi|. Calculate the result of !
InputThe only line of the input contains two space-separated integers A, B (0 ≤ A, B ≤ 109). It is guaranteed that A and B have an equal number of digits.
OutputOutput a single integer — the result of , without leading zeroes.
ExamplesInput123 151Output
32Input
11 21Output
10