Given a year, return the century it is in. The first century spans from the year 1 up to and including the year 100, the second - from the year 101 up to and including the year 200, etc.

Example

Input/Output

풀이

int solution(int year) {
    if (year % 100 > 0) return (year / 100) + 1;
    return year / 100;
}