Jill, Cathy, and Sand​y ​were in line for a roller coaster ride. How many ways could they be seated if the ride held 3 people in each seat?