Run ID:143480

提交时间:2026-01-16 13:07:14

a=int(input()) b=a+1 while True: if b%3==2 and b%5==3 and b%7==2: print(b) break b+=1