Shreyas Gupta's submission of Valid Paths | CodeChef