#####
# Python By Example
# Exercise 017
# Christopher Hagan
#####

age = int(input('What age are you? '))

if age >= 18:
    print('You can vote!')
elif age == 17:
    print('You can learn to drive!')
elif age == 16:
    print('You can buy a lottery ticket!')
else:
    print('You can go trick-or-treating!')
