Niyaz Nigmatullin's submission of Sum3 | CodeChef