"""
Program Name: CollegeAdmission.py
Function: This program determines if a student will be admitted or rejected.
Input:  Interactive
Output: Accept or Reject
"""

# Get input and convert to correct data type for testScore and classRank

# Test using admission requirements and print Accept or Reject
testScore=int(input ("What is the student's test score?"))
classRank=int(input("What is the student's class rank?"))
if testScore >= 90:
    if classRank >= 25:
        print("Accept")
    else:
        print("Reject")
else:
    if testScore >= 80:
        if classRank >= 50:
            print("Accept")
        else:
            print("Reject")
    else:
        if testScore >= 70:
            if classRank >= 75:
                print("Accept")
            else:
                print("Reject")
        else:
            print("Reject")
