def foo(a)
    a ? 0 : 1
end