class Permutation {

    public Permutation invert() {
        Permutation inversion = new Permutation(values.length);
        for (int i = 0; i < values.length; i++) {
            inversion.values[this.values[i]] = i;
        }
        return inversion;
    }

    public  Permutation(int size);
    public  Permutation(int... values);
    public  Permutation(Permutation other);

}