Calculate a+b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are less than four digits).
输入格式:
输出格式:
输入样例1:
-1000000 9
输出样例1:
-999,991
代码
a, b = map(int,input().split())
print('{:,}'.format(a+b))