Scholarship
Limits: 2 sec., 256 MiB
This statement was translated automatically from Ukrainian. In case of any discrepancy, the Ukrainian version is authoritative.
Ilona Maksymivna studies at the Jupiter University, located in the picturesque Io canyon on the planet Mars.
Today Ilona had her last exam. Now she knows all her grades for the semester.
Grades at Jupiter University are given on a 100-point scale.
If a student has all excellent grades (at least 90), they are awarded an increased scholarship.
If all of a student’s grades are at least 51, but they are not eligible for an increased scholarship, they receive a regular scholarship.
If a student has at least one failing grade (less than 51), they are not awarded a scholarship.
Since living in the Io canyon is not cheap, Ilona wants to know as soon as possible if she will get a scholarship.
Help her, and in return she will invite you as a guest.
Input
The first line contains an integer \(n\) — the number of exams in the semester.
The next line contains \(n\) integers \(a_i\) — Ilona Maksymivna’s grades.
Output
In a single line, print Pidvyshchena,
Zvychaina or Zabud pro stypendiiu, depending
on what scholarship Ilona has earned.
Constraints
\(1 \le n \le 7\),
\(0 \le a_i \le 100\).
Samples
| Input (stdin) | Output (stdout) |
|---|---|
| 7 51 74 61 81 77 71 90 | Zvychaina |
| Input (stdin) | Output (stdout) |
|---|---|
| 4 94 90 100 100 | Pidvyshchena |
| Input (stdin) | Output (stdout) |
|---|---|
| 4 4 7 47 74 | Zabud pro stypendiiu |
Notes
In the first example, the first six grades are less than 90, so an increased scholarship is not awarded here.
In the second example, all grades are excellent. In the third example, there are two failing grades — 4 and 7.
Submit a solution
| Element Type | Created | Who | Problem | Compiler | Result | Time (sec.) | Memory (MiB) | # | Actions |
|---|
| Element Type | Created | Who | Problem | Compiler | Result | Time (sec.) | Memory (MiB) | # | Actions |
|---|