There are 50 apple trees in an orchard. each tree produces 800 apples. for each additional tree planted in the orchard, the output per tree drops by 10 apples. how many trees in the orchard will yield the maximum output of apples?