With the money I have , I can buy 50 pens or 150 pencils. I kept 10% aside for taxi fare. With the remaining , I purchased 54 pencils and P pens. What is the value of P?
Select the correct option:
A) 32
B) 30
C) 27
D) 25
E) 23
Since cost of, 50 pens = 150 pencils, With the cost of 3 pencils I can buy 1 pen. After   putting aside 10% for taxi I was left with 90% of the money , with which I can buy 135   pencils (90% of 150) or 45(90% of 50) pens, I bought 54 pencils and P pens, or I could have   bought ( 54 +3P ) pencils ,   54 +3P =135, 3P = 135-54= 
<gadget id="calculator">135-54</gadget>
<output>81</output>
81, P=27   ANSWER:27
<result>C</result>
With the money I have , I can buy 50 pens or 150 pencils. I kept 10% aside for taxi fare. With the remaining , I purchased 54 pencils and P pens. What is the value of P?