Elizabeth and her sister earned money shoveling snow over winter break. Altogether, they shoveled for a total of 30 hours. Elizabeth charged her customers $12 per sidewalk, and her sister charged $11 per sidewalk. If they earned $347.50 total, how many hours did each girl spend shoveling?