elif token == "not" and i + 1 < num_tokens and tokens[i + 1] == "in":