lines=[]
while True:
    try:
        lines.append(int(input()))
    except:
        break 
out = set()
i = 0
while i < len(lines):
    length = lines[i]
    for j in range(i+1, i+length+1):
        out.add(lines[j])
    for value in sorted(out):
        print(value)
    out.clear()
    i = i + length + 1
 
京公网安备 11010502036488号