#!/usr/bin/env python
#
# Eliza 
#

answer = ""
goodanswer = ""
goodnofeeling = ""
goodreason = ""
badanswer = ""
badnofeeling = ""
print "Hello, I'm Dr. Eliza. I want you to give me the simplest possible answers to my questions, because English is my second language (Python is my first)."
answer = raw_input("Do you feel good or bad today?")
while (answer!= "stop" or "Stop") :
        if answer == "good" or "Good":
                goodanswer = raw_input ("I'm glad you're feeling good! That makes me happy too :) Would you like to tell me why?")
                if goodanswer == "no" or "No":
                        goodnofeeling = raw_input ("That makes me sadface. How do you feel about breaking my heart?")
                elif goodanswer == "Yes" or "yes":
                        goodreason = raw_input ("Yay! Fill me in on the gossip :)")
                        print "Wow, that's interesting!! I would be happy too if I were you"
                else:
                        print "I just don't get you!!!! Ugh."
        elif answer == "bad|Bad":
                badanswer = raw_input ("Aweeee that sucks. Tell me why!")
                if badanswer == "No":
                        badnofeeling = raw_input ("Talking about it will make you feel better. Tell me why!")
                else:
                        print "I'm so glad you shared. You must feel so much better. That's what I'm here for!"
