Initially, a shopkeeper had x pens. A customer bought 10% of pens from x, then another customer bought 20% of the remaining pens. After that one more customer purchased 25% of the remaining pens. Finally, the shopkeeper is left with 270 pens in his shop. How many pens were there initially in his shop?
1
200
2
800
3
400
4
500