Pawan Pratap's submission of Can_Reach | CodeChef