In the Olympics 5 countries won a total of 350 medals (gold, silver, bronze) The second one won 1 more medal than the 1st one. The third one won 14 fewer than twice the number of medals the 1st one won, the fourth one won 12 more medals than the 1st country. Finally, the 5th one won 1 more than twice the number of medals the first one won. Determine the number of medal won by each of the countries in the Olympics.