Back to tasks
A dice duel
BeginnerPython for kids 路 Lesson 30: Contest tasks with conditions
Problem Statement
Each of two players throws two dice. Read the first player's two results, then the second player's two. The one with the bigger sum wins. Print 1, 2 or REMIS.
Input Format
Four whole numbers (1..6), each on its own line.
Output Format
1, 2 or REMIS.
Examples
Example 1
Input
6 5 3 3
Output
1
Example 2
Input
2 4 3 3
Output
REMIS