#P12004. Determining the Award in the Exam

    ID: 14107 Type: Default 1000ms 256MiB

Determining the Award in the Exam

Determining the Award in the Exam

This problem is about determining which award a contestant receives based on their exam score in the range \(0\) to \(400\). There are three awards: First Prize, Second Prize, and Third Prize. The decision is based on the following rules:

  • There are 32 provinces with a first prize threshold. The province of Changqie has the highest first prize threshold among them. In our problem, we assume Changqie's first prize threshold (\(F_1\)) is \(331\) and is not less than \(41\).
  • The second prize threshold for Changqie is defined as the first prize threshold of the third highest province minus \(1\). In our case, we assume that value to be \(320\) (i.e. if \(F_3=321\) then second prize threshold = \(321 - 1 = 320\)).
  • The third prize threshold is a fixed value of \(40\) across the country.

Thus, given a contestant's exam score from Changqie province, the awarding is determined as follows:

  1. If the score is at least \(331\), the contestant receives "First Prize".
  2. If the score is between \(320\) (inclusive) and \(331\) (exclusive), the contestant receives "Second Prize".
  3. If the score is between \(40\) (inclusive) and \(320\) (exclusive), the contestant receives "Third Prize".
  4. If the score is less than \(40\), the contestant receives no prize, and the output should be "No Prize".

inputFormat

The input consists of a single integer \(s\) representing the exam score of a person from Changqie province. The score \(s\) satisfies \(0 \leq s \leq 400\).

outputFormat

Output a single line containing one of the following strings based on the award received: "First Prize", "Second Prize", "Third Prize", or "No Prize".

sample

350
First Prize

</p>