apple pie's submission of Make Them Equal | CodeChef