codeforce python code