x,n=map(int,input().split()) days=0 for i in range(n): current_day=(x+i-1)%7+1 if current_day<6: days+=250 print(days)
使用您的 Hydro 通用账户