Ram and Shyam distribute some coins amongst them in the ratio 4:5. If Ram steals 3 coins from Shyam, the ratio of coins they have becomes 5:4. How many coins did they distribute initially?  Choose the correct choice from the following answers
A) 81
B) 27
C) 15
D) 12
E) 3
Initially, the ratio of coins with Ram and Shyam was 4:5. So, let 4x be the number of coins with Ram and 5x be the number of coins with Shyam, making a total of 9x coins.   If Ram steals 3 coins from Shyam, Ram will have 4x + 3 coins and Shyam will have 5x -3 coins. The new ratio of the coins with them is given to be 5 : 4.   This means,   (4x+3)/(5x-3) = 5/4   Solving this equation we get, x = 3.   So the total number of coins they distributed originally was 9x = 9 times 3 = 27.   Ans 27
<result>B</result>
Ram and Shyam distribute some coins amongst them in the ratio 4:5. If Ram steals 3 coins from Shyam, the ratio of coins they have becomes 5:4. How many coins did they distribute initially?