name = input("What is your name?")
age = input("How old are you?")
occupation = input("Do you have a job?")
home = input("Which city do you live in?")

if occupation yes print("{} is a nice age to be, {}! It must be nice to be living and working in {}.".format(age, name, home))
else:
print("{} is a nice age to be, {}! It must be nice to be living in {} and not having to work.".format(age, name, home))
print("{} is a nice age to be, {}! It must be nice to be living in {} and working as a {}.".format(age, name, home, occupation))


