String transformValue(int val) {
        switch (val) {
            case 0: return "Arithmetic";
            case 1: return "Geometric";
            case -1:
            default:
                return "-1";
        }

    }