#include #define pii pair #define pb push_back #define mp make_pair #define ll long long using namespace std; mapM; string s,t,name; char S[105]; int i,n; ll sv,sol,ok,nr; int main() { M["char"]=1; M["short"]=2; M["int"]=4; while(cin.getline(S,100)) { i=0; sol=0; s=S; t.clear(); name.clear(); n=s.size(); for(;isalpha(s[i])&&i='0'&&s[i]<='9'&&i