Koichi Namekata's submission of The Army | CodeChef