Samarth Gupta's submission of Match the Streams | CodeChef