B owes A Rs. 4,000. On 1st January, 2018, B accepts a 3 months bill for Rs. 3,900 being in full settlement of the claim. At its due date the bill is dishounoured. Nothing charges Rs. 50 are paid by A. Give the Journal entries in the books of A and B.