Andrey's submission of Hack Fulu | CodeChef