Run ID:89596
提交时间:2024-08-25 15:22:01
n = int(input()) i = int(input()) m = (1 + n)*n//2 j = (1 + i)*i//2 print(m) print(j)