def decode_pass(boarding_pass : str) -> tuple[int, int, int]:
    """Get the row, column and seat id from a boarding pass"""

    row = int(boarding_pass[:7].replace("F", "0").replace("B", "1"), 2)
    column = int(boarding_pass[7:].replace("L", "0").replace("R", "1"), 2)

    return row, column, row * 8 + column