A monkey becomes happy when they eat three different fruits. What is the largest number of monkeys that can become happy with 20 pears, 30 bananas, 40 peaches and 50 tangerines?