num=int(input("enter number"))
if num>=5 and num<18:
    print("go to school")
elif num>=18 and num<=21:
    print("vote in election")
elif num>=21 and num<=24:
    print("drive car") 
elif num>=24 and num<=26:
    print("can marry")     
elif num>=26 and num<=28:
    print("legally drink")  
else: 
    print("Not Allow any thing") 