#include <iostream>
using namespace std;
int main(){
    int n;
    cin>>n;
    int ans=(n-5)*1.0/10;
    cout<<(ans+1)*10<<endl;
    return 0;
}