#K65197. Tournament Winner Determination

    ID: 32144 Type: Default 1000ms 256MiB

Tournament Winner Determination

Tournament Winner Determination

In this problem, two players compete in a tournament. Each player has a score and a skill level. The rules to determine the winner are as follows:

  • If the players' skill levels are different, the player with the higher skill level wins. In mathematical terms, if \( skill_1 \neq skill_2 \), then the winner is determined by \( skill_1 > skill_2 \) or \( skill_2 > skill_1 \).
  • If the players' skill levels are equal (i.e. \( skill_1 = skill_2 \)), the player with the higher score wins.
  • If both the skill levels and scores are equal, the result is a "Draw".

Your task is to implement the logic to determine the winner based on these rules. The input will consist of four integers provided via standard input (stdin) and your program should output the result to standard output (stdout).

inputFormat

The input consists of a single line containing four space-separated integers:

  • score1: The score of player 1.
  • score2: The score of player 2.
  • skill1: The skill level of player 1.
  • skill2: The skill level of player 2.

These values are read from standard input (stdin).

outputFormat

Output a single line from standard output (stdout) containing one of the following strings: "Player 1", "Player 2", or "Draw". This output represents the winner of the tournament based on the given criteria.

## sample
500 600 15 14
Player 1