let X = {1,2,3}

foreach f:X -> X {
    foreach x:X {
        if f(x) = f(f(x))
        then print (f,x)
        else printstr "fail"
    }
}
