Aleksey Ropan's submission of Omax | CodeChef