/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public class Main{ 
    public static void main(String[] args) {
		int n=0;
		while (n < 10) {
    		System.out.println(n); // starts with 0 and will reach until 9
    		n++;
    		if (n >= 5) { // n starts with 1 and breaks starting with 5
        		break;
		    }
    		System.out.println("What should happen here? n=" + n); // because it will reach here from 1 to 4
    	}
    }
}