Vasya has a non-negative integer n. He wants to round it to nearest integer, which ends up with 0. If n already ends up with 0, Vasya considers it already rounded.

For example, if n = 4722 answer is 4720. If n = 5 Vasya can round it to 0 or to 10. Both ways are correct.

For given n find out to which integer will Vasya round it.


-----Input-----

The first line contains single integer n (0 ≤ n ≤ 10^9) — number that Vasya has.


-----Output-----

Print result of rounding n. Pay attention that in some cases answer isn't unique. In that case print any correct answer.


-----Examples-----
Input
5

Output
0

Input
113

Output
110

Input
1000000000

Output
1000000000

Input
5432359

Output
5432360



-----Note-----

In the first example n = 5. Nearest integers, that ends up with zero are 0 and 10. Any of these answers is correct, so you can print 0 or 10.

Difficulty: interview

Starter code:

Solutions:
import math

n = int(input())
print(10 * round(n / 10))

n = int(input())
if n % 10 > 5:
    print(n + 10 - n % 10)
else:
    print(n - n % 10)

import math
import sys
import getpass
import bisect


def ria():
    return [int(i) for i in input().split()]


files = False

if getpass.getuser().lower() == 'frohe' and files:
    sys.stdin = open('test.in')
    # sys.stdout = open('test.out', 'w')

n=ria()[0]
print(int(round(n/10)*10))

n = int(input())
if n % 10 <= 5 :
    print(n - n % 10)
else:
    print(n + 10 - n % 10)


print(round(int(input())/10)*10)


n = int(input())

if n % 10 == 0:
    print(n)
else:
    print(int(round(n/10))*10)


from sys import stdin, stdout
import math

n = int(stdin.readline().rstrip())

print(round(n/10)*10)


n = int(input())
if n % 10 <= 5:
    n -= n % 10
else:
    n += 10 - n % 10
print(n)


n = int(input())

print((n + 4)//10 * 10)

n = int(input())
if ord(str(n)[-1]) > ord('5'):
    print(n + 10 - ord(str(n)[-1]) + ord('0'))
else:
    print(n - ord(str(n)[-1]) + ord('0'))


n = int(input())
x = n // 10
y = x * 10
if abs(y - n) > 5:
	print(y + 10)
else:
	print(y)	

a = int(input())
if a%10 > 5:
	print(a - (a%10) + 10)
else:
	print(a - (a%10))

from sys import stdin, stdout

n = int(stdin.readline())

if str(n)[-1] == '0':
    stdout.write(str(n))
else:
    for i in range(11):
        if str(n - i)[-1] == '0':
            stdout.write(str(n - i))
            break
        elif str(n + i)[-1] == '0':
            stdout.write(str(n + i))
            break

n = int(input())
s = str(n)
if s[-1] == '0':
    print(n)
else:
    n1 = n - int((s[-1]))
    n2 = n1 + 10
    if n - n1 <= n2 - n:
        print(n1)
    else:
        print(n2)

n = int(input())

d = n // 10
a1 = d * 10
a2 = (d + 1) * 10

if (abs(a1 - n) > abs(a2 - n)):
	print(a2)
else:
	print(a1)