<reponame>Ivanazzz/SoftUni-W3resource-Python
hour = int(input("Enter hous: "))
day_of_the_week = input("Enter day of the week: ")

if day_of_the_week == "Monday" \
    or day_of_the_week == "Tuesday" \
    or day_of_the_week == "Wednesday" \
    or day_of_the_week == "Thursday" \
    or day_of_the_week == "Friday" \
    or day_of_the_week == "Saturday":
    if hour >= 10 and hour <= 18:
        print("open")
    else:
        print("closed")
elif day_of_the_week == "Sunday":
    print("closed")

hour = int(input("Enter hous: "))
day_of_the_week = input("Enter day of the week: ")

if day_of_the_week == "Monday" \
    or day_of_the_week == "Tuesday" \
    or day_of_the_week == "Wednesday" \
    or day_of_the_week == "Thursday" \
    or day_of_the_week == "Friday" \
    or day_of_the_week == "Saturday":
    if hour >= 10 and hour <= 18:
        print("open")
    else:
        print("closed")
elif day_of_the_week == "Sunday":
    print("closed")