On 1st July, 2017, A drew a bill for Rs. 5,000 on B payable after 3 months. A discounted it with the Bank for Rs. 4,850. On maturity B failed to pay the amount of his acceptance and the bank had to pay Rs. 50 as noting charges.
Draw up the necessary Journal entries in the books of A and B.