20% of the middle school students decided not to go skiing. How many middle school students are there if 40 stayed in the lodge?

Write a proportion for the situation.

Solve the problem. Show your work.