Yi Feng Huang's submission of Jam | CodeChef