import java.util.concurrent.ThreadLocalRandom;
public class program {
public static int random_min_max(int min, int max) {
return ThreadLocalRandom.current().nextInt(min, max);
}
public static void main(String[] args) {
for (int i = 0; i < 10; i++) {
System.out.println(random_min_max(1000, 10000));
}
}
}
/*
run:
9256
6366
3322
7117
8591
2340
4078
7681
4014
1993
*/