Parimal Prasoon's submission of Dean and Sam | CodeChef