The price of a book is 4 rupees more than the price of a pen; and the price of a pencil is 2 rupees less than the price of this pen. A man bought 5 books, 2 pens and 3 pencils and paid 54 rupees for the lot. What is the price of each?