Problems
10016 - FIFA World Cup
SUBMIT PROBLEM

FIFA World Cup

Time Limit: 1 sec

 

The Problem

The FIFA World Cup, 2018 is going on and four teams enter into the semifinal. According to semifinal fixture, in group A, there are two teams; Germany and Argentina and in group B, there are two teams; Netherlands and Brazil.

Six (6) integers will be given. The first four are the numbers of goals made in semifinals by group A and group B and last two are the numbers of goals made in final by the winning  team of group A and B sequentially. Goals of two teams can never be equal in both semifinal and final.

 

Your task is to find the winning team of FIFA World Cup, 2018.

 

Semifinal

Final

Winner

Germany         6

 

 

Argentina         7

 

 

 

Argentina         7

Brazil               8

Brazil

Netherland      5

 

 

Brazil               6

 

 

 

Brazil Wins!!

 

The Input

The Input file contains several lines. Each line contains six positive numbers. Every number is not greater than 18.The input file terminated by EOF.

 

The Output

For each line of input, the output will print the name of winning team in a separate line.

 

Sample Input

6 5 4 3 4 3

6 7 5 6 7 8

 

Sample Output

Germany

Brazil

 

 

 

[School Level]

Inter School & College Programming Contest (ISCPC) 2015 

Problem Setter: Samia Safa Ahmed