Run ID:146117

提交时间:2026-01-26 12:13:48

n,k=map(int,input().split()) a=n//k s=n%k if a+s>k: t=(a+s)//k+a+n print(n,t) else: print(n,a+n)