by_three.py