At the reunion, they have a hot dog eating contest. Michael ate 3 more hot dogs than half as many as Crystal. Eric ate twice as many hot dogs as Michael. Write an algebraic expression to represent how many they each ate. If Crystal ate 12 hot dogs, how many did they all three eat in total?