print(*sorted(eval("input(),"*int(input()))),sep="\n")