Sunghyeon Jo's submission of Zombinatorial | CodeChef