def METHOD_NAME(s: str) -> tuple[int | None, ...]:
    comps = s.split('-', 1)
    if len(comps) == 1:
        comps.append(comps[0])
    return tuple(int(comp) if comp.isdecimal() else None for comp in comps)