a,b = map(int,input().split(" ")) print(a+b)
一行就能解了喔 !
for i in [input().split()]: print(int(i[0])+int(i[1]))
AC (30ms, 3.3MB)