AlgoBazaAlgoBaza
Back to tasks

Rounding to tens

Beginner

Python for kids 路 Lesson 30: Contest tasks with conditions

Problem Statement

Read a number n (0..1000) and round it to the nearest full ten: a units digit of 5 or more - up, less - down.

Input Format

One whole number n (0 <= n <= 1000).

Output Format

One number - the result.

Examples
Example 1

Input

47

Output

50
Example 2

Input

43

Output

40
Example 3

Input

45

Output

50