20 + 3 = <<20+3=23>>23 people from the 4th grade class are going to the science museum.

Therefore, they will pay a total of 23 x $5 = $<<23*5=115>>115.

# Answer

115
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
A 4th grade class with 20 students and 3 teachers is going to a science museum.  The entrance ticket costs $5 each. How much will they pay for the entrance tickets?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
115
A 4th grade class with 20 students and 3 teachers is going to a science museum.  The entrance ticket costs $5 each. How much will they pay for the entrance tickets?
train