int a = input("Please enter an integer", 10); for(int i=1; i<=a; i++) { println(i); }