5% of apples in a basket were rotten and another 10% were discarded by the fruit vendor. If 1700 apples remain in the basket, then the original number of apples in the basket was ___