# Author:  James Tam
# Version: 2014

age = - 1
MIN_AGE = 1
MAX_AGE = 118
age = int(input("How old are you (1-118): "))
while ((age < MIN_AGE) or (age > MAX_AGE)):
    if (age < MIN_AGE):
        print("Age cannot be lower than", MIN_AGE, "years")
    age = int(input("How old are you (1-118): "))

print("Age=", age, "is age-okay")
