Avi's submission of Dean and Sam | CodeChef