Jay bought a painting on sale for 45% off the original price, for $27. What was the price of the painting before the sale?