# Problem 1
isCitizen = input("Are you a citizen? (yes/no) ").lower() # get user input on whether they are a citizen or not
if isCitizen == 'yes': # == operator
    age = int(input("How old are you?")) # is citizen, get age as int
    if age >= 18: # >= operator
        print("Nice, you can vote.")
    else: # younger than 18
        print("ur a minor bruh")
else: # definitely a mexican
    print("dId yOu JuSt jUmP oVEr ThE bOrDeR??")
# Problem 2
years = float(input("How long have you worked here? ")) # input years worked as float
if years > 5: # has to have worked over 5 years
    salary = float(input("What's your salary now? ")) # get user salary now
    bonus = salary*0.05 # employee gets 5% (+0.05x) bonus
    rounded = round(bonus,2) # round to two decimal point figures (cents)
    print("For your longtime loyalty, we're giving you a bonus of $"+str(rounded))
else:
    print("GET BACK TO WORK OR I'LL HAVE YOU FIRED FOR INCOMPETENCY")
# Problem 3
marks = float(input("Enter your marks: ")) # input the grade as float
if marks < 25:
    grade = 'F'
elif 25 <= marks < 45:
    grade = 'E' # what the heck
elif 45 <= marks < 50:
    grade = 'D'
elif 50 <= marks < 60:
    grade = 'C'
elif 60 <= marks < 80:
    grade = 'B'
elif marks >= 80:
    grade = 'A'
print("Your grade is: "+grade+".")