Please reason step by step, and put your final answer within \boxed{}.
A class has 500 tables and a certain ratio of books as the number of tables in the class are on top of each table. The total number of books in the class is 100000. What is the ratio of the number of books on top of each table to the number of tables in the class?
user