#include using namespace std; int main() { int a[27],i,x,max=0,area; for(i=0;i<26;i++) cin>>a[i]; string s; cin>>s; x=s.length(); int b[x]; for(i=0;i