def calculate_score(games):
    abigal_score = 0
    ben_score = 0

    for game in games:
        if game[0] == "R" and game[1] == "P":
            # ben wins
            ben_score += 1
        elif game[0] == "P" and game[1] == "R":
            # abigal wins
            abigal_score += 1
        elif game[0] == "S" and game[1] == "R":
            # ben wins
            ben_score += 1
        elif game[0] == "R" and game[1] == "S":
            # abigal wins
            abigal_score += 1
        elif game[0] == "S" and game[1] == "P":
            # abigal wins
            abigal_score += 1
        elif game[0] == "P" and game[1] == "S":
            # ben wins
            ben_score += 1
        elif game[0] == "R" and game[1] == "P":
            # ben wins
            ben_score += 1
        else:
            # tie
            pass
    if abigal_score > ben_score:
        return "Abigail"
    elif abigal_score == ben_score:
        return "Tie"
    else:
        return "Benson"

5abe89801e4ec2b3cb174774d0776af7b8d70bfe
<mask token>

def calculate_score(games):
    abigal_score = 0
    ben_score = 0
    for game in games:
        if game[0] == 'R' and game[1] == 'P':
            ben_score += 1
        elif game[0] == 'P' and game[1] == 'R':
            abigal_score += 1
        elif game[0] == 'S' and game[1] == 'R':
            ben_score += 1
        elif game[0] == 'R' and game[1] == 'S':
            abigal_score += 1
        elif game[0] == 'S' and game[1] == 'P':
            abigal_score += 1
        elif game[0] == 'P' and game[1] == 'S':
            ben_score += 1
        elif game[0] == 'R' and game[1] == 'P':
            ben_score += 1
        else:
            pass
    if abigal_score > ben_score:
        return 'Abigail'
    elif abigal_score == ben_score:
        return 'Tie'
    else:
        return 'Benson'

def calculate_score(games):
    abigal_score = 0
    ben_score = 0

    for game in games:
        if game[0] == "R" and game[1] == "P":
            # ben wins
            ben_score += 1
        elif game[0] == "P" and game[1] == "R":
            # abigal wins
            abigal_score += 1
        elif game[0] == "S" and game[1] == "R":
            # ben wins
            ben_score += 1
        elif game[0] == "R" and game[1] == "S":
            # abigal wins
            abigal_score += 1
        elif game[0] == "S" and game[1] == "P":
            # abigal wins
            abigal_score += 1
        elif game[0] == "P" and game[1] == "S":
            # ben wins
            ben_score += 1
        elif game[0] == "R" and game[1] == "P":
            # ben wins
            ben_score += 1
        else:
            # tie
            pass
    if abigal_score > ben_score:
        return "Abigail"
    elif abigal_score == ben_score:
        return "Tie"
    else:
        return "Benson"
