#include<bits/stdc++.h>
using namespace std;
void a(){
	
}
int main(){
	freopen("employ.in","r",stdin);
	freopen("employ.out","w",stdout);
	int n,m,c[500];
	cin>>n>>m;
	char s[500];
	for(int i=0;i<n;i++){
		cin>>s[i];
	}
	for(int i=0;i<n;i++){
		cin>>c[i];
	}
	fclose(stdin);
	fclose(stdout);
	return 0;
}
