Out of the 47 students in the gym, 23 are sitting on the bleachers and the rest are sitting on the floor. What is the ratio of the number of students sitting on the floor to the number of students sitting on the bleachers?

Write your answer as two numbers separated by a colon (for example, 2:3).

There are a total of 47 - 23 = <<47-23=24>>24 students sitting on the floor.

Therefore, the ratio is 24:23. Answer: \boxed{24:23}.