乒乓球筐
import java.util.Scanner;// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {public static void main(String[] args) {Scanner in = new Scanner(System.in);// 注意 hasNext 和 hasNextLine 的区别while (in.hasNext()) {int[] hash = new int[26];char[] c1 = in.next().toCharArray();char[] c2 = in.next().toCharArray();for (int i = 0; i < c1.length; i++) {hash[c1[i] - 'A'] ++;}boolean ret = true;for(int i = 0 ; i < c2.length; i++ ) {hash[c2[i] - 'A'] --;if(hash[c2[i] - 'A'] < 0) {ret = false;break;}}System.out.println(ret ? "Yes" : "No");}}
}