Bank simulator problem from Hack Bulgaria's course "Programming 101"