In this task, you're given context and an answer. Your task is to generate the question for this answer based on the given context with commonsense reasoning about social situations..
Q: Context: Bailey took swimming lessons so now Bailey gained an important skill to survive in water.
Answer: needed to enroll the class
A:
What does Bailey need to do before it?