import java.util.Random; public class Main { public static void main(String[] args) { Random rand = new Random(); int a = rand.nextInt(6) + 1;