# Arup Guha
# 4/27/2020
# Solution to COP 2930 Final Exam Part B: Problem 2 - Stay at Home

# Prompt user to enter both pieces of information.
age = int(input("How old are you?\n"))
conditions = input("Do you have any pre-existing conditions(yes/no)?\n")

# Either conditions triggers stay at home. Grading will be flexible for
# the second check (can be implemented in many ways)
if age >= 65 or conditions == "yes":
    print("Please stay at home always")

# This is the other case.
else:
    print("You may leave the house for limited important activities.")
