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