Run ID:77864
提交时间:2024-06-15 16:32:19
p,e,i,d=map(int, input().split(" ")) a=p+1 while((a-p)%23): a+=1 while ((a-e)%28): a+=23 while ((a-i)%33): a+=23*28 print('the next triple peak occurs in {} days.'.format(a-d))