100 atcoder#ABC187A. [ABC187A] Large Digits
[ABC187A] Large Digits
Score : points
Problem Statement
For an integer , let be the sum of digits in the decimal notation of . For example, we have .
Given two -digit integers and , find the greater of and .
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the value of the greater of and . If these are equal, print .
123 234
9
We have and , so we should print the greater of these: .
593 953
17
100 999
27