A machine costs $ 340,000 today and generates revenues of $ 100,000 at the end of each year. The maintenance costs of $ 10,000 are incurred at the beginning of each year. The machine will last five years. Discount rate is 10%. Is the machine worth buying?