Amit Kumar's submission of Mode of Frequencies | CodeChef