#include<iostream> using namespace std; int main(){ char x; cin>>x; cout<<((x+10-30)*20/5)<<endl; return 0; }