Four theaters are on the same street in Miami. One day the four theater owners were discussing their ticket prices. The movie tickets were cheapest, followed by the community theater tickets, the dinner theater tickets, and the symphony tickets. They noticed that if three of the ticket prices were averaged and then added to the ticket price of the fourth theater, the numbers 25, 27, 31, and 39 would result, depending on which price you left out of the average. What are the ticket prices?