def score_game(inp, rounds):
    pts = 0
    for (rowI, row) in enumerate(inp):
        for (colI, col) in enumerate(row):
            if (col[0] in ['G', 'E']):
                pts += col[1]
    return (rounds * pts)
def score_game(inp, rounds):
    pts = 0
    for (rowI, row) in enumerate(inp):
        for (colI, col) in enumerate(row):
            if (col[0] in ['G', 'E']):
                pts += col[1]
    return (rounds * pts)