from typing import Tuple


def zone_to_seat(zone: str) -> Tuple[int, int]:
    """convert the zone code into a seat number given by (row, col)"""
    replacements = [("F", "0"), ("B", "1"), ("L", "0"), ("R", "1")]
    for old, new in replacements:
        zone = zone.replace(old, new)

    return int(zone[:7], base=2), int(zone[7:], base=2)