def METHOD_NAME(full_code):
    if "-" in full_code:
        return full_code
    code = full_code[:4]
    subcode = full_code[4:]
    if not subcode:
        return str(int(code))
    else:
        return f"{int(code)}-{int(subcode)}"