Dinesh Goyal's submission of Hackerman | CodeChef