public class Test {
    public static int x = 0;

    static public void test() {
        x = 0;
        for (int i = 0; i < 20000; i++) {
            x += i;
        }
        x = 0;
    }

    public static void main(String[] strArr) {
        test();
        
        if (x != 0) {
            throw new RuntimeException("oops " + x);
        }
    }
}