Andrey's submission of Number of Paths | CodeChef