Run ID:146120

提交时间:2026-01-26 12:15:10

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