// no threads
class tmp {
	int x;
	tmp (int i) {x=i;}
	void run() {while (true) System.out.println(x);} // just a conventional 
							// blocking function
}

class Tmp {
	public static void main (String args[]) {

		tmp t1 = new tmp(1);
		tmp t2 = new tmp(2);
		t1.run();
		t2.run();
	}
}

