40% of the fruits in a bag are mangoes and the remainder is orange. If there are 120 fruits in the bag and 10% of the mangoes are ripe, how many ripe mangoes are in the bag?