Can any genious write a program like this one??
Write a program called single that determines the winners of each match and the ultimate champion.
single will print (to standard output) the following output for the previous example:
Belarus defeats Sweden by score 4 3
Canada defeats Finland by score 2 1
United States defeats Germany by score 5 0
Russia defeats Czech Republic by score 1 0
Canada defeats Belarus by score 7 1
United States defeats Russia by score 3 2
Canada defeats United States by score 5 2