My one friend Alex has r red, g green and b blue balloons. To decorate a single table for the banquet he needs exactly three balloons. Three balloons attached to some table shouldn't have the same color.
What maximum number t of tables can be decorated if he knows number of balloons of each color? Alex gave me this problem to solve. For given values r, g and b how will I find the maximum number t of tables, that can be decorated in the required manner.
My another friend joy solved it and found this information. If r=5,b=4,g=3,his result is 4.
But I can't understand how he solved and found this result.Can anyone tell me joy's process and reasoning behind it?