Andrey Kim's submission of Andrew and the Meatballs | CodeChef