Zhang Yide's submission of Equalize | CodeChef