print "Enter your age: ",
age = int(raw_input())
print "Are you a citizen (Y/N): ",
choice = raw_input()
if (choice == 'Y'):
citizen = True
else:
citizen = False
if (age >= 18):
if citizen:
print "You are eligible to vote"
else:
print "You are not eligible to vote"
else:
print "You are not eligible to vote"
print "Enter your age: ",
age = int(raw_input())
if (age > 12):
if (age >= 65):
print "Admission is free"
else:
print "You have to pay"
else:
print "Admission is free"
print "Enter your age: ",
age = int(raw_input())
print "Are you a citizen (Y/N): ",
choice = raw_input()
if (choice == 'Y'):
citizen = True
else:
citizen = False
if (age >= 18 and citizen == True):
print "You are eligible to vote"
else:
print "You are not eligible to vote"
print "Enter your age: ",
age = int(raw_input())
if (age <= 12 or age >= 65):
print "Admission is free"
else:
print "You have to pay"
print "Enter your age: ",
age = int(raw_input())
if not ((age > 12 and age < 65)):
print "Admission is free"
else:
print "You have to pay"