Kah Khang wants to find out whether he met his targetted Grade Point of 3.9 for his End-of-Year Examination. Will you help him?
(For those who are unsure of the computation, here are the details below)
80 and above: 4.0
70 to 79: 3.6
65 to 69: 3.2
60 to 64: 2.8
55 to 59: 2.4
50 to 54: 2.0
45 to 49: 1.6
40 to 44: 1.2
Below 40: 0.8
Task
Write a program that takes in 1 integer value,
A, and output the computed GPA of the value.
Scoring Criteria
If the output isn't correct, you will get 0 for your submission.
If your output is correct, you will obtain points based on your length of your source code (number of characters including spaces and end lines). The formula is as below:
Number of Characters ≤ 100 : 100 marks
Number of Characters ≥ 300 : 1 mark
Otherwise, score = 150 - (Number of Characters/2)
Constraints
0 ≤
A ≤ 100
Input
Your program should read from standard input the following data:
The first line contains 1 integer
A.
Output
Your program should write to the standard output a single line containing a single 1 demical float.
Sample Input 1
75
Sample Output 1
3.6