import import import import import import import import import import import java.util.Scanner; java.util.Random; javax.swing.*; java.math.BigInteger; java.math.RoundingMode; java.math.MathContext; java.math.BigDecimal; java.math.*; java.util.ArrayList; java.util.List; java.util.*; public class RandomNum { public static void main(String[] args) { int size = 69; ArrayList<Integer> list = new ArrayList<Integer>(size); for(int i = 1; i <= 5; i++) { list.add((int)(Math.random() * 69) + 1); } // Random rand = new Random(69); int x = 0; while (x != 5) { // int index = (int)(Math.random()); System.out.println("Selected: " + list); x++; } } }