Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/balldan-baho

Grade from points

Easy 1000 ms 64 MB 20%
Share

A test result is $b$ points. Convert it to a grade: $5$ if $86 \le b \le 100$, $4$ if $71 \le b \le 85$, $3$ if $56 \le b \le 70$, $2$ if $0 \le b \le 55$.

The points scale from 0 to 100 is split into four ranges; the range the score falls in gives the grade

Input

One integer $b$.

Output

One integer: $2$, $3$, $4$ or $5$.

Note

$0 \le b \le 100$

Examples

Input #1
78
Output #1
4
Input #2
55
Output #2
2

Sign in to submit a solution

Signing up is free and takes a minute.