Passengers enter an elevator of a building. the elevator moves up 6 floors, stops, moves down 5 floors, stops, and then moves up 7 floors and stops. The elevator is 2 floors from the top floor. Find the number of floors in the building when the passengers enter the elevator on the given floor.