#include<bits/stdc++.h> using namespace std; int main() { char a; int b; cin>>a; b=(int)((a+10-30)*20/5); cout<<b; return 0; }