def PreferredStage(reported, computed):
    t = testTumorStage(reported, computed)
    if (t == "AGREE"):
        return(reported)
    if (t == "Stage cannot be derived from TNM"):
        return(reported)
    if (t == "Derived stage is more specific"):
        return(repStage(computed))  # For SupTab1 use return(computed)
    if (t == "Stage can be derived from TNM"):
        return(repStage(computed))  # For SupTab1 use return(computed)
    if (t == "Stage more specific than TNM"):
        return(reported)
    if (t == "DISAGREE"):
        return(reported)  # assuming the reported one to be valid!
    return("Error: Lack a preferred stage")