The sixth-graders at Jonah's school got to choose between a field trip to a museum and a field trip to a factory. 70% of the sixth-graders picked the museum. If there are 40 sixth-graders in all at Jonah's school, how many sixth-graders went on the trip to the museum