import java.util.concurrent.CountDownLatch; 

public class JI9052729 {
	private static volatile boolean broken = false; 

	public static void main(String[] args) throws Exception { 
		int N = 10; 

		CountDownLatch cdl = new CountDownLatch(N); 
		Thread[] t = new Thread[N]; 
		for(int i = 0; i < N; ++i) { 
			t[i] = new Thread() { 
				@Override 
				public void run() { 
					cdl.countDown(); 
					try { 
						cdl.await(); 
						new com.sun.org.apache.xerces.internal.impl.xpath.regex.RegularExpression("[\\p{Z}]", "X", java.util.Locale.US); 
					} 
					catch(Exception e) { 
						e.printStackTrace(); 
						broken = true; 
					} 
				} 
			}; 
			t[i].start(); 
		} 
		for(int i = 0; i < N; ++i) { 
			t[i].join(); 
		} 
		if(broken) { 
			System.exit(1); 
		} 
	} 
}
