pawan dixit's submission of Find X | CodeChef