Utkarsh Garg's submission of Match the Streams | CodeChef