HackerLand University has the following grading policy:
Sam is a professor at the university and likes to round each student's grade according to these rules:
Examples
Given the initial value of grade for each of Sam's n students, write code to automate the rounding process.
Input Format
The first line contains a single integer, n, the number of students.Each line i of the n subsequent lines contains a single integer, grades[I].
Constraints