Jaya, a shopkeeper, initially had 'n' pens. A customer bought 10% pens from n, then another customer bought 20% of the remaining pens, after that one more customer purchased 25% of the remaining pens. Finally, Jaya was left with 270 pens in her shop. How many pens were there initially in her shop?