// Don't place your source in a package
import java.util.*;
import java.lang.*;
import java.io.*;
// Please name your class Main
class Main {
int [] myLotto = new int[7];
System.
out.
println("rrr rr rr rr rrr");
for (int i=0;i<myLotto.length; i++){
myLotto
[i
] = (int) (Math.
random() * 45 +1);
for (int j = 0; j < i; j++){
if (myLotto[j] == myLotto[i]){
i--;
break;
}
}
}
for (int i=0;i<myLotto.length-1;i++) {
System.
out.
print(myLotto
[i
] + " ");
}
for (int i=0;i<myLotto.length; i++){
myLotto
[i
] = (int) (Math.
random() * 45 +1);
for (int j = 0; j < i; j++){
if (myLotto[j] == myLotto[i]){
i--;
break;
}
}
}
for (int i=0;i<myLotto.length-1;i++) {
System.
out.
print(myLotto
[i
] + " "); }
for (int i=0;i<myLotto.length; i++){
myLotto
[i
] = (int) (Math.
random() * 45 +1);
for (int j = 0; j < i; j++){
if (myLotto[j] == myLotto[i]){
i--;
break;
}
}
}
for (int i=0;i<myLotto.length-1;i++) {
System.
out.
print(myLotto
[i
] + " "); }
for (int i=0;i<myLotto.length; i++){
myLotto
[i
] = (int) (Math.
random() * 45 +1);
for (int j = 0; j < i; j++){
if (myLotto[j] == myLotto[i]){
i--;
break;
}
}
}
for (int i=0;i<myLotto.length-1;i++) {
System.
out.
print(myLotto
[i
] + " "); }
for (int i=0;i<myLotto.length; i++){
myLotto
[i
] = (int) (Math.
random() * 45 +1);
for (int j = 0; j < i; j++){
if (myLotto[j] == myLotto[i]){
i--;
break;
}
}
}
for (int i=0;i<myLotto.length-1;i++) {
System.
out.
print(myLotto
[i
] + " "); }
// System.out.println("rrrrr:" + myLotto[6]);)
}
}