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