Abhinav's submission of Efficient Painting | CodeChef