def main():
    outfile = open('philosophers 2.txt', 'a')

    outfile.write("John Locke \n")
    outfile.write("David Hume \n")
    outfile.write("Edmund Burke \n")
    outfile.write("Hello World! \n")

    outfile.close()

main()