x = int(input())
if x % 10 == 2 or x % 10 == 1:
while x % 5 != 0:
x -=1
else:
x += 1
print(x)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
x = int(input())
if x % 10 == 2 or x % 10 == 1:
while x % 5 != 0:
x -=1
else:
while x % 5 != 0:
x += 1
print(x)