A city bus compny sold 35 one-way tickets and 20 round trip tickets from west elmwood to east elmwood. One way tickets cost $14. Round trip tickets cost $27. How much money did the bus company collect?