public class str {
public static void main(String[] args) {
TreeSet treeSet=new TreeSet();
Character[]data=new Character[27];
for (int i = 1; i <27 ; i++) {
data[i]=(char)('A'+(i-1));
}
int []ball=new int[27];
for (int i = 1; i < 27; i++) {
ball[i]=i;
}
for (int i = 1; i <27 ; i++) {
int i1 = (int) (Math.random() * 26 + 1);
while(ball[i1]==0){
i1=(int) (Math.random() * 26 + 1);
}
treeSet.add(data[i1]);
ball[i1]=0;
}
for(Object o:treeSet){
System.out.println(o);
}
}
}