#include<bits/stdc++.h>
using namespace std;
char a[8]={'a','d','g','j','m','p','t','w',' '};
char b[8]={'b','e','h','k','n','q','u','x'};
char c[8]={'c','f','i','l','o','r','v','y'};
int main(){
string s;
int t=0;
cin>>s;
for(int i=0;i<s.size();i++){
for(int j=0;j<8;j++){
if(s[i]==a[j]){
t++;
continue;
}
if(s[i]==b[j]){
t+=2;
continue;
}
if(s[i]==c[j]){
t+=3;
continue;
}
t+=4;
}
}
cout<<t;
return 0;
}
为什么会CE