Run id: 116289

------Input------
51 3 94 38
------Answer-----
the next triple peak occurs in 749 days.
------Your output-----
the next triple peak occurs in 5740 days.