Run ID:87694

提交时间:2024-08-11 10:49:04

s=input().split() N=int(s[0]) M=int(s[1]) sb=(N+M)*2 ss=N*M print(sb,ss)