selection-3
Source: hackerearth
Difficulty: EASY

Bob gives you a list of  N strings and a task to solve. The task is to remove all the duplicate strings from the list and print the resulting list of strings in a sorted order.

Input:
The first line contains  an integer N. Then next N lines contain a  string Si.

Output:
Print the sorted list.

Constraints:
1 ≤ |N| ≤ 5000
1 ≤ |Si| ≤ 100

SAMPLE INPUT
16
nandu 
kanth
kalyan
dhiraj
kanth
kalyan
baala
kt
baala
jayanth
sampu
baala
kanth
kalyan
baala
kt

SAMPLE OUTPUT
baala
dhiraj
jayanth
kalyan
kanth
kt
nandu
sampu


a=[]
for _ in range(eval(input())):
	a.append(input())
b=set(a)
for i in sorted(b):
	print(i)



n=int(input())
b=[]
for i in range(1,n+1):
	string=input()
	b.append(string)
cc=0
j=0
sort=sorted(b)
while(j<len(sort)):
	cc=b.count(sort[j])
	if(cc>1):
		sort.remove(sort[j])
	j=j+1
for k in range(len(sort)):
	print(sort[k])


a=[]
for _ in range(eval(input())):
	a.append(input())
for i in sorted(set(a)):
	print(i)
 



a=[]
for _ in range(eval(input())):
	a.append(input())
b=set(a)
b=sorted(b)
for i in b:
	print(i)



a=[]
for _ in range(eval(input())):
	a.append(input())
for x in sorted(set(a)):
	print(x)


n=eval(input())
a=set()
for i in range(n):
	str=input()
	a.add(str)
for i in sorted(a):
	print(i)


'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
p=[]
for i in range(eval(input())):
	a=input()
	p.append(a)
p=sorted(set(p))
for i in p:
	print(i)
	



'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
N=int(input())
S=[]
for i in range(N):
	S.append(input())
a=list(set(S))
a.sort()
for name in a:
	print(name)
	


a=[]
for _ in range(eval(input())):
	a.append(input())
b=set(a)
for j in sorted((b)):
	print(j)