#include using namespace std; int h[26]; int main(){ for(int i=0;i<26;++i) cin>>h[i]; string s;cin>>s; int ans=0; for(int i=0;i