for (int i = 1; i <= 30; i++) { System.out.println (i); }