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

60563d978021ee45c9a807ca37ba85c445534f11
<mask token>

<mask token>
if a % 10 == 0:
    print(a + 10)
else:
    print(10 - a % 10 + a)

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

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