hack_7023's submission of Mode of Frequencies | CodeChef