public final class VmDemo {
    static int seed = 7;
    static Box shared;

    static final class Box {
        int value;
        Box(int value) { this.value = value; }
    }

    static int add(int a, int b) { return a + b; }

    static int run() {
        int a = 3;
        int b = 100000;
        String s = "JVM";
        Box box = new Box(a);
        box.value = add(box.value, seed);
        shared = box;
        return box.value + b;
    }

    public static void main(String[] args) {
        int result = run();
        System.out.println(result);
    }
}
