Nikhil Gupta's submission of Average of Pairs | CodeChef