R.A.'s submission of Mahasena | CodeChef