eugene's submission of Blocks | CodeChef