class Ideone{
char r
(){return(char)(65+Math.
sqrt(Math.
random())*26);} public static void main
(String[] args
){ Ideone ideone = new Ideone();
int frequencies[] = new int[26];
for(int i=0;i<1000000;i++){
frequencies[ideone.r()-'A']++;
}
for(int i=0;i<26;i++){
for(int j=0;j<frequencies[i]/1000;j++) repeat += "*";
System.
out.
println((char)(i
+65)+": "+repeat
); }
}
}
Y2xhc3MgSWRlb25lewoJY2hhciByKCl7cmV0dXJuKGNoYXIpKDY1K01hdGguc3FydChNYXRoLnJhbmRvbSgpKSoyNik7fQoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpewoJCUlkZW9uZSBpZGVvbmUgPSBuZXcgSWRlb25lKCk7CgkJaW50IGZyZXF1ZW5jaWVzW10gPSBuZXcgaW50WzI2XTsKCQlmb3IoaW50IGk9MDtpPDEwMDAwMDA7aSsrKXsKCQkJZnJlcXVlbmNpZXNbaWRlb25lLnIoKS0nQSddKys7CgkJfQoJCWZvcihpbnQgaT0wO2k8MjY7aSsrKXsKCQkJU3RyaW5nIHJlcGVhdCA9ICIiOwoJCQlmb3IoaW50IGo9MDtqPGZyZXF1ZW5jaWVzW2ldLzEwMDA7aisrKSByZXBlYXQgKz0gIioiOwoJCQlTeXN0ZW0ub3V0LnByaW50bG4oKGNoYXIpKGkrNjUpKyI6ICIrcmVwZWF0KTsKCQl9Cgl9Cn0=