''' Purpose: Solves the bm.py program question '''