Rajesh Mudidana's submission of Fun with AGp | CodeChef