A bag contains 3 red, 4 black and 5 green identical balls. Two balls are…