#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, a;
  while (cin >> n) {
    a = n % 10;
    n /= 10;
    if (a >= 0 && a <= 5) {
      n *= 10;
      cout << n << endl;
    } else {
      n *= 10;
      n += 10;
      cout << n << endl;
    }
  }
  return 0;
}
