open("vastus.txt", "w").write("\n".join( [str(b) for b in sorted( [int(a.strip()) for a in open("arvud.txt", "r")])]))