Souvik Mitra's submission of Reservior | CodeChef