D = ["∧","∨","¬","⊥","⊤"] N = int(input()) ans = "A=" X = [] for i in range(1<