
Age= input("enter your age")
if(int(Age)>18):
    print("Welcome you are elegible")
    if(int(Age)<30):
        print("Your class is A")
    else:
        print("your class is B")
else:
    print("Sorry we cannot enroll you in the study")