AlgoBazaAlgoBaza
Back to tasks

Marks in the wrong order

Beginner

Python for kids 路 Lesson 29: Mistakes in ifs

Problem Statement

The program should print the mark: 5 for 90 points and more, 4 for 75 and more, 3 for 50 and more, and 2 for less. But for 95 points it gives a 3! This program has a mistake - find it and submit the fixed version.

points_str = input()
points = int(points_str)
if points >= 50:
    print(3)
elif points >= 75:
    print(4)
elif points >= 90:
    print(5)
else:
    print(2)
Input Format

One whole number - the points (0 <= points <= 100).

Output Format

One number - the result.

Examples
Example 1

Input

95

Output

5
Example 2

Input

80

Output

4
Example 3

Input

10

Output

2