Evgeniy Sluzhaev's submission of PrimePlusPlus | CodeChef