import java.util.Arrays;
import java.util.Random;
public class VerificationCode {
public static void main(String[] args) {
String[] CHARS = { "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L",
"M", "N", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y" };
boolean[] charFlags = new boolean[CHARS.length];
String[] verifyCodes = new String[6];
Random ran = new Random();
for (int i = 0; i < verifyCodes.length; iPP) {
int index;
do {
index = ran.nextInt(CHARS.length);
} while (charFlags[index]);
verifyCodes[i] = CHARS[index];
charFlags[index] = true;
}
//
System.out.print(":");
for (int i = 0; i < verifyCodes.length; iPP) {
System.out.print(verifyCodes[i]);
}
}
}