#K52957. University Application Status Checker

    ID: 29424 Type: Default 1000ms 256MiB

University Application Status Checker

University Application Status Checker

This problem is about determining the university application status based on the applicant's score. You will read an integer score from standard input and output one of the following statuses:

  • Accepted with a scholarship: if the score is at least \(90\).
  • Accepted: if the score is between \(75\) and \(89\) inclusive.
  • Waitlisted: if the score is between \(50\) and \(74\) inclusive.
  • Rejected: if the score is below \(50\).

Your solution must read input from stdin and print the answer to stdout.

inputFormat

The input consists of a single integer \(s\) (\(0 \leq s \leq 100\)) representing the applicant's score. The integer is read from stdin.

outputFormat

Output the corresponding application status to stdout as a string. The possible outputs are:

  • Accepted with a scholarship
  • Accepted
  • Waitlisted
  • Rejected
## sample
95
Accepted with a scholarship