import java.lang.reflect.Method; 
public class A { 
    public static void main(String[] args) throws NoSuchMethodException { 
        A a = new A(); 
        for (int i = 0; i < 17; i++) { 
            Method method = A.class.getMethod("wait", long.class); 
            try { 
                method.invoke(a, 0, 1); 
            } catch (Exception e) { 
                System.out.println(e.getMessage()); 
            } 
        } 
    } 
}