fork download
  1. import java.util.Random;
  2.  
  3. class Ideone {
  4. public static void main (String[] args) {
  5. Random rnd = new Random(22317321631415L);
  6. for (int i = 1; i <= 14; i++)
  7. System.out.printf("%2d: %d%n", i, rnd.nextInt(10));
  8. }
  9. }
Success #stdin #stdout 0.05s 711168KB
stdin
Standard input is empty
stdout
 1: 1
 2: 1
 3: 1
 4: 1
 5: 1
 6: 1
 7: 1
 8: 1
 9: 1
10: 1
11: 1
12: 1
13: 1
14: 5