Python solutions to CodeForces problems