#include<bits/stdc++.h>//submitRecord//
using namespace std;
//const int N=1e7+10;
int main(){
//freopen("","r",stdin);
//freopen("","w",stdout);
ios::sync_with_stdio();
cin.tie(nullptr);
cout.tie(nullptr);
int n;
cin>>n;
if(n>=300) cout<<100;
else if(n>=200) cout<<50;
else if(n>=100) cout<<20;
else cout<<0;
//fclose(stdin);
//fclose(stdout);
return 0;
}