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