Run ID:146244
提交时间:2026-01-27 14:22:11
x,n=map(int,input().split()) t=n for i in range(n): if (x+i)%6==0 or (x+i)%7==0: t=t-1 m=t*250 print(m)