from sys import stdin def read(): line = stdin.readline() if not line: raise EOFError assert line[-1] == "\n" line = line[:-1] assert line.strip() == line return line N = int(read()) assert(1 <= N <= 1000) try: read() assert False except EOFError: pass