import sys

print "first part"
sentence = "hihi there!"
for temp in sentence:
   sys.stdout.write(temp)

print 
print
print "second part"
passwords = "aaa abc password xxx"
password = raw_input ("Password: ")
if password in passwords:
   print "You entered an existing password, enter a new one"
