Ashish Gupta's submission of Sherlock and Inversions | CodeChef