def parse_seat(seat):
    """
    Parse a string describing a seat in binary representation, and return a dictionary
    """
    row = int(seat[0:7].replace("F", "0").replace("B", "1"), 2)
    column = int(seat[7:10].replace("L", "0").replace("R", "1"), 2)
    return {"row": row, "column": column, "seat_id": row * 8 + column}