Mark Kornejchik's submission of Chef and Three Dogs | CodeChef