/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
System.
out.
println("\n\t<<<< 연금 복권 >>>>\n");
random.
setSeed(System.
currentTimeMillis());
int num=0;
//List listA = new ArrayList();
//List listB = new ArrayList();
do{
random.
setSeed(System.
currentTimeMillis()); int jo = random.nextInt(5);
random.
setSeed(System.
currentTimeMillis()); int a= (random.nextInt(10));
random.
setSeed(System.
currentTimeMillis()); int b= (random.nextInt(10));
random.
setSeed(System.
currentTimeMillis()); int c= (random.nextInt(10));
random.
setSeed(System.
currentTimeMillis()); int d= (random.nextInt(10));
random.
setSeed(System.
currentTimeMillis()); int e= (random.nextInt(10));
random.
setSeed(System.
currentTimeMillis()); int f= (random.nextInt(10));
//if(!listA.contains(f) && !listB.contains(jo) ){
System.
out.
print("조 : " + (jo
+1)); System.
out.
println("\t6자리 번호 : " +a+b+c+d+e+f);
//listA.add(f);
//listB.add(jo);
num ++;
//}
} while(num!=5);
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoKU3lzdGVtLm91dC5wcmludGxuKCJcblx0PDw8PCAgIOyXsOq4iCDrs7XqtowgICAgPj4+PlxuIik7CiAgICAgIAogICAgICBSYW5kb20gcmFuZG9tID0gbmV3IFJhbmRvbSgpOwogICAgICByYW5kb20uc2V0U2VlZChTeXN0ZW0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lzKCklMjUwKTsKICAgICAgICAgCnJhbmRvbS5zZXRTZWVkKFN5c3RlbS5jdXJyZW50VGltZU1pbGxpcygpKTsKICAgICAgICAgIGludCBlPSAocmFuZG9tLm5leHRJbnQoMTApKTsKICAgICAgICAgVGhyZWFkLnNsZWVwKFN5c3RlbS5jdXJyZW50VGltZU1pbGxpcygpJTI1MCk7CiAgICAgICAgIApyYW5kb20uc2V0U2VlZChTeXN0ZW0uY3VycmVudFRpbWVNaWxsaXMoKSk7CiAgICAgICAgICBpbnQgZj0gKHJhbmRvbS5uZXh0SW50KDEwKSk7CiAgICAgICAgICAKLy9pZighbGlzdEEuY29udGFpbnMoZikgJiYgICFsaXN0Qi5jb250YWlucyhqbykgKXsKICAgICAgICAgICAKICAgICAgICAgU3lzdGVtLm91dC5wcmludCgi7KGwIDogIiArIChqbysxKSk7CiAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigiXHQ27J6Q66asIOuyiO2YuCA6ICIgCiAgICAgICAgICAgICAgICAgICAgICAgICAgK2ErYitjK2QrZStmKTsKICAgICAgICAgLy9saXN0QS5hZGQoZik7CiAgICAgICAgIC8vbGlzdEIuYWRkKGpvKTsKCiAgICAgICAgIG51bSArKzsKLy99CgogICAgICB9IHdoaWxlKG51bSE9NSk7ICAgCiAgICAgICAgIAogICAgICAgICAKICAgfQoKfQ==