#3163. Large Digits
0
Large Digits
Large Digits
题目描述
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 .
输入格式
Input is given from Standard Input in the following format:
输出格式
Print the value of the greater of and .
If these are equal, print .
123 234
9
593 953
17
100 999
27
提示
All values in input are integers.
We have and , so we should print the greater of these: .
标签: AtCoder|abc187A
来源
AtCoder|abc187A