Tanaeem's submission of Summing Slopes | CodeChef