1987 AIME Problem 10

Al walks down to the bottom of an escalator that is moving up and he counts 150 steps. His friend, Bob, walks up to the top of the escalator and counts 75 steps. If Al’s speed of walking (in steps per unit time) is three times Bob’s speed, how many steps are visible on the escalator at any given time? (Assume that this number is constant.)