题解 | #明明的随机数#
明明的随机数
http://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
n = int(input())
nums = []
while True:
try:
nums.append(int(input()))
except EOFError:
nums = list(set(nums))
nums.sort()
for i in range(len(nums)):
print(nums[i])
break
nums = []
while True:
try:
nums.append(int(input()))
except EOFError:
nums = list(set(nums))
nums.sort()
for i in range(len(nums)):
print(nums[i])
break