Four teams (red, blue, green and yellow) participate in the Junior Olympics, in which there are five event. In each event participants place either 1st, 2nd, 3rd,4th, or 5th. First place is awarded a gold medal, 2nd place is awarded a silver medal and 3rd place is awarded a bronze medal. There are no ties and each team enters one contestant in each even. All contestants finish each even.
The results of the Junior Olympics are:
No team wins gold medals in two consecutive events.
No team fails to win a medal within two consecutive events.
The Blue team wins only two medals, neither of them gold
The Red team wins only three gold medals.