Given an integer vector Z, return a tuple of booleans indicating which of
these expressions are legal (evaluate without raising), in order:
Z**Z, 2 << Z >> 2, Z <- Z, 1j*Z, Z/1/1, Z<Z>Z.
Sign in to write and run your own code.
solve(...)