chandan's submission of Paint the Wall | CodeChef