Niyaz Nigmatullin's submission of Buy1-Get1 | CodeChef