Find number of days to reach at top if each day some distance is climbed and some is lost