Problem160 Python