Two guys A and B are walking down an escalator in the direction of the motion of the escalator. A takes two steps in the same time as B takes one step. When A covers 60 steps he gets out of the escalator while B takes 40 steps to get out of the escalator. Find the number of steps in the escalator when it is stationary?