diff --git a/99problems.py b/99problems.py new file mode 100644 index 0000000..d74d123 --- /dev/null +++ b/99problems.py @@ -0,0 +1,10 @@ +n = int(input()) + +x = n % 100 +if x < 49: + n -= x + 1 +else: + n += 99 - x +if n < 0: n = 99 + +print(n) \ No newline at end of file