# Ryan Kelly rpk2kn

user_age = input("How old are you? ")
low = int(int(user_age) / 2 + 7)
high = int(int(user_age) * 2 - 13)
print("You can date people between " + str(low) + " and " + str(high) + " years old")
