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