HashMap<Character,Integer> generate_map(String k, int[] num)
	 {
		 //int num_size=num.length;
		 int cur_num=0;
		 HashMap<Character,Integer> m=new HashMap<Character,Integer>();
		 boolean[] filled=new boolean[26];
		 for(int i=0;i<k.length();i++)
		 {
			char cur_char=k.charAt(i);
			int pos=cur_char-'A';
			if(!filled[pos])
			{
				m.put(Character.valueOf(cur_char), Integer.valueOf(num[cur_num]));
				filled[pos]=true;
			}
			else
			{
				continue;
			}
			if(cur_num==8)
			{
				cur_num=0;
			}
			else
			{
				cur_num++;
			}
		 }
		 for(int i=0;i<26;i++)
		 {
			    char cur_char=(char)('A'+i);
				//int pos=cur_char-'A';
				if(!filled[i])
				{
					m.put(Character.valueOf(cur_char), Integer.valueOf(num[cur_num]));
					filled[i]=true;
				}
				else
				{
					continue;
				}
				if(cur_num==8)
				{
					cur_num=0;
				}
				else
				{
					cur_num++;
				}
		 }
		 m.put(' ', Integer.valueOf(num[9]));
		 return m;
	 }