#include using namespace std; int main() { int h[26],x = 0; for(int i=0;i<26;i++){ cin>>h[i]; } string s; cin>>s; int len = s.length(); for(int i=0;i