Dhruv Kakadiya's submission of Mode of Frequencies | CodeChef