public class TestRecursion {
    public static void f(int n) throws InterruptedException {
        if (n > 1) {
            f(n - 1);
        }
        else {
            System.out.println("Please use jstack");
            Thread.sleep(Long.MAX_VALUE);
        }
    }

    public static void main(String[] args) throws InterruptedException  {
        f(Integer.parseInt(args[0]));
    }
}
