def race_to_state_division(race):
    """
    Parses the state and division (e.g. "sen", "gov", "04") and returns them
    as two normalized parts. (States are upercase and divisions are lower.)
    """
    race_parts = race.split("-")
    if len(race_parts) < 2:
        return None, None
    return race_parts[0].upper(), "-".join(race_parts[1:]).lower()