A fruit vendor buys some oranges at the rate of Rs 5 per orange. He also buys an equal number of bananas at the rate of Rs. 2 per banana. He sold the oranges at a profit of 20% and the bananas at a profit of 15%. At the end of the day all the fruits are sold out. His total profit is Rs 390, find the number of oranges purchased