import java.util.Random;

public class RandStuff {
  public static void main(String []args) {
    Random randGen = new Random();
    // for (int i = 0; i < 1000; i++) {
    //   System.out.print(randGen.nextInt() + " ");
    // }
    for (int i = 0; i < 1000; i++) {
      System.out.print((randGen.nextInt(10) + 1) + " ");
    }
  }
}
