/* Parsing tree 0*/
if (missing(racm_ds_marca_opt_catB) or racm_ds_marca_opt_catB < 0) then do;
    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
        if (not missing(evol_MOU_TV_OTROS_COR) and evol_MOU_TV_OTROS_COR < 0) then do;
            if (not missing(racm_co_planfact_catP) and racm_co_planfact_catP < 0) then do;
                treeValue0 = 0;
            end;
            else do;
                if (not missing(racm_med_vol_dat_tot_6meses) and racm_med_vol_dat_tot_6meses < 0) then do;
                    treeValue0 = 0;
                end;
                else do;
                    treeValue0 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                treeValue0 = 0;
            end;
            else do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                    if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                        treeValue0 = 0;
                    end;
                    else do;
                        treeValue0 = 0;
                    end;
                end;
                else do;
                    if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                        treeValue0 = 0;
                    end;
                    else do;
                        treeValue0 = 0;
                    end;
                end;
            end;
        end;
    end;
    else do;
        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
            if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                    treeValue0 = 0;
                end;
                else do;
                    treeValue0 = 0;
                end;
            end;
            else do;
                treeValue0 = 0;
            end;
        end;
        else do;
            if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
                treeValue0 = 0;
            end;
            else do;
                if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                    if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                        if (missing(evol_MOU_TV_PROPIOS_R2) or evol_MOU_TV_PROPIOS_R2 < 0) then do;
                            treeValue0 = 0;
                        end;
                        else do;
                            treeValue0 = 0;
                        end;
                    end;
                    else do;
                        if (missing(racf_nu_velocidad_adsl) or racf_nu_velocidad_adsl < 0) then do;
                            treeValue0 = 0;
                        end;
                        else do;
                            treeValue0 = 0;
                        end;
                    end;
                end;
                else do;
                    if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
                        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                if (not missing(evol_ARPU_FIJO_SLOP) and evol_ARPU_FIJO_SLOP < 0) then do;
                                    treeValue0 = 0;
                                end;
                                else do;
                                    if (not missing(racm_fx_fin_cco_maximo_isBAD) and racm_fx_fin_cco_maximo_isBAD < 0) then do;
                                        treeValue0 = 0;
                                    end;
                                    else do;
                                        if (missing(racm_med_mou_6meses) or racm_med_mou_6meses < 0) then do;
                                            treeValue0 = 0;
                                        end;
                                        else do;
                                            treeValue0 = 0;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue0 = 0;
                            end;
                        end;
                        else do;
                            if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                        treeValue0 = 0;
                                    end;
                                    else do;
                                        treeValue0 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue0 = 0;
                                end;
                            end;
                            else do;
                                if (missing(racf_ds_doto_catB) or racf_ds_doto_catB < 0) then do;
                                    treeValue0 = 0;
                                end;
                                else do;
                                    treeValue0 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue0 = 0;
                    end;
                end;
            end;
        end;
    end;
end;
else do;
    if (missing(evol_CA_MOVIL_SLOP) or evol_CA_MOVIL_SLOP < 0) then do;
        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
            if (missing(evol_ARPU_FIJO_AVG) or evol_ARPU_FIJO_AVG < 0) then do;
                treeValue0 = 0;
            end;
            else do;
                treeValue0 = 0;
            end;
        end;
        else do;
            if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                    if (not missing(racm_in_sexo_catP) and racm_in_sexo_catP < 0) then do;
                        treeValue0 = 0;
                    end;
                    else do;
                        treeValue0 = 0;
                    end;
                end;
                else do;
                    if (not missing(evol_ARPU_TOTAL_DEV) and evol_ARPU_TOTAL_DEV < 0) then do;
                        treeValue0 = 0;
                    end;
                    else do;
                        treeValue0 = 0;
                    end;
                end;
            end;
            else do;
                treeValue0 = 0;
            end;
        end;
    end;
    else do;
        if (not missing(evol_PT_LLAMADAS_COR_isBAD) and evol_PT_LLAMADAS_COR_isBAD < 0) then do;
            treeValue0 = 0;
        end;
        else do;
            treeValue0 = 0;
        end;
    end;
end;

/* Parsing tree 1*/
if (missing(racm_nu_antiguedad_terminal_isBA) or racm_nu_antiguedad_terminal_isBA < 0) then do;
    if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
        if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
            if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
                treeValue1 = 0;
            end;
            else do;
                if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                    if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                        if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
                            if (not missing(evol_MOU_SALIDA_MOVIL_SLOP) and evol_MOU_SALIDA_MOVIL_SLOP < 0) then do;
                                if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                                    treeValue1 = 0;
                                end;
                                else do;
                                    treeValue1 = 0;
                                end;
                            end;
                            else do;
                                if (missing(evol_MOU_TV_TOTAL_AVG) or evol_MOU_TV_TOTAL_AVG < 0) then do;
                                    if (not missing(racf_in_sexo_lev_x_H_) and racf_in_sexo_lev_x_H_ < 0) then do;
                                        treeValue1 = 0;
                                    end;
                                    else do;
                                        treeValue1 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue1 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (missing(racm_co_plantari_2_catP) or racm_co_plantari_2_catP < 0) then do;
                                treeValue1 = 0;
                            end;
                            else do;
                                treeValue1 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
                            if (missing(racm_ds_tramo_ultima_portada_cat) or racm_ds_tramo_ultima_portada_cat < 0) then do;
                                if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
                                    treeValue1 = 0;
                                end;
                                else do;
                                    if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                        if (missing(evol_MOU_TV_PROPIOS_DEV) or evol_MOU_TV_PROPIOS_DEV < 0) then do;
                                            if (not missing(racf_in_sexo_lev_x_H_) and racf_in_sexo_lev_x_H_ < 0) then do;
                                                treeValue1 = 0;
                                            end;
                                            else do;
                                                treeValue1 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                treeValue1 = 0;
                                            end;
                                            else do;
                                                treeValue1 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue1 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
                                    if (missing(racf_im_media_arpu_3meses_cabece) or racf_im_media_arpu_3meses_cabece < 0) then do;
                                        treeValue1 = 0;
                                    end;
                                    else do;
                                        treeValue1 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue1 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (missing(evol_VOLUMEN_DATOS_MBPS_DEV_isBA) or evol_VOLUMEN_DATOS_MBPS_DEV_isBA < 0) then do;
                                if (missing(evol_PT_LLAMADAS_SLOP) or evol_PT_LLAMADAS_SLOP < 0) then do;
                                    treeValue1 = 0;
                                end;
                                else do;
                                    treeValue1 = 0;
                                end;
                            end;
                            else do;
                                treeValue1 = 0;
                            end;
                        end;
                    end;
                end;
                else do;
                    if (not missing(racm_co_plantari_catP) and racm_co_plantari_catP < 0) then do;
                        treeValue1 = 0;
                    end;
                    else do;
                        if (missing(racf_ds_tipo_fusion_catP) or racf_ds_tipo_fusion_catP < 0) then do;
                            treeValue1 = 0;
                        end;
                        else do;
                            treeValue1 = 0;
                        end;
                    end;
                end;
            end;
        end;
        else do;
            if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                treeValue1 = 0;
            end;
            else do;
                treeValue1 = 0;
            end;
        end;
    end;
    else do;
        if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
            treeValue1 = 0;
        end;
        else do;
            treeValue1 = 0;
        end;
    end;
end;
else do;
    if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
        if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
            if (missing(racf_co_subsector_nyp_lev_x_) or racf_co_subsector_nyp_lev_x_ < 0) then do;
                if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                    treeValue1 = 0;
                end;
                else do;
                    treeValue1 = 0;
                end;
            end;
            else do;
                if (not missing(evol_ARPU_TOTAL_DEV) and evol_ARPU_TOTAL_DEV < 0) then do;
                    treeValue1 = 0;
                end;
                else do;
                    treeValue1 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_co_plantari_catB) and racm_co_plantari_catB < 0) then do;
                treeValue1 = 0;
            end;
            else do;
                if (missing(evol_PT_LLAMADAS_R2) or evol_PT_LLAMADAS_R2 < 0) then do;
                    if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                        treeValue1 = 0;
                    end;
                    else do;
                        treeValue1 = 0;
                    end;
                end;
                else do;
                    treeValue1 = 0;
                end;
            end;
        end;
    end;
    else do;
        if (not missing(evol_RECLAMACIONES_SLOP) and evol_RECLAMACIONES_SLOP < 0) then do;
            treeValue1 = 0;
        end;
        else do;
            treeValue1 = 0;
        end;
    end;
end;

/* Parsing tree 2*/
if (missing(racm_ds_marca_opt_catB) or racm_ds_marca_opt_catB < 0) then do;
    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                if (missing(evol_MOU_TV_PROPIOS_DEV) or evol_MOU_TV_PROPIOS_DEV < 0) then do;
                    treeValue2 = 0;
                end;
                else do;
                    treeValue2 = 0;
                end;
            end;
            else do;
                if (missing(racf_in_cob_ftth_nif) or racf_in_cob_ftth_nif < 0) then do;
                    if (missing(racf_ds_tipo_fusion_catP) or racf_ds_tipo_fusion_catP < 0) then do;
                        if (not missing(racm_med_mou_6meses_2) and racm_med_mou_6meses_2 < 0) then do;
                            treeValue2 = 0;
                        end;
                        else do;
                            treeValue2 = 0;
                        end;
                    end;
                    else do;
                        treeValue2 = 0;
                    end;
                end;
                else do;
                    treeValue2 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                treeValue2 = 0;
            end;
            else do;
                if (not missing(evol_MOU_TV_TOTAL_SLOP) and evol_MOU_TV_TOTAL_SLOP < 0) then do;
                    treeValue2 = 0;
                end;
                else do;
                    if (not missing(evol_MOU_TV_TOTAL_R2) and evol_MOU_TV_TOTAL_R2 < 0) then do;
                        treeValue2 = 0;
                    end;
                    else do;
                        if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                            treeValue2 = 0;
                        end;
                        else do;
                            treeValue2 = 0;
                        end;
                    end;
                end;
            end;
        end;
    end;
    else do;
        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
            treeValue2 = 0;
        end;
        else do;
            if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                treeValue2 = 0;
            end;
            else do;
                if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                    if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
                        treeValue2 = 0;
                    end;
                    else do;
                        if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
                            if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                                if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                    treeValue2 = 0;
                                end;
                                else do;
                                    treeValue2 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                    treeValue2 = 0;
                                end;
                                else do;
                                    if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                                        treeValue2 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                            if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                                                if (not missing(evol_AVERIAS_N) and evol_AVERIAS_N < 0) then do;
                                                    treeValue2 = 0;
                                                end;
                                                else do;
                                                    if (missing(evol_ARPU_TOTAL_SLOP) or evol_ARPU_TOTAL_SLOP < 0) then do;
                                                        treeValue2 = 0;
                                                    end;
                                                    else do;
                                                        treeValue2 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue2 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (missing(evol_AVERIAS_R2) or evol_AVERIAS_R2 < 0) then do;
                                                treeValue2 = 0;
                                            end;
                                            else do;
                                                treeValue2 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                                if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                    treeValue2 = 0;
                                end;
                                else do;
                                    treeValue2 = 0;
                                end;
                            end;
                            else do;
                                treeValue2 = 0;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue2 = 0;
                end;
            end;
        end;
    end;
end;
else do;
    if (missing(racf_im_media_arpu_fijo_3mes_cli) or racf_im_media_arpu_fijo_3mes_cli < 0) then do;
        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
            if (missing(racf_im_media_arpu_fijo_3mes_cli) or racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                if (not missing(evol_ARPU_TOTAL_DEV) and evol_ARPU_TOTAL_DEV < 0) then do;
                    treeValue2 = 0;
                end;
                else do;
                    treeValue2 = 0;
                end;
            end;
            else do;
                treeValue2 = 0;
            end;
        end;
        else do;
            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                treeValue2 = 0;
            end;
            else do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                    if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                        treeValue2 = 0;
                    end;
                    else do;
                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                            treeValue2 = 0;
                        end;
                        else do;
                            treeValue2 = 0;
                        end;
                    end;
                end;
                else do;
                    treeValue2 = 0;
                end;
            end;
        end;
    end;
    else do;
        if (not missing(racf_segmento_catB) and racf_segmento_catB < 0) then do;
            treeValue2 = 0;
        end;
        else do;
            treeValue2 = 0;
        end;
    end;
end;

/* Parsing tree 3*/
if (missing(racm_ds_modelo_opt_catP) or racm_ds_modelo_opt_catP < 0) then do;
    if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
        if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                    treeValue3 = 0;
                end;
                else do;
                    treeValue3 = 0;
                end;
            end;
            else do;
                if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                    treeValue3 = 0;
                end;
                else do;
                    if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                            if (missing(racf_in_Despliegue_FTTH_nif_catB) or racf_in_Despliegue_FTTH_nif_catB < 0) then do;
                                if (not missing(evol_PT_LLAMADAS_R2) and evol_PT_LLAMADAS_R2 < 0) then do;
                                    if (missing(racf_IN_SERVICIO_TV_catP) or racf_IN_SERVICIO_TV_catP < 0) then do;
                                        treeValue3 = 0;
                                    end;
                                    else do;
                                        treeValue3 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_MOU_TV_PROPIOS_DEV) or evol_MOU_TV_PROPIOS_DEV < 0) then do;
                                        treeValue3 = 0;
                                    end;
                                    else do;
                                        treeValue3 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue3 = 0;
                            end;
                        end;
                        else do;
                            if (not missing(racm_pp_fx_ult_canje_isBAD) and racm_pp_fx_ult_canje_isBAD < 0) then do;
                                if (missing(evol_PT_LLAMADAS_R2) or evol_PT_LLAMADAS_R2 < 0) then do;
                                    treeValue3 = 0;
                                end;
                                else do;
                                    treeValue3 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(evol_ARPU_FIJO_DEV) and evol_ARPU_FIJO_DEV < 0) then do;
                                    treeValue3 = 0;
                                end;
                                else do;
                                    if (missing(racm_in_gama_terminal_actual_2_c) or racm_in_gama_terminal_actual_2_c < 0) then do;
                                        treeValue3 = 0;
                                    end;
                                    else do;
                                        treeValue3 = 0;
                                    end;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue3 = 0;
                    end;
                end;
            end;
        end;
        else do;
            treeValue3 = 0;
        end;
    end;
    else do;
        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) and evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                if (missing(racm_med_arpu_3meses_cliente) or racm_med_arpu_3meses_cliente < 0) then do;
                    treeValue3 = 0;
                end;
                else do;
                    treeValue3 = 0;
                end;
            end;
            else do;
                if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                    treeValue3 = 0;
                end;
                else do;
                    treeValue3 = 0;
                end;
            end;
        end;
        else do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV_) or evol_CA_ATENDIDAS_ENTRANTES_DEV_ < 0) then do;
                    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                        treeValue3 = 0;
                    end;
                    else do;
                        if (not missing(racf_segmento_lev_x_R_) and racf_segmento_lev_x_R_ < 0) then do;
                            treeValue3 = 0;
                        end;
                        else do;
                            if (missing(racm_in_gama_terminal_actual_2_c) or racm_in_gama_terminal_actual_2_c < 0) then do;
                                treeValue3 = 0;
                            end;
                            else do;
                                treeValue3 = 0;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue3 = 0;
                end;
            end;
            else do;
                if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                    if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                        treeValue3 = 0;
                    end;
                    else do;
                        treeValue3 = 0;
                    end;
                end;
                else do;
                    treeValue3 = 0;
                end;
            end;
        end;
    end;
end;
else do;
    if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
        if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
            if (not missing(racf_segmento_catP) and racf_segmento_catP < 0) then do;
                if (missing(racf_DS_TIPOLOGIA_CLIENTE_lev_x_) or racf_DS_TIPOLOGIA_CLIENTE_lev_x_ < 0) then do;
                    treeValue3 = 0;
                end;
                else do;
                    treeValue3 = 0;
                end;
            end;
            else do;
                if (missing(racf_ds_doto_catB) or racf_ds_doto_catB < 0) then do;
                    if (not missing(evol_ARPU_FIJO_SLOP) and evol_ARPU_FIJO_SLOP < 0) then do;
                        treeValue3 = 0;
                    end;
                    else do;
                        treeValue3 = 0;
                    end;
                end;
                else do;
                    treeValue3 = 0;
                end;
            end;
        end;
        else do;
            if (missing(evol_MOU_TV_OTROS_AVG) or evol_MOU_TV_OTROS_AVG < 0) then do;
                treeValue3 = 0;
            end;
            else do;
                treeValue3 = 0;
            end;
        end;
    end;
    else do;
        if (not missing(racm_in_portfolio_catP) and racm_in_portfolio_catP < 0) then do;
            treeValue3 = 0;
        end;
        else do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                treeValue3 = 0;
            end;
            else do;
                treeValue3 = 0;
            end;
        end;
    end;
end;

/* Parsing tree 4*/
if (missing(racm_ds_modelo_opt_catP) or racm_ds_modelo_opt_catP < 0) then do;
    if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
        if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
            if (missing(evol_CA_MOVIL_N) or evol_CA_MOVIL_N < 0) then do;
                if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                    treeValue4 = 0;
                end;
                else do;
                    if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
                        if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                            if (missing(evol_CA_BAF_COR_isBAD) or evol_CA_BAF_COR_isBAD < 0) then do;
                                if (not missing(evol_MOU_TV_TOTAL_SLOP) and evol_MOU_TV_TOTAL_SLOP < 0) then do;
                                    if (missing(evol_MOU_TV_TOTAL_R2) or evol_MOU_TV_TOTAL_R2 < 0) then do;
                                        treeValue4 = 0;
                                    end;
                                    else do;
                                        treeValue4 = 0;
                                    end;
                                end;
                                else do;
                                    if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                        treeValue4 = 0;
                                    end;
                                    else do;
                                        if (missing(racf_in_Despliegue_FTTH_nif_lev_) or racf_in_Despliegue_FTTH_nif_lev_ < 0) then do;
                                            if (missing(racm_ds_marca_opt_catB) or racm_ds_marca_opt_catB < 0) then do;
                                                if (not missing(racm_co_plantari_lev_x_582_) and racm_co_plantari_lev_x_582_ < 0) then do;
                                                    treeValue4 = 0;
                                                end;
                                                else do;
                                                    if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
                                                        if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                                                            treeValue4 = 0;
                                                        end;
                                                        else do;
                                                            treeValue4 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (missing(racm_ds_tramo_ultima_portada_cat) or racm_ds_tramo_ultima_portada_cat < 0) then do;
                                                            treeValue4 = 0;
                                                        end;
                                                        else do;
                                                            treeValue4 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue4 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racm_ds_modelo_opt_2_catP) and racm_ds_modelo_opt_2_catP < 0) then do;
                                                treeValue4 = 0;
                                            end;
                                            else do;
                                                if (not missing(evol_PT_LLAMADAS_DEV) and evol_PT_LLAMADAS_DEV < 0) then do;
                                                    treeValue4 = 0;
                                                end;
                                                else do;
                                                    treeValue4 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                                    treeValue4 = 0;
                                end;
                                else do;
                                    treeValue4 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                                treeValue4 = 0;
                            end;
                            else do;
                                treeValue4 = 0;
                            end;
                        end;
                    end;
                    else do;
                        treeValue4 = 0;
                    end;
                end;
            end;
            else do;
                if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                    treeValue4 = 0;
                end;
                else do;
                    treeValue4 = 0;
                end;
            end;
        end;
        else do;
            if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                treeValue4 = 0;
            end;
            else do;
                treeValue4 = 0;
            end;
        end;
    end;
    else do;
        treeValue4 = 0;
    end;
end;
else do;
    if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
        if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
            if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                if (not missing(evol_CA_MOVIL_AVG) and evol_CA_MOVIL_AVG < 0) then do;
                    if (missing(racm_co_plantari_catB) or racm_co_plantari_catB < 0) then do;
                        if (missing(evol_CA_MOVIL_R2) or evol_CA_MOVIL_R2 < 0) then do;
                            treeValue4 = 0;
                        end;
                        else do;
                            treeValue4 = 0;
                        end;
                    end;
                    else do;
                        treeValue4 = 0;
                    end;
                end;
                else do;
                    if (missing(racf_ds_doto_catB) or racf_ds_doto_catB < 0) then do;
                        if (not missing(racf_ds_doto_catP) and racf_ds_doto_catP < 0) then do;
                            treeValue4 = 0;
                        end;
                        else do;
                            treeValue4 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racf_im_media_arpu_3meses_client) and racf_im_media_arpu_3meses_client < 0) then do;
                            treeValue4 = 0;
                        end;
                        else do;
                            treeValue4 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue4 = 0;
            end;
        end;
        else do;
            treeValue4 = 0;
        end;
    end;
    else do;
        treeValue4 = 0;
    end;
end;

/* Parsing tree 5*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
    if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
        if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
            if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                    treeValue5 = 0;
                end;
                else do;
                    if (missing(racf_in_Despliegue_FTTH_nif_lev_) or racf_in_Despliegue_FTTH_nif_lev_ < 0) then do;
                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) and evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                            treeValue5 = 0;
                        end;
                        else do;
                            if (not missing(evol_MOU_TV_PROPIOS_AVG) and evol_MOU_TV_PROPIOS_AVG < 0) then do;
                                treeValue5 = 0;
                            end;
                            else do;
                                if (not missing(evol_MOU_TV_OTROS_R2) and evol_MOU_TV_OTROS_R2 < 0) then do;
                                    treeValue5 = 0;
                                end;
                                else do;
                                    treeValue5 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue5 = 0;
                    end;
                end;
            end;
            else do;
                if (missing(evol_MOU_TV_PROPIOS_AVG) or evol_MOU_TV_PROPIOS_AVG < 0) then do;
                    if (missing(racf_co_estado_email_efactura_le) or racf_co_estado_email_efactura_le < 0) then do;
                        treeValue5 = 0;
                    end;
                    else do;
                        treeValue5 = 0;
                    end;
                end;
                else do;
                    treeValue5 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_fx_fin_cco_maximo_isBAD) and racm_fx_fin_cco_maximo_isBAD < 0) then do;
                if (missing(racf_co_estado_email_efactura_le) or racf_co_estado_email_efactura_le < 0) then do;
                    treeValue5 = 0;
                end;
                else do;
                    treeValue5 = 0;
                end;
            end;
            else do;
                if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                    treeValue5 = 0;
                end;
                else do;
                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) and evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                        treeValue5 = 0;
                    end;
                    else do;
                        treeValue5 = 0;
                    end;
                end;
            end;
        end;
    end;
    else do;
        if (not missing(evol_ARPU_FIJO_DEV) and evol_ARPU_FIJO_DEV < 0) then do;
            if (not missing(racf_ds_tipo_fusion_catP) and racf_ds_tipo_fusion_catP < 0) then do;
                treeValue5 = 0;
            end;
            else do;
                treeValue5 = 0;
            end;
        end;
        else do;
            if (not missing(racf_co_estado_email_efactura_ca) and racf_co_estado_email_efactura_ca < 0) then do;
                if (not missing(racm_DS_TIPOLOGIA_CLIENTE_catB) and racm_DS_TIPOLOGIA_CLIENTE_catB < 0) then do;
                    treeValue5 = 0;
                end;
                else do;
                    treeValue5 = 0;
                end;
            end;
            else do;
                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                    treeValue5 = 0;
                end;
                else do;
                    treeValue5 = 0;
                end;
            end;
        end;
    end;
end;
else do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
            if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                treeValue5 = 0;
            end;
            else do;
                treeValue5 = 0;
            end;
        end;
        else do;
            if (missing(evol_AVERIAS_N) or evol_AVERIAS_N < 0) then do;
                treeValue5 = 0;
            end;
            else do;
                treeValue5 = 0;
            end;
        end;
    end;
    else do;
        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) and evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
            if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                if (missing(racm_ds_tipo_contrato_2_lev_x_VO) or racm_ds_tipo_contrato_2_lev_x_VO < 0) then do;
                    treeValue5 = 0;
                end;
                else do;
                    treeValue5 = 0;
                end;
            end;
            else do;
                treeValue5 = 0;
            end;
        end;
        else do;
            if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                    if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                        if (not missing(racm_ds_tramo_ultima_portada_cat) and racm_ds_tramo_ultima_portada_cat < 0) then do;
                            treeValue5 = 0;
                        end;
                        else do;
                            treeValue5 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racf_ds_tipo_fusion_catP) and racf_ds_tipo_fusion_catP < 0) then do;
                            treeValue5 = 0;
                        end;
                        else do;
                            treeValue5 = 0;
                        end;
                    end;
                end;
                else do;
                    if (missing(racm_ds_tramo_ultima_portada_cat) or racm_ds_tramo_ultima_portada_cat < 0) then do;
                        treeValue5 = 0;
                    end;
                    else do;
                        treeValue5 = 0;
                    end;
                end;
            end;
            else do;
                if (not missing(racm_in_gama_terminal_actual_cat) and racm_in_gama_terminal_actual_cat < 0) then do;
                    treeValue5 = 0;
                end;
                else do;
                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                        treeValue5 = 0;
                    end;
                    else do;
                        treeValue5 = 0;
                    end;
                end;
            end;
        end;
    end;
end;

/* Parsing tree 6*/
if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
    if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
            treeValue6 = 0;
        end;
        else do;
            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                    if (missing(evol_MOU_TV_OTROS_R2) or evol_MOU_TV_OTROS_R2 < 0) then do;
                        treeValue6 = 0;
                    end;
                    else do;
                        treeValue6 = 0;
                    end;
                end;
                else do;
                    treeValue6 = 0;
                end;
            end;
            else do;
                if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                    if (missing(evol_MOU_TV_OTROS_R2) or evol_MOU_TV_OTROS_R2 < 0) then do;
                        treeValue6 = 0;
                    end;
                    else do;
                        treeValue6 = 0;
                    end;
                end;
                else do;
                    if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                        treeValue6 = 0;
                    end;
                    else do;
                        treeValue6 = 0;
                    end;
                end;
            end;
        end;
    end;
    else do;
        if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                if (missing(racm_ds_modelo_opt_catP) or racm_ds_modelo_opt_catP < 0) then do;
                    if (missing(racf_in_Despliegue_FTTH_nif_catB) or racf_in_Despliegue_FTTH_nif_catB < 0) then do;
                        if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
                            if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                                if (missing(evol_ARPU_FIJO_AVG) or evol_ARPU_FIJO_AVG < 0) then do;
                                    treeValue6 = 0;
                                end;
                                else do;
                                    treeValue6 = 0;
                                end;
                            end;
                            else do;
                                treeValue6 = 0;
                            end;
                        end;
                        else do;
                            treeValue6 = 0;
                        end;
                    end;
                    else do;
                        treeValue6 = 0;
                    end;
                end;
                else do;
                    if (missing(racf_ds_doto_catB) or racf_ds_doto_catB < 0) then do;
                        if (missing(evol_RECLAMACIONES_R2) or evol_RECLAMACIONES_R2 < 0) then do;
                            treeValue6 = 0;
                        end;
                        else do;
                            treeValue6 = 0;
                        end;
                    end;
                    else do;
                        treeValue6 = 0;
                    end;
                end;
            end;
            else do;
                if (not missing(racm_pp_fx_ult_canje_isBAD) and racm_pp_fx_ult_canje_isBAD < 0) then do;
                    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                        treeValue6 = 0;
                    end;
                    else do;
                        if (missing(racf_in_Despliegue_FTTH_nif_lev_) or racf_in_Despliegue_FTTH_nif_lev_ < 0) then do;
                            if (missing(evol_PT_LLAMADAS_DEV) or evol_PT_LLAMADAS_DEV < 0) then do;
                                treeValue6 = 0;
                            end;
                            else do;
                                treeValue6 = 0;
                            end;
                        end;
                        else do;
                            treeValue6 = 0;
                        end;
                    end;
                end;
                else do;
                    if (missing(racf_im_media_arpu_fijo_3mes_cli) or racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                        if (not missing(evol_MOU_TV_PROPIOS_COR) and evol_MOU_TV_PROPIOS_COR < 0) then do;
                            treeValue6 = 0;
                        end;
                        else do;
                            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                    treeValue6 = 0;
                                end;
                                else do;
                                    if (missing(evol_CA_BAF_SLOP) or evol_CA_BAF_SLOP < 0) then do;
                                        if (missing(racm_ds_marca_opt_2_lev_x_) or racm_ds_marca_opt_2_lev_x_ < 0) then do;
                                            treeValue6 = 0;
                                        end;
                                        else do;
                                            treeValue6 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue6 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                    if (missing(racf_ds_soporte_ba_lev_x_C_) or racf_ds_soporte_ba_lev_x_C_ < 0) then do;
                                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                            treeValue6 = 0;
                                        end;
                                        else do;
                                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                treeValue6 = 0;
                                            end;
                                            else do;
                                                treeValue6 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue6 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(racm_in_portfolio_catB) or racm_in_portfolio_catB < 0) then do;
                                        if (not missing(racm_med_mou_6meses_2) and racm_med_mou_6meses_2 < 0) then do;
                                            treeValue6 = 0;
                                        end;
                                        else do;
                                            treeValue6 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue6 = 0;
                                    end;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue6 = 0;
                    end;
                end;
            end;
        end;
        else do;
            treeValue6 = 0;
        end;
    end;
end;
else do;
    if (missing(evol_MOU_TV_PROPIOS_SLOP_isBAD) or evol_MOU_TV_PROPIOS_SLOP_isBAD < 0) then do;
        treeValue6 = 0;
    end;
    else do;
        treeValue6 = 0;
    end;
end;

/* Parsing tree 7*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
    if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
        if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
            if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                    treeValue7 = 0;
                end;
                else do;
                    if (missing(racf_in_Despliegue_FTTH_nif_catB) or racf_in_Despliegue_FTTH_nif_catB < 0) then do;
                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) and evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                            treeValue7 = 0;
                        end;
                        else do;
                            if (not missing(evol_MOU_TV_PROPIOS_AVG) and evol_MOU_TV_PROPIOS_AVG < 0) then do;
                                treeValue7 = 0;
                            end;
                            else do;
                                if (missing(racm_ds_marca_opt_2_lev_NA) or racm_ds_marca_opt_2_lev_NA < 0) then do;
                                    treeValue7 = 0;
                                end;
                                else do;
                                    treeValue7 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue7 = 0;
                    end;
                end;
            end;
            else do;
                if (missing(racm_med_mou_6meses) or racm_med_mou_6meses < 0) then do;
                    if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                        treeValue7 = 0;
                    end;
                    else do;
                        treeValue7 = 0;
                    end;
                end;
                else do;
                    treeValue7 = 0;
                end;
            end;
        end;
        else do;
            if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                    treeValue7 = 0;
                end;
                else do;
                    if (missing(evol_ARPU_FIJO_SLOP) or evol_ARPU_FIJO_SLOP < 0) then do;
                        if (not missing(evol_MOU_TV_OTROS_DEV) and evol_MOU_TV_OTROS_DEV < 0) then do;
                            treeValue7 = 0;
                        end;
                        else do;
                            if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                                treeValue7 = 0;
                            end;
                            else do;
                                if (missing(racf_im_media_arpu_3meses_cabece) or racf_im_media_arpu_3meses_cabece < 0) then do;
                                    treeValue7 = 0;
                                end;
                                else do;
                                    treeValue7 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue7 = 0;
                    end;
                end;
            end;
            else do;
                treeValue7 = 0;
            end;
        end;
    end;
    else do;
        if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
            if (missing(evol_CA_MOVIL_SLOP) or evol_CA_MOVIL_SLOP < 0) then do;
                if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                    if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                        if (not missing(evol_RECLAMACIONES_DEV) and evol_RECLAMACIONES_DEV < 0) then do;
                            treeValue7 = 0;
                        end;
                        else do;
                            if (not missing(evol_CA_TV_AVG) and evol_CA_TV_AVG < 0) then do;
                                treeValue7 = 0;
                            end;
                            else do;
                                treeValue7 = 0;
                            end;
                        end;
                    end;
                    else do;
                        treeValue7 = 0;
                    end;
                end;
                else do;
                    if (missing(racf_ds_soporte_ba_lev_x_F_) or racf_ds_soporte_ba_lev_x_F_ < 0) then do;
                        treeValue7 = 0;
                    end;
                    else do;
                        treeValue7 = 0;
                    end;
                end;
            end;
            else do;
                treeValue7 = 0;
            end;
        end;
        else do;
            treeValue7 = 0;
        end;
    end;
end;
else do;
    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
        treeValue7 = 0;
    end;
    else do;
        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
            treeValue7 = 0;
        end;
        else do;
            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                treeValue7 = 0;
            end;
            else do;
                if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                    if (not missing(racm_ds_marca_opt_3_catB) and racm_ds_marca_opt_3_catB < 0) then do;
                        treeValue7 = 0;
                    end;
                    else do;
                        if (missing(evol_PT_LLAMADAS_DEV) or evol_PT_LLAMADAS_DEV < 0) then do;
                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                                treeValue7 = 0;
                            end;
                            else do;
                                treeValue7 = 0;
                            end;
                        end;
                        else do;
                            if (missing(racf_co_estado_email_efactura_ca) or racf_co_estado_email_efactura_ca < 0) then do;
                                treeValue7 = 0;
                            end;
                            else do;
                                treeValue7 = 0;
                            end;
                        end;
                    end;
                end;
                else do;
                    if (not missing(racm_in_gama_terminal_catB) and racm_in_gama_terminal_catB < 0) then do;
                        treeValue7 = 0;
                    end;
                    else do;
                        if (missing(racf_in_cob_imag_nif) or racf_in_cob_imag_nif < 0) then do;
                            if (missing(evol_ARPU_FIJO_AVG) or evol_ARPU_FIJO_AVG < 0) then do;
                                treeValue7 = 0;
                            end;
                            else do;
                                treeValue7 = 0;
                            end;
                        end;
                        else do;
                            if (not missing(evol_CA_TV_AVG) and evol_CA_TV_AVG < 0) then do;
                                treeValue7 = 0;
                            end;
                            else do;
                                treeValue7 = 0;
                            end;
                        end;
                    end;
                end;
            end;
        end;
    end;
end;

/* Parsing tree 8*/
if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
    if (missing(evol_VOLUMEN_DATOS_MBPS_DEV) or evol_VOLUMEN_DATOS_MBPS_DEV < 0) then do;
        if (missing(racf_ds_agrup_servicio_tv_catP) or racf_ds_agrup_servicio_tv_catP < 0) then do;
            treeValue8 = 0;
        end;
        else do;
            treeValue8 = 0;
        end;
    end;
    else do;
        treeValue8 = 0;
    end;
end;
else do;
    if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
            if (missing(racm_in_gama_terminal_actual_cat) or racm_in_gama_terminal_actual_cat < 0) then do;
                if (not missing(racm_co_planfact_catP) and racm_co_planfact_catP < 0) then do;
                    if (not missing(racm_med_vol_dat_tot_6meses_2) and racm_med_vol_dat_tot_6meses_2 < 0) then do;
                        treeValue8 = 0;
                    end;
                    else do;
                        treeValue8 = 0;
                    end;
                end;
                else do;
                    if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                            if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
                                if (not missing(evol_ARPU_FIJO_AVG) and evol_ARPU_FIJO_AVG < 0) then do;
                                    treeValue8 = 0;
                                end;
                                else do;
                                    treeValue8 = 0;
                                end;
                            end;
                            else do;
                                treeValue8 = 0;
                            end;
                        end;
                        else do;
                            treeValue8 = 0;
                        end;
                    end;
                    else do;
                        treeValue8 = 0;
                    end;
                end;
            end;
            else do;
                if (not missing(racf_ds_doto_catB) and racf_ds_doto_catB < 0) then do;
                    treeValue8 = 0;
                end;
                else do;
                    if (missing(evol_ARPU_FIJO_AVG) or evol_ARPU_FIJO_AVG < 0) then do;
                        treeValue8 = 0;
                    end;
                    else do;
                        treeValue8 = 0;
                    end;
                end;
            end;
        end;
        else do;
            if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                if (not missing(racm_pp_fx_ult_canje_isBAD) and racm_pp_fx_ult_canje_isBAD < 0) then do;
                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                            treeValue8 = 0;
                        end;
                        else do;
                            if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                                treeValue8 = 0;
                            end;
                            else do;
                                treeValue8 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
                            if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
                                treeValue8 = 0;
                            end;
                            else do;
                                treeValue8 = 0;
                            end;
                        end;
                        else do;
                            treeValue8 = 0;
                        end;
                    end;
                end;
                else do;
                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                        treeValue8 = 0;
                    end;
                    else do;
                        if (missing(racf_DS_TIPOLOGIA_CLIENTE_lev_x_) or racf_DS_TIPOLOGIA_CLIENTE_lev_x_ < 0) then do;
                            if (missing(racm_co_tipo_documento_lev_x_R_) or racm_co_tipo_documento_lev_x_R_ < 0) then do;
                                if (not missing(racf_co_tipo_documento_catB) and racf_co_tipo_documento_catB < 0) then do;
                                    treeValue8 = 0;
                                end;
                                else do;
                                    if (not missing(racm_nu_antiguedad_terminal) and racm_nu_antiguedad_terminal < 0) then do;
                                        treeValue8 = 0;
                                    end;
                                    else do;
                                        if (missing(racm_co_plantari_2_lev_x_622_) or racm_co_plantari_2_lev_x_622_ < 0) then do;
                                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                                if (missing(racf_im_media_arpu_fijo_3mes_cli) or racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                                    if (not missing(racf_ds_doto_catB) and racf_ds_doto_catB < 0) then do;
                                                        treeValue8 = 0;
                                                    end;
                                                    else do;
                                                        treeValue8 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue8 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue8 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                                                treeValue8 = 0;
                                            end;
                                            else do;
                                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                    if (not missing(racf_nu_velocidad_adsl) and racf_nu_velocidad_adsl < 0) then do;
                                                        treeValue8 = 0;
                                                    end;
                                                    else do;
                                                        treeValue8 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue8 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue8 = 0;
                            end;
                        end;
                        else do;
                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                treeValue8 = 0;
                            end;
                            else do;
                                treeValue8 = 0;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                if (missing(evol_MOU_SALIDA_MOVIL_SLOP_isBAD) or evol_MOU_SALIDA_MOVIL_SLOP_isBAD < 0) then do;
                    treeValue8 = 0;
                end;
                else do;
                    treeValue8 = 0;
                end;
            end;
        end;
    end;
    else do;
        if (missing(racf_in_tipo_doto) or racf_in_tipo_doto < 0) then do;
            treeValue8 = 0;
        end;
        else do;
            treeValue8 = 0;
        end;
    end;
end;

/* Parsing tree 9*/
if (missing(racm_ds_marca_opt_catB) or racm_ds_marca_opt_catB < 0) then do;
    if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
        if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
            if (missing(evol_PT_LLAMADAS_COR) or evol_PT_LLAMADAS_COR < 0) then do;
                if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                    if (not missing(racm_co_planfact_catP) and racm_co_planfact_catP < 0) then do;
                        treeValue9 = 0;
                    end;
                    else do;
                        if (not missing(racf_co_estado_email_efactura_ca) and racf_co_estado_email_efactura_ca < 0) then do;
                            treeValue9 = 0;
                        end;
                        else do;
                            treeValue9 = 0;
                        end;
                    end;
                end;
                else do;
                    if (not missing(evol_MOU_TV_PROPIOS_COR) and evol_MOU_TV_PROPIOS_COR < 0) then do;
                        treeValue9 = 0;
                    end;
                    else do;
                        if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                            if (not missing(racm_med_mou_6meses_2) and racm_med_mou_6meses_2 < 0) then do;
                                treeValue9 = 0;
                            end;
                            else do;
                                treeValue9 = 0;
                            end;
                        end;
                        else do;
                            treeValue9 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                    treeValue9 = 0;
                end;
                else do;
                    treeValue9 = 0;
                end;
            end;
        end;
        else do;
            if (missing(evol_ARPU_TOTAL_SLOP) or evol_ARPU_TOTAL_SLOP < 0) then do;
                if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
                    if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                        if (not missing(evol_MOU_TV_PROPIOS_R2) and evol_MOU_TV_PROPIOS_R2 < 0) then do;
                            treeValue9 = 0;
                        end;
                        else do;
                            treeValue9 = 0;
                        end;
                    end;
                    else do;
                        treeValue9 = 0;
                    end;
                end;
                else do;
                    treeValue9 = 0;
                end;
            end;
            else do;
                treeValue9 = 0;
            end;
        end;
    end;
    else do;
        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) and evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
            if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                if (missing(racm_med_vol_dat_tot_6meses_2) or racm_med_vol_dat_tot_6meses_2 < 0) then do;
                    treeValue9 = 0;
                end;
                else do;
                    treeValue9 = 0;
                end;
            end;
            else do;
                if (not missing(evol_ARPU_TOTAL_SLOP) and evol_ARPU_TOTAL_SLOP < 0) then do;
                    treeValue9 = 0;
                end;
                else do;
                    treeValue9 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                    treeValue9 = 0;
                end;
                else do;
                    treeValue9 = 0;
                end;
            end;
            else do;
                if (not missing(racf_co_sector_nyp_catP) and racf_co_sector_nyp_catP < 0) then do;
                    treeValue9 = 0;
                end;
                else do;
                    if (not missing(racm_med_arpu_3meses_2) and racm_med_arpu_3meses_2 < 0) then do;
                        treeValue9 = 0;
                    end;
                    else do;
                        treeValue9 = 0;
                    end;
                end;
            end;
        end;
    end;
end;
else do;
    if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
        if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
            if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
                if (not missing(evol_PT_LLAMADAS_COR) and evol_PT_LLAMADAS_COR < 0) then do;
                    treeValue9 = 0;
                end;
                else do;
                    if (not missing(racf_segmento_catP) and racf_segmento_catP < 0) then do;
                        if (missing(racf_DS_TIPOLOGIA_CLIENTE_lev_x_) or racf_DS_TIPOLOGIA_CLIENTE_lev_x_ < 0) then do;
                            treeValue9 = 0;
                        end;
                        else do;
                            treeValue9 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racm_med_vol_dat_tot_6meses_2) and racm_med_vol_dat_tot_6meses_2 < 0) then do;
                            treeValue9 = 0;
                        end;
                        else do;
                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_N) or evol_CA_ATENDIDAS_ENTRANTES_N < 0) then do;
                                treeValue9 = 0;
                            end;
                            else do;
                                treeValue9 = 0;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue9 = 0;
            end;
        end;
        else do;
            treeValue9 = 0;
        end;
    end;
    else do;
        if (not missing(racm_ds_tramo_ultima_portada_cat) and racm_ds_tramo_ultima_portada_cat < 0) then do;
            treeValue9 = 0;
        end;
        else do;
            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                treeValue9 = 0;
            end;
            else do;
                treeValue9 = 0;
            end;
        end;
    end;
end;

/* Parsing tree 10*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
    if (missing(racm_ds_marca_opt_catB) or racm_ds_marca_opt_catB < 0) then do;
        if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
            if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
                    treeValue10 = 0;
                end;
                else do;
                    if (missing(racm_co_tipo_documento_lev_x_R_) or racm_co_tipo_documento_lev_x_R_ < 0) then do;
                        if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                            if (missing(evol_CA_TV_N) or evol_CA_TV_N < 0) then do;
                                if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                                    treeValue10 = 0;
                                end;
                                else do;
                                    if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                                            if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                                                treeValue10 = 0;
                                            end;
                                            else do;
                                                if (not missing(evol_MOU_SALIDA_MOVIL_R2) and evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                                                    if (missing(racm_in_sexo_catP) or racm_in_sexo_catP < 0) then do;
                                                        treeValue10 = 0;
                                                    end;
                                                    else do;
                                                        treeValue10 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                                        treeValue10 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(racm_in_sexo_lev_x_H) and racm_in_sexo_lev_x_H < 0) then do;
                                                            treeValue10 = 0;
                                                        end;
                                                        else do;
                                                            treeValue10 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (missing(racf_in_cob_adsl_nif) or racf_in_cob_adsl_nif < 0) then do;
                                                if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                                    treeValue10 = 0;
                                                end;
                                                else do;
                                                    treeValue10 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue10 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue10 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue10 = 0;
                            end;
                        end;
                        else do;
                            if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
                                if (missing(racm_nu_antiguedad_terminal) or racm_nu_antiguedad_terminal < 0) then do;
                                    treeValue10 = 0;
                                end;
                                else do;
                                    treeValue10 = 0;
                                end;
                            end;
                            else do;
                                treeValue10 = 0;
                            end;
                        end;
                    end;
                    else do;
                        treeValue10 = 0;
                    end;
                end;
            end;
            else do;
                treeValue10 = 0;
            end;
        end;
        else do;
            treeValue10 = 0;
        end;
    end;
    else do;
        if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
            if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
                if (missing(racf_ds_doto_catB) or racf_ds_doto_catB < 0) then do;
                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                        if (missing(racf_in_cob_adsl_nif) or racf_in_cob_adsl_nif < 0) then do;
                            treeValue10 = 0;
                        end;
                        else do;
                            treeValue10 = 0;
                        end;
                    end;
                    else do;
                        if (missing(racf_nu_velocidad_adsl) or racf_nu_velocidad_adsl < 0) then do;
                            treeValue10 = 0;
                        end;
                        else do;
                            treeValue10 = 0;
                        end;
                    end;
                end;
                else do;
                    treeValue10 = 0;
                end;
            end;
            else do;
                treeValue10 = 0;
            end;
        end;
        else do;
            treeValue10 = 0;
        end;
    end;
end;
else do;
    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
        treeValue10 = 0;
    end;
    else do;
        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
            treeValue10 = 0;
        end;
        else do;
            if (not missing(evol_MOU_TV_OTROS_SLOP) and evol_MOU_TV_OTROS_SLOP < 0) then do;
                treeValue10 = 0;
            end;
            else do;
                if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                    treeValue10 = 0;
                end;
                else do;
                    if (not missing(racf_co_sector_nyp_catP) and racf_co_sector_nyp_catP < 0) then do;
                        if (missing(racf_ds_tipo_fusion_catP) or racf_ds_tipo_fusion_catP < 0) then do;
                            if (not missing(racm_med_mou_6meses_2) and racm_med_mou_6meses_2 < 0) then do;
                                treeValue10 = 0;
                            end;
                            else do;
                                treeValue10 = 0;
                            end;
                        end;
                        else do;
                            treeValue10 = 0;
                        end;
                    end;
                    else do;
                        if (missing(racm_ds_marca_opt_catP) or racm_ds_marca_opt_catP < 0) then do;
                            if (missing(racf_co_estado_email_publicidad_) or racf_co_estado_email_publicidad_ < 0) then do;
                                treeValue10 = 0;
                            end;
                            else do;
                                treeValue10 = 0;
                            end;
                        end;
                        else do;
                            treeValue10 = 0;
                        end;
                    end;
                end;
            end;
        end;
    end;
end;

/* Parsing tree 11*/
if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
    if (missing(racf_DS_TIPOLOGIA_CLIENTE_catB) or racf_DS_TIPOLOGIA_CLIENTE_catB < 0) then do;
        if (missing(racf_ca_numeraciones) or racf_ca_numeraciones < 0) then do;
            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
                    if (missing(racf_ds_agrup_servicio_tv_catP) or racf_ds_agrup_servicio_tv_catP < 0) then do;
                        if (not missing(racf_ds_agrup_servicio_tv_catP) and racf_ds_agrup_servicio_tv_catP < 0) then do;
                            treeValue11 = 0;
                        end;
                        else do;
                            treeValue11 = 0;
                        end;
                    end;
                    else do;
                        treeValue11 = 0;
                    end;
                end;
                else do;
                    if (missing(racm_in_gama_terminal_lev_x_GAMA) or racm_in_gama_terminal_lev_x_GAMA < 0) then do;
                        treeValue11 = 0;
                    end;
                    else do;
                        treeValue11 = 0;
                    end;
                end;
            end;
            else do;
                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                    if (missing(racm_co_planfact_2_catB) or racm_co_planfact_2_catB < 0) then do;
                        if (missing(evol_RECLAMACIONES_N) or evol_RECLAMACIONES_N < 0) then do;
                            if (not missing(evol_CA_ATF_AVG) and evol_CA_ATF_AVG < 0) then do;
                                treeValue11 = 0;
                            end;
                            else do;
                                if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                    treeValue11 = 0;
                                end;
                                else do;
                                    if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                            treeValue11 = 0;
                                        end;
                                        else do;
                                            treeValue11 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue11 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue11 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                            treeValue11 = 0;
                        end;
                        else do;
                            if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                                if (not missing(racm_in_portfolio_2_catB) and racm_in_portfolio_2_catB < 0) then do;
                                    treeValue11 = 0;
                                end;
                                else do;
                                    treeValue11 = 0;
                                end;
                            end;
                            else do;
                                treeValue11 = 0;
                            end;
                        end;
                    end;
                end;
                else do;
                    if (missing(evol_ARPU_FIJO_SLOP) or evol_ARPU_FIJO_SLOP < 0) then do;
                        if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                            if (not missing(evol_PT_LLAMADAS_COR) and evol_PT_LLAMADAS_COR < 0) then do;
                                if (missing(racf_ca_series) or racf_ca_series < 0) then do;
                                    treeValue11 = 0;
                                end;
                                else do;
                                    treeValue11 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                                    treeValue11 = 0;
                                end;
                                else do;
                                    if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                                        if (not missing(racm_in_gama_terminal_actual_2_l) and racm_in_gama_terminal_actual_2_l < 0) then do;
                                            treeValue11 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                treeValue11 = 0;
                                            end;
                                            else do;
                                                if (missing(evol_MOU_TV_TOTAL_AVG) or evol_MOU_TV_TOTAL_AVG < 0) then do;
                                                    treeValue11 = 0;
                                                end;
                                                else do;
                                                    treeValue11 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(evol_MOU_TV_OTROS_N) and evol_MOU_TV_OTROS_N < 0) then do;
                                            treeValue11 = 0;
                                        end;
                                        else do;
                                            treeValue11 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racf_ds_agrup_servicio_tv_catP) and racf_ds_agrup_servicio_tv_catP < 0) then do;
                                treeValue11 = 0;
                            end;
                            else do;
                                treeValue11 = 0;
                            end;
                        end;
                    end;
                    else do;
                        treeValue11 = 0;
                    end;
                end;
            end;
        end;
        else do;
            if (not missing(evol_CA_ATF_AVG) and evol_CA_ATF_AVG < 0) then do;
                treeValue11 = 0;
            end;
            else do;
                treeValue11 = 0;
            end;
        end;
    end;
    else do;
        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
            if (missing(evol_ARPU_FIJO_SLOP) or evol_ARPU_FIJO_SLOP < 0) then do;
                treeValue11 = 0;
            end;
            else do;
                treeValue11 = 0;
            end;
        end;
        else do;
            if (not missing(racf_ds_agrup_servicio_tv_lev_NA) and racf_ds_agrup_servicio_tv_lev_NA < 0) then do;
                treeValue11 = 0;
            end;
            else do;
                if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                    treeValue11 = 0;
                end;
                else do;
                    treeValue11 = 0;
                end;
            end;
        end;
    end;
end;
else do;
    treeValue11 = 0;
end;

/* Parsing tree 12*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
    if (missing(racm_in_linea_activa) or racm_in_linea_activa < 0) then do;
        if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
            if (missing(racm_DS_TIPOLOGIA_CLIENTE_catB) or racm_DS_TIPOLOGIA_CLIENTE_catB < 0) then do;
                if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
                    treeValue12 = 0;
                end;
                else do;
                    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                        treeValue12 = 0;
                    end;
                    else do;
                        if (missing(racf_co_tipo_documento_lev_x_R_) or racf_co_tipo_documento_lev_x_R_ < 0) then do;
                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                    if (missing(racm_ds_marca_opt_catP) or racm_ds_marca_opt_catP < 0) then do;
                                        if (missing(racm_co_plantari_2_catP) or racm_co_plantari_2_catP < 0) then do;
                                            treeValue12 = 0;
                                        end;
                                        else do;
                                            treeValue12 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue12 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                        if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                                            treeValue12 = 0;
                                        end;
                                        else do;
                                            if (missing(racm_med_arpu_3meses_cliente_isB) or racm_med_arpu_3meses_cliente_isB < 0) then do;
                                                if (missing(evol_MOU_TV_PROPIOS_AVG) or evol_MOU_TV_PROPIOS_AVG < 0) then do;
                                                    if (not missing(evol_PT_LLAMADAS_R2) and evol_PT_LLAMADAS_R2 < 0) then do;
                                                        treeValue12 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
                                                            treeValue12 = 0;
                                                        end;
                                                        else do;
                                                            treeValue12 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue12 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue12 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racm_fx_fin_cco_maximo_isBAD) and racm_fx_fin_cco_maximo_isBAD < 0) then do;
                                            treeValue12 = 0;
                                        end;
                                        else do;
                                            if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                                if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                                                    treeValue12 = 0;
                                                end;
                                                else do;
                                                    treeValue12 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue12 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                                    treeValue12 = 0;
                                end;
                                else do;
                                    if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                                        treeValue12 = 0;
                                    end;
                                    else do;
                                        treeValue12 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue12 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                if (not missing(evol_CA_MOVIL_AVG) and evol_CA_MOVIL_AVG < 0) then do;
                    treeValue12 = 0;
                end;
                else do;
                    if (not missing(evol_ARPU_TOTAL_DEV) and evol_ARPU_TOTAL_DEV < 0) then do;
                        treeValue12 = 0;
                    end;
                    else do;
                        treeValue12 = 0;
                    end;
                end;
            end;
        end;
        else do;
            treeValue12 = 0;
        end;
    end;
    else do;
        treeValue12 = 0;
    end;
end;
else do;
    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
        treeValue12 = 0;
    end;
    else do;
        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
            if (not missing(evol_MOU_SALIDA_MOVIL_COR) and evol_MOU_SALIDA_MOVIL_COR < 0) then do;
                treeValue12 = 0;
            end;
            else do;
                if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                        treeValue12 = 0;
                    end;
                    else do;
                        if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                            treeValue12 = 0;
                        end;
                        else do;
                            treeValue12 = 0;
                        end;
                    end;
                end;
                else do;
                    treeValue12 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                if (missing(racm_in_sexo_catB) or racm_in_sexo_catB < 0) then do;
                    treeValue12 = 0;
                end;
                else do;
                    treeValue12 = 0;
                end;
            end;
            else do;
                if (not missing(evol_ARPU_TOTAL_DEV) and evol_ARPU_TOTAL_DEV < 0) then do;
                    if (missing(evol_MOU_TV_OTROS_AVG) or evol_MOU_TV_OTROS_AVG < 0) then do;
                        treeValue12 = 0;
                    end;
                    else do;
                        treeValue12 = 0;
                    end;
                end;
                else do;
                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                        treeValue12 = 0;
                    end;
                    else do;
                        treeValue12 = 0;
                    end;
                end;
            end;
        end;
    end;
end;

/* Parsing tree 13*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
    if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
            if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                    treeValue13 = 0;
                end;
                else do;
                    treeValue13 = 0;
                end;
            end;
            else do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                    if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                        if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                            treeValue13 = 0;
                        end;
                        else do;
                            treeValue13 = 0;
                        end;
                    end;
                    else do;
                        if (missing(racf_in_cob_ftth_nif) or racf_in_cob_ftth_nif < 0) then do;
                            if (missing(racf_im_media_arpu_fijo_3mes_cli) or racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                treeValue13 = 0;
                            end;
                            else do;
                                treeValue13 = 0;
                            end;
                        end;
                        else do;
                            treeValue13 = 0;
                        end;
                    end;
                end;
                else do;
                    if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                        treeValue13 = 0;
                    end;
                    else do;
                        if (missing(racf_ds_soporte_ba_catP) or racf_ds_soporte_ba_catP < 0) then do;
                            if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                                if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                    treeValue13 = 0;
                                end;
                                else do;
                                    treeValue13 = 0;
                                end;
                            end;
                            else do;
                                treeValue13 = 0;
                            end;
                        end;
                        else do;
                            treeValue13 = 0;
                        end;
                    end;
                end;
            end;
        end;
        else do;
            if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
                if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                    if (missing(evol_CA_TV_N) or evol_CA_TV_N < 0) then do;
                        if (missing(evol_CA_ATF_R2) or evol_CA_ATF_R2 < 0) then do;
                            if (missing(evol_MOU_TV_TOTAL_R2) or evol_MOU_TV_TOTAL_R2 < 0) then do;
                                if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                                    if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                        treeValue13 = 0;
                                    end;
                                    else do;
                                        treeValue13 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue13 = 0;
                                end;
                            end;
                            else do;
                                treeValue13 = 0;
                            end;
                        end;
                        else do;
                            treeValue13 = 0;
                        end;
                    end;
                    else do;
                        treeValue13 = 0;
                    end;
                end;
                else do;
                    if (not missing(racm_in_gama_terminal_2_lev_NA) and racm_in_gama_terminal_2_lev_NA < 0) then do;
                        if (not missing(racm_ds_tramo_ultima_portada_lev) and racm_ds_tramo_ultima_portada_lev < 0) then do;
                            treeValue13 = 0;
                        end;
                        else do;
                            treeValue13 = 0;
                        end;
                    end;
                    else do;
                        if (missing(evol_CA_MOVIL_COR_isBAD) or evol_CA_MOVIL_COR_isBAD < 0) then do;
                            if (not missing(racm_in_alta_mi_movistar) and racm_in_alta_mi_movistar < 0) then do;
                                treeValue13 = 0;
                            end;
                            else do;
                                if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                    if (not missing(racf_in_tipo_doto) and racf_in_tipo_doto < 0) then do;
                                        treeValue13 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_PT_LLAMADAS_COR_isBAD) or evol_PT_LLAMADAS_COR_isBAD < 0) then do;
                                            treeValue13 = 0;
                                        end;
                                        else do;
                                            treeValue13 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue13 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(evol_CA_TV_AVG) and evol_CA_TV_AVG < 0) then do;
                                treeValue13 = 0;
                            end;
                            else do;
                                treeValue13 = 0;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue13 = 0;
            end;
        end;
    end;
    else do;
        treeValue13 = 0;
    end;
end;
else do;
    if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
        if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
            if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
                treeValue13 = 0;
            end;
            else do;
                if (not missing(evol_MOU_TV_PROPIOS_R2) and evol_MOU_TV_PROPIOS_R2 < 0) then do;
                    treeValue13 = 0;
                end;
                else do;
                    treeValue13 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                treeValue13 = 0;
            end;
            else do;
                treeValue13 = 0;
            end;
        end;
    end;
    else do;
        if (not missing(racm_ds_modelo_opt_catP) and racm_ds_modelo_opt_catP < 0) then do;
            treeValue13 = 0;
        end;
        else do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                    treeValue13 = 0;
                end;
                else do;
                    treeValue13 = 0;
                end;
            end;
            else do;
                if (not missing(evol_MOU_TV_OTROS_N) and evol_MOU_TV_OTROS_N < 0) then do;
                    treeValue13 = 0;
                end;
                else do;
                    treeValue13 = 0;
                end;
            end;
        end;
    end;
end;

/* Parsing tree 14*/
if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
            treeValue14 = 0;
        end;
        else do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                    treeValue14 = 0;
                end;
                else do;
                    if (missing(evol_ARPU_TOTAL_N) or evol_ARPU_TOTAL_N < 0) then do;
                        if (missing(evol_MOU_TV_OTROS_COR) or evol_MOU_TV_OTROS_COR < 0) then do;
                            if (not missing(evol_MOU_TV_PROPIOS_AVG) and evol_MOU_TV_PROPIOS_AVG < 0) then do;
                                treeValue14 = 0;
                            end;
                            else do;
                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                    if (missing(evol_MOU_TV_PROPIOS_AVG) or evol_MOU_TV_PROPIOS_AVG < 0) then do;
                                        if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                            treeValue14 = 0;
                                        end;
                                        else do;
                                            treeValue14 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue14 = 0;
                                    end;
                                end;
                                else do;
                                    if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
                                        treeValue14 = 0;
                                    end;
                                    else do;
                                        treeValue14 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                                if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                                    treeValue14 = 0;
                                end;
                                else do;
                                    treeValue14 = 0;
                                end;
                            end;
                            else do;
                                treeValue14 = 0;
                            end;
                        end;
                    end;
                    else do;
                        treeValue14 = 0;
                    end;
                end;
            end;
            else do;
                if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
                    treeValue14 = 0;
                end;
                else do;
                    if (missing(racm_co_planfact_2_catB) or racm_co_planfact_2_catB < 0) then do;
                        treeValue14 = 0;
                    end;
                    else do;
                        treeValue14 = 0;
                    end;
                end;
            end;
        end;
    end;
    else do;
        if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
            if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
                if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                    treeValue14 = 0;
                end;
                else do;
                    if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
                        if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                            if (not missing(racf_ds_doto_catP) and racf_ds_doto_catP < 0) then do;
                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                    treeValue14 = 0;
                                end;
                                else do;
                                    treeValue14 = 0;
                                end;
                            end;
                            else do;
                                if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                                    treeValue14 = 0;
                                end;
                                else do;
                                    treeValue14 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                if (not missing(racf_ca_familiar) and racf_ca_familiar < 0) then do;
                                    treeValue14 = 0;
                                end;
                                else do;
                                    if (not missing(racm_ds_modelo_opt_catP) and racm_ds_modelo_opt_catP < 0) then do;
                                        treeValue14 = 0;
                                    end;
                                    else do;
                                        treeValue14 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue14 = 0;
                            end;
                        end;
                    end;
                    else do;
                        treeValue14 = 0;
                    end;
                end;
            end;
            else do;
                if (not missing(evol_AVERIAS_SLOP_isBAD) and evol_AVERIAS_SLOP_isBAD < 0) then do;
                    treeValue14 = 0;
                end;
                else do;
                    treeValue14 = 0;
                end;
            end;
        end;
        else do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                if (not missing(evol_MOU_TV_OTROS_COR) and evol_MOU_TV_OTROS_COR < 0) then do;
                    treeValue14 = 0;
                end;
                else do;
                    if (not missing(racm_ds_modelo_opt_catP) and racm_ds_modelo_opt_catP < 0) then do;
                        treeValue14 = 0;
                    end;
                    else do;
                        if (not missing(evol_PT_LLAMADAS_DEV) and evol_PT_LLAMADAS_DEV < 0) then do;
                            treeValue14 = 0;
                        end;
                        else do;
                            treeValue14 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                    if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                        treeValue14 = 0;
                    end;
                    else do;
                        treeValue14 = 0;
                    end;
                end;
                else do;
                    treeValue14 = 0;
                end;
            end;
        end;
    end;
end;
else do;
    if (missing(evol_MOU_TV_TOTAL_SLOP_isBAD) or evol_MOU_TV_TOTAL_SLOP_isBAD < 0) then do;
        treeValue14 = 0;
    end;
    else do;
        treeValue14 = 0;
    end;
end;

/* Parsing tree 15*/
if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
    if (missing(evol_PT_LLAMADAS_DEV) or evol_PT_LLAMADAS_DEV < 0) then do;
        treeValue15 = 0;
    end;
    else do;
        treeValue15 = 0;
    end;
end;
else do;
    if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
        treeValue15 = 0;
    end;
    else do;
        if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
            if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
                if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
                    if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
                        treeValue15 = 0;
                    end;
                    else do;
                        if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
                            if (missing(racm_ds_marca_opt_catB) or racm_ds_marca_opt_catB < 0) then do;
                                if (missing(evol_CO_TIPO_DOCUMENTO_catP) or evol_CO_TIPO_DOCUMENTO_catP < 0) then do;
                                    if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                                        if (not missing(evol_MOU_TV_OTROS_COR) and evol_MOU_TV_OTROS_COR < 0) then do;
                                            treeValue15 = 0;
                                        end;
                                        else do;
                                            if (missing(racm_med_vol_dat_tot_6meses_2) or racm_med_vol_dat_tot_6meses_2 < 0) then do;
                                                if (missing(evol_MOU_TV_PROPIOS_R2) or evol_MOU_TV_PROPIOS_R2 < 0) then do;
                                                    if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                        if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                                                            treeValue15 = 0;
                                                        end;
                                                        else do;
                                                            treeValue15 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                                                            treeValue15 = 0;
                                                        end;
                                                        else do;
                                                            treeValue15 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue15 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue15 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(racf_in_Despliegue_FTTH_nif_catB) or racf_in_Despliegue_FTTH_nif_catB < 0) then do;
                                            if (not missing(racm_ds_modelo_opt_catP) and racm_ds_modelo_opt_catP < 0) then do;
                                                treeValue15 = 0;
                                            end;
                                            else do;
                                                if (missing(evol_MOU_SALIDA_MOVIL_COR) or evol_MOU_SALIDA_MOVIL_COR < 0) then do;
                                                    treeValue15 = 0;
                                                end;
                                                else do;
                                                    treeValue15 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racm_med_vol_dat_tot_6meses_2) and racm_med_vol_dat_tot_6meses_2 < 0) then do;
                                                treeValue15 = 0;
                                            end;
                                            else do;
                                                treeValue15 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue15 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(racm_ds_marca_opt_2_lev_x_) and racm_ds_marca_opt_2_lev_x_ < 0) then do;
                                    if (not missing(racf_ds_doto_catP) and racf_ds_doto_catP < 0) then do;
                                        treeValue15 = 0;
                                    end;
                                    else do;
                                        treeValue15 = 0;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                                        treeValue15 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                                            if (not missing(racf_nu_velocidad_adsl) and racf_nu_velocidad_adsl < 0) then do;
                                                if (not missing(racf_in_sexo_lev_x_H_) and racf_in_sexo_lev_x_H_ < 0) then do;
                                                    treeValue15 = 0;
                                                end;
                                                else do;
                                                    treeValue15 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(racm_in_tipo_pago_2_isBAD) and racm_in_tipo_pago_2_isBAD < 0) then do;
                                                    treeValue15 = 0;
                                                end;
                                                else do;
                                                    if (missing(racf_in_Despliegue_FTTH_nif_lev_) or racf_in_Despliegue_FTTH_nif_lev_ < 0) then do;
                                                        if (not missing(racf_ds_doto_catP) and racf_ds_doto_catP < 0) then do;
                                                            treeValue15 = 0;
                                                        end;
                                                        else do;
                                                            treeValue15 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue15 = 0;
                                                    end;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racf_in_sexo_lev_x_H_) and racf_in_sexo_lev_x_H_ < 0) then do;
                                                treeValue15 = 0;
                                            end;
                                            else do;
                                                treeValue15 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racf_co_estado_email_efactura_ca) and racf_co_estado_email_efactura_ca < 0) then do;
                                treeValue15 = 0;
                            end;
                            else do;
                                treeValue15 = 0;
                            end;
                        end;
                    end;
                end;
                else do;
                    if (missing(evol_MOU_TV_PROPIOS_COR_isBAD) or evol_MOU_TV_PROPIOS_COR_isBAD < 0) then do;
                        treeValue15 = 0;
                    end;
                    else do;
                        treeValue15 = 0;
                    end;
                end;
            end;
            else do;
                treeValue15 = 0;
            end;
        end;
        else do;
            treeValue15 = 0;
        end;
    end;
end;

/* Parsing tree 16*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
    if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
        if (missing(racf_ds_doto_catB) or racf_ds_doto_catB < 0) then do;
            if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
                if (missing(evol_CA_ATF_AVG) or evol_CA_ATF_AVG < 0) then do;
                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                        if (not missing(evol_MOU_TV_PROPIOS_SLOP) and evol_MOU_TV_PROPIOS_SLOP < 0) then do;
                            treeValue16 = 0;
                        end;
                        else do;
                            if (not missing(evol_PT_LLAMADAS_SLOP) and evol_PT_LLAMADAS_SLOP < 0) then do;
                                treeValue16 = 0;
                            end;
                            else do;
                                treeValue16 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                            treeValue16 = 0;
                        end;
                        else do;
                            if (not missing(racm_in_gama_terminal_actual_2_l) and racm_in_gama_terminal_actual_2_l < 0) then do;
                                if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                                    treeValue16 = 0;
                                end;
                                else do;
                                    treeValue16 = 0;
                                end;
                            end;
                            else do;
                                if (missing(racm_med_arpu_3meses_cliente_isB) or racm_med_arpu_3meses_cliente_isB < 0) then do;
                                    if (not missing(evol_MOU_SALIDA_MOVIL_COR) and evol_MOU_SALIDA_MOVIL_COR < 0) then do;
                                        if (not missing(evol_MOU_TV_OTROS_R2) and evol_MOU_TV_OTROS_R2 < 0) then do;
                                            treeValue16 = 0;
                                        end;
                                        else do;
                                            treeValue16 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
                                            if (missing(racm_in_portfolio_2_catP) or racm_in_portfolio_2_catP < 0) then do;
                                                if (not missing(racm_nu_antiguedad_terminal) and racm_nu_antiguedad_terminal < 0) then do;
                                                    treeValue16 = 0;
                                                end;
                                                else do;
                                                    if (missing(evol_MOU_TV_PROPIOS_AVG) or evol_MOU_TV_PROPIOS_AVG < 0) then do;
                                                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                            treeValue16 = 0;
                                                        end;
                                                        else do;
                                                            treeValue16 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue16 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue16 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue16 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(racf_in_sexo_lev_x_M_) and racf_in_sexo_lev_x_M_ < 0) then do;
                                        treeValue16 = 0;
                                    end;
                                    else do;
                                        if (missing(racf_in_fusionado) or racf_in_fusionado < 0) then do;
                                            treeValue16 = 0;
                                        end;
                                        else do;
                                            treeValue16 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue16 = 0;
                end;
            end;
            else do;
                if (not missing(evol_VOLUMEN_DATOS_MBPS_R2_isBAD) and evol_VOLUMEN_DATOS_MBPS_R2_isBAD < 0) then do;
                    treeValue16 = 0;
                end;
                else do;
                    treeValue16 = 0;
                end;
            end;
        end;
        else do;
            if (missing(racf_ds_doto_catB) or racf_ds_doto_catB < 0) then do;
                if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                    if (missing(evol_RECLAMACIONES_R2) or evol_RECLAMACIONES_R2 < 0) then do;
                        if (missing(evol_VOLUMEN_DATOS_MBPS_SLOP) or evol_VOLUMEN_DATOS_MBPS_SLOP < 0) then do;
                            treeValue16 = 0;
                        end;
                        else do;
                            treeValue16 = 0;
                        end;
                    end;
                    else do;
                        treeValue16 = 0;
                    end;
                end;
                else do;
                    treeValue16 = 0;
                end;
            end;
            else do;
                if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                    treeValue16 = 0;
                end;
                else do;
                    treeValue16 = 0;
                end;
            end;
        end;
    end;
    else do;
        if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
            treeValue16 = 0;
        end;
        else do;
            treeValue16 = 0;
        end;
    end;
end;
else do;
    if (not missing(racm_ds_modelo_opt_2_catP) and racm_ds_modelo_opt_2_catP < 0) then do;
        treeValue16 = 0;
    end;
    else do;
        if (not missing(evol_MOU_TV_OTROS_COR) and evol_MOU_TV_OTROS_COR < 0) then do;
            treeValue16 = 0;
        end;
        else do;
            if (not missing(racm_nu_lineas_cliente) and racm_nu_lineas_cliente < 0) then do;
                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                    treeValue16 = 0;
                end;
                else do;
                    treeValue16 = 0;
                end;
            end;
            else do;
                if (not missing(racm_in_gama_terminal_2_lev_x_NO) and racm_in_gama_terminal_2_lev_x_NO < 0) then do;
                    treeValue16 = 0;
                end;
                else do;
                    if (not missing(racf_in_sexo_lev_x_M_) and racf_in_sexo_lev_x_M_ < 0) then do;
                        treeValue16 = 0;
                    end;
                    else do;
                        treeValue16 = 0;
                    end;
                end;
            end;
        end;
    end;
end;

/* Parsing tree 17*/
if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
        treeValue17 = 0;
    end;
    else do;
        treeValue17 = 0;
    end;
end;
else do;
    if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
        treeValue17 = 0;
    end;
    else do;
        if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
            if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
                    if (missing(racm_in_gama_terminal_catB) or racm_in_gama_terminal_catB < 0) then do;
                        if (missing(evol_MOU_TV_OTROS_SLOP) or evol_MOU_TV_OTROS_SLOP < 0) then do;
                            if (missing(evol_CA_TV_N) or evol_CA_TV_N < 0) then do;
                                if (missing(racm_fx_ultima_linea_portada_isB) or racm_fx_ultima_linea_portada_isB < 0) then do;
                                    if (not missing(racm_med_arpu_3meses_3) and racm_med_arpu_3meses_3 < 0) then do;
                                        treeValue17 = 0;
                                    end;
                                    else do;
                                        if (not missing(evol_AVERIAS_R2) and evol_AVERIAS_R2 < 0) then do;
                                            if (missing(evol_PT_LLAMADAS_COR) or evol_PT_LLAMADAS_COR < 0) then do;
                                                treeValue17 = 0;
                                            end;
                                            else do;
                                                treeValue17 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (missing(racm_ds_marca_opt_catB) or racm_ds_marca_opt_catB < 0) then do;
                                                if (missing(racm_co_plantari_2_catP) or racm_co_plantari_2_catP < 0) then do;
                                                    if (missing(racm_in_alta_mi_movistar) or racm_in_alta_mi_movistar < 0) then do;
                                                        if (missing(racf_in_Despliegue_FTTH_nif_catP) or racf_in_Despliegue_FTTH_nif_catP < 0) then do;
                                                            treeValue17 = 0;
                                                        end;
                                                        else do;
                                                            treeValue17 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                                            treeValue17 = 0;
                                                        end;
                                                        else do;
                                                            treeValue17 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                                        treeValue17 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(evol_MOU_TV_PROPIOS_AVG) or evol_MOU_TV_PROPIOS_AVG < 0) then do;
                                                            treeValue17 = 0;
                                                        end;
                                                        else do;
                                                            treeValue17 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(evol_RECLAMACIONES_R2) and evol_RECLAMACIONES_R2 < 0) then do;
                                                    treeValue17 = 0;
                                                end;
                                                else do;
                                                    treeValue17 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue17 = 0;
                                end;
                            end;
                            else do;
                                if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                                    treeValue17 = 0;
                                end;
                                else do;
                                    treeValue17 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue17 = 0;
                        end;
                    end;
                    else do;
                        if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                            if (not missing(racf_im_media_arpu_fijo_3mes_cli) and racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                                    if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                        treeValue17 = 0;
                                    end;
                                    else do;
                                        treeValue17 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue17 = 0;
                                end;
                            end;
                            else do;
                                if (missing(evol_CO_TIPO_DOCUMENTO_catP) or evol_CO_TIPO_DOCUMENTO_catP < 0) then do;
                                    if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                                        treeValue17 = 0;
                                    end;
                                    else do;
                                        if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                            treeValue17 = 0;
                                        end;
                                        else do;
                                            treeValue17 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue17 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue17 = 0;
                        end;
                    end;
                end;
                else do;
                    treeValue17 = 0;
                end;
            end;
            else do;
                if (not missing(racm_med_arpu_3meses_cliente) and racm_med_arpu_3meses_cliente < 0) then do;
                    treeValue17 = 0;
                end;
                else do;
                    treeValue17 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racf_ds_doto_catB) and racf_ds_doto_catB < 0) then do;
                treeValue17 = 0;
            end;
            else do;
                treeValue17 = 0;
            end;
        end;
    end;
end;

/* Parsing tree 18*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
    if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                if (not missing(racm_co_plantari_2_catP) and racm_co_plantari_2_catP < 0) then do;
                    treeValue18 = 0;
                end;
                else do;
                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                        if (not missing(evol_PT_LLAMADAS_COR) and evol_PT_LLAMADAS_COR < 0) then do;
                            treeValue18 = 0;
                        end;
                        else do;
                            if (not missing(evol_MOU_TV_PROPIOS_SLOP) and evol_MOU_TV_PROPIOS_SLOP < 0) then do;
                                treeValue18 = 0;
                            end;
                            else do;
                                treeValue18 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                            treeValue18 = 0;
                        end;
                        else do;
                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                treeValue18 = 0;
                            end;
                            else do;
                                treeValue18 = 0;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                    treeValue18 = 0;
                end;
                else do;
                    treeValue18 = 0;
                end;
            end;
        end;
        else do;
            if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                        treeValue18 = 0;
                    end;
                    else do;
                        if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                            if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
                                if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                    if (not missing(evol_MOU_SALIDA_MOVIL_DEV) and evol_MOU_SALIDA_MOVIL_DEV < 0) then do;
                                        treeValue18 = 0;
                                    end;
                                    else do;
                                        if (not missing(evol_MOU_TV_TOTAL_SLOP) and evol_MOU_TV_TOTAL_SLOP < 0) then do;
                                            treeValue18 = 0;
                                        end;
                                        else do;
                                            treeValue18 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_MOU_TV_OTROS_DEV) and evol_MOU_TV_OTROS_DEV < 0) then do;
                                        treeValue18 = 0;
                                    end;
                                    else do;
                                        if (missing(racm_in_gama_terminal_2_catB) or racm_in_gama_terminal_2_catB < 0) then do;
                                            treeValue18 = 0;
                                        end;
                                        else do;
                                            treeValue18 = 0;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                    treeValue18 = 0;
                                end;
                                else do;
                                    treeValue18 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racf_ca_liga) and racf_ca_liga < 0) then do;
                                treeValue18 = 0;
                            end;
                            else do;
                                if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
                                    if (not missing(racf_in_Despliegue_FTTH_nif_catB) and racf_in_Despliegue_FTTH_nif_catB < 0) then do;
                                        treeValue18 = 0;
                                    end;
                                    else do;
                                        treeValue18 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                        if (not missing(racf_in_cob_imag_nif) and racf_in_cob_imag_nif < 0) then do;
                                            treeValue18 = 0;
                                        end;
                                        else do;
                                            treeValue18 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(evol_CA_TV_AVG) and evol_CA_TV_AVG < 0) then do;
                                            treeValue18 = 0;
                                        end;
                                        else do;
                                            treeValue18 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue18 = 0;
                end;
            end;
            else do;
                treeValue18 = 0;
            end;
        end;
    end;
    else do;
        treeValue18 = 0;
    end;
end;
else do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        treeValue18 = 0;
    end;
    else do;
        if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
            treeValue18 = 0;
        end;
        else do;
            if (not missing(racf_segmento_catP) and racf_segmento_catP < 0) then do;
                treeValue18 = 0;
            end;
            else do;
                if (missing(evol_VOLUMEN_DATOS_MBPS_COR) or evol_VOLUMEN_DATOS_MBPS_COR < 0) then do;
                    if (missing(racf_ds_soporte_ba_catB) or racf_ds_soporte_ba_catB < 0) then do;
                        if (missing(racm_co_plantari_catP) or racm_co_plantari_catP < 0) then do;
                            if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                                treeValue18 = 0;
                            end;
                            else do;
                                if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                                    treeValue18 = 0;
                                end;
                                else do;
                                    treeValue18 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue18 = 0;
                        end;
                    end;
                    else do;
                        treeValue18 = 0;
                    end;
                end;
                else do;
                    treeValue18 = 0;
                end;
            end;
        end;
    end;
end;

/* Parsing tree 19*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        if (not missing(racm_ds_modelo_opt_catP) and racm_ds_modelo_opt_catP < 0) then do;
            if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                treeValue19 = 0;
            end;
            else do;
                treeValue19 = 0;
            end;
        end;
        else do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                if (missing(racm_im_media_arpu_movil_3mes_cl) or racm_im_media_arpu_movil_3mes_cl < 0) then do;
                    if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                        if (missing(racf_co_sub_segmento_catP) or racf_co_sub_segmento_catP < 0) then do;
                            if (not missing(racm_ds_modelo_opt_catP) and racm_ds_modelo_opt_catP < 0) then do;
                                treeValue19 = 0;
                            end;
                            else do;
                                if (not missing(racm_pp_fx_ult_canje_isBAD) and racm_pp_fx_ult_canje_isBAD < 0) then do;
                                    treeValue19 = 0;
                                end;
                                else do;
                                    if (not missing(evol_MOU_TV_PROPIOS_R2) and evol_MOU_TV_PROPIOS_R2 < 0) then do;
                                        treeValue19 = 0;
                                    end;
                                    else do;
                                        treeValue19 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue19 = 0;
                        end;
                    end;
                    else do;
                        treeValue19 = 0;
                    end;
                end;
                else do;
                    treeValue19 = 0;
                end;
            end;
            else do;
                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                    treeValue19 = 0;
                end;
                else do;
                    if (missing(evol_PT_LLAMADAS_DEV) or evol_PT_LLAMADAS_DEV < 0) then do;
                        if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                            if (not missing(racf_ds_doto_catP) and racf_ds_doto_catP < 0) then do;
                                treeValue19 = 0;
                            end;
                            else do;
                                treeValue19 = 0;
                            end;
                        end;
                        else do;
                            treeValue19 = 0;
                        end;
                    end;
                    else do;
                        treeValue19 = 0;
                    end;
                end;
            end;
        end;
    end;
    else do;
        if (not missing(evol_MOU_TV_PROPIOS_COR) and evol_MOU_TV_PROPIOS_COR < 0) then do;
            treeValue19 = 0;
        end;
        else do;
            if (not missing(racm_ds_modelo_opt_catP) and racm_ds_modelo_opt_catP < 0) then do;
                if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                    treeValue19 = 0;
                end;
                else do;
                    treeValue19 = 0;
                end;
            end;
            else do;
                if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                        if (not missing(racm_fx_fin_cco_maximo_isBAD) and racm_fx_fin_cco_maximo_isBAD < 0) then do;
                            if (not missing(racf_im_media_arpu_3meses_client) and racf_im_media_arpu_3meses_client < 0) then do;
                                treeValue19 = 0;
                            end;
                            else do;
                                treeValue19 = 0;
                            end;
                        end;
                        else do;
                            if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                                if (not missing(racf_nu_velocidad_adsl) and racf_nu_velocidad_adsl < 0) then do;
                                    treeValue19 = 0;
                                end;
                                else do;
                                    if (not missing(racf_im_media_arpu_3meses_client) and racf_im_media_arpu_3meses_client < 0) then do;
                                        treeValue19 = 0;
                                    end;
                                    else do;
                                        if (missing(racm_in_portfolio_catB) or racm_in_portfolio_catB < 0) then do;
                                            treeValue19 = 0;
                                        end;
                                        else do;
                                            treeValue19 = 0;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                    treeValue19 = 0;
                                end;
                                else do;
                                    if (not missing(racf_im_media_arpu_fijo_3mes_cli) and racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                        treeValue19 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                                            treeValue19 = 0;
                                        end;
                                        else do;
                                            treeValue19 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue19 = 0;
                    end;
                end;
                else do;
                    if (not missing(racf_co_estado_email_efactura_ca) and racf_co_estado_email_efactura_ca < 0) then do;
                        treeValue19 = 0;
                    end;
                    else do;
                        treeValue19 = 0;
                    end;
                end;
            end;
        end;
    end;
end;
else do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        if (missing(racm_ds_modelo_opt_2_catP) or racm_ds_modelo_opt_2_catP < 0) then do;
            treeValue19 = 0;
        end;
        else do;
            treeValue19 = 0;
        end;
    end;
    else do;
        if (missing(racm_im_media_arpu_movil_3mes_cl) or racm_im_media_arpu_movil_3mes_cl < 0) then do;
            if (missing(racm_ds_modelo_opt_catP) or racm_ds_modelo_opt_catP < 0) then do;
                if (not missing(racm_med_arpu_3meses_2) and racm_med_arpu_3meses_2 < 0) then do;
                    treeValue19 = 0;
                end;
                else do;
                    if (missing(racm_ds_modelo_opt_catP) or racm_ds_modelo_opt_catP < 0) then do;
                        treeValue19 = 0;
                    end;
                    else do;
                        treeValue19 = 0;
                    end;
                end;
            end;
            else do;
                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                    treeValue19 = 0;
                end;
                else do;
                    if (missing(evol_AVERIAS_DEV) or evol_AVERIAS_DEV < 0) then do;
                        treeValue19 = 0;
                    end;
                    else do;
                        treeValue19 = 0;
                    end;
                end;
            end;
        end;
        else do;
            treeValue19 = 0;
        end;
    end;
end;

/* Parsing tree 20*/
if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
    treeValue20 = 0;
end;
else do;
    if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
        if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
            if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
                treeValue20 = 0;
            end;
            else do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                    if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
                        if (missing(racm_med_arpu_3meses_cliente_isB) or racm_med_arpu_3meses_cliente_isB < 0) then do;
                            if (missing(racm_in_cliente_linea_portada) or racm_in_cliente_linea_portada < 0) then do;
                                if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
                                    if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                        treeValue20 = 0;
                                    end;
                                    else do;
                                        if (missing(racm_pp_fx_ult_canje) or racm_pp_fx_ult_canje < 0) then do;
                                            if (not missing(racm_pp_fx_ult_canje) and racm_pp_fx_ult_canje < 0) then do;
                                                treeValue20 = 0;
                                            end;
                                            else do;
                                                if (missing(evol_MOU_TV_TOTAL_AVG) or evol_MOU_TV_TOTAL_AVG < 0) then do;
                                                    if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                                                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                                            treeValue20 = 0;
                                                        end;
                                                        else do;
                                                            treeValue20 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue20 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue20 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue20 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue20 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                    if (not missing(racm_nu_antiguedad_terminal_2_is) and racm_nu_antiguedad_terminal_2_is < 0) then do;
                                        treeValue20 = 0;
                                    end;
                                    else do;
                                        if (not missing(racm_med_mou_6meses) and racm_med_mou_6meses < 0) then do;
                                            treeValue20 = 0;
                                        end;
                                        else do;
                                            treeValue20 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(racm_co_plantari_2_lev_x_622_) and racm_co_plantari_2_lev_x_622_ < 0) then do;
                                        if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                            treeValue20 = 0;
                                        end;
                                        else do;
                                            treeValue20 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(evol_MOU_TV_TOTAL_R2) and evol_MOU_TV_TOTAL_R2 < 0) then do;
                                            treeValue20 = 0;
                                        end;
                                        else do;
                                            treeValue20 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(evol_AVERIAS_R2) and evol_AVERIAS_R2 < 0) then do;
                                treeValue20 = 0;
                            end;
                            else do;
                                if (missing(evol_PT_LLAMADAS_R2) or evol_PT_LLAMADAS_R2 < 0) then do;
                                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                        if (not missing(evol_PT_LLAMADAS_DEV) and evol_PT_LLAMADAS_DEV < 0) then do;
                                            treeValue20 = 0;
                                        end;
                                        else do;
                                            treeValue20 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                                            if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                                                if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                                    treeValue20 = 0;
                                                end;
                                                else do;
                                                    treeValue20 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue20 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue20 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue20 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue20 = 0;
                    end;
                end;
                else do;
                    if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
                        if (missing(evol_CA_MOVIL_R2) or evol_CA_MOVIL_R2 < 0) then do;
                            if (not missing(racm_pp_fx_ult_canje_isBAD) and racm_pp_fx_ult_canje_isBAD < 0) then do;
                                treeValue20 = 0;
                            end;
                            else do;
                                if (not missing(racm_ds_marca_opt_catB) and racm_ds_marca_opt_catB < 0) then do;
                                    treeValue20 = 0;
                                end;
                                else do;
                                    treeValue20 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue20 = 0;
                        end;
                    end;
                    else do;
                        if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                            treeValue20 = 0;
                        end;
                        else do;
                            treeValue20 = 0;
                        end;
                    end;
                end;
            end;
        end;
        else do;
            treeValue20 = 0;
        end;
    end;
    else do;
        treeValue20 = 0;
    end;
end;

/* Parsing tree 21*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
    if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
        if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
            treeValue21 = 0;
        end;
        else do;
            if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                    if (missing(evol_MOU_TV_PROPIOS_R2) or evol_MOU_TV_PROPIOS_R2 < 0) then do;
                        treeValue21 = 0;
                    end;
                    else do;
                        treeValue21 = 0;
                    end;
                end;
                else do;
                    if (missing(evol_MOU_TV_OTROS_SLOP) or evol_MOU_TV_OTROS_SLOP < 0) then do;
                        if (not missing(racm_im_media_arpu_movil_3mes_cl) and racm_im_media_arpu_movil_3mes_cl < 0) then do;
                            if (missing(evol_MOU_TV_PROPIOS_DEV) or evol_MOU_TV_PROPIOS_DEV < 0) then do;
                                if (not missing(racm_med_arpu_3meses_2) and racm_med_arpu_3meses_2 < 0) then do;
                                    treeValue21 = 0;
                                end;
                                else do;
                                    if (not missing(racf_co_estado_email_efactura_ca) and racf_co_estado_email_efactura_ca < 0) then do;
                                        treeValue21 = 0;
                                    end;
                                    else do;
                                        treeValue21 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                                    treeValue21 = 0;
                                end;
                                else do;
                                    treeValue21 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                treeValue21 = 0;
                            end;
                            else do;
                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                    if (not missing(evol_PT_LLAMADAS_COR_isBAD) and evol_PT_LLAMADAS_COR_isBAD < 0) then do;
                                        if (missing(racf_co_tipo_documento_lev_x_D_) or racf_co_tipo_documento_lev_x_D_ < 0) then do;
                                            if (not missing(racf_ds_agrup_servicio_tv_catP) and racf_ds_agrup_servicio_tv_catP < 0) then do;
                                                treeValue21 = 0;
                                            end;
                                            else do;
                                                if (missing(evol_VOLUMEN_DATOS_MBPS_N_isBAD) or evol_VOLUMEN_DATOS_MBPS_N_isBAD < 0) then do;
                                                    if (not missing(racm_pp_fx_ult_canje_isBAD) and racm_pp_fx_ult_canje_isBAD < 0) then do;
                                                        treeValue21 = 0;
                                                    end;
                                                    else do;
                                                        treeValue21 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue21 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue21 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(racf_segmento_lev_x_R_) or racf_segmento_lev_x_R_ < 0) then do;
                                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                                if (missing(racm_in_sexo_catP) or racm_in_sexo_catP < 0) then do;
                                                    treeValue21 = 0;
                                                end;
                                                else do;
                                                    treeValue21 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (missing(evol_MOU_TV_TOTAL_AVG) or evol_MOU_TV_TOTAL_AVG < 0) then do;
                                                    if (not missing(racm_ds_marca_opt_catB) and racm_ds_marca_opt_catB < 0) then do;
                                                        treeValue21 = 0;
                                                    end;
                                                    else do;
                                                        treeValue21 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue21 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racm_in_alta_mi_movistar) and racm_in_alta_mi_movistar < 0) then do;
                                                treeValue21 = 0;
                                            end;
                                            else do;
                                                treeValue21 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(racf_ca_series) and racf_ca_series < 0) then do;
                                        treeValue21 = 0;
                                    end;
                                    else do;
                                        treeValue21 = 0;
                                    end;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue21 = 0;
                    end;
                end;
            end;
            else do;
                treeValue21 = 0;
            end;
        end;
    end;
    else do;
        treeValue21 = 0;
    end;
end;
else do;
    if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
        treeValue21 = 0;
    end;
    else do;
        if (missing(evol_CA_ATF_R2) or evol_CA_ATF_R2 < 0) then do;
            if (not missing(evol_MOU_TV_OTROS_SLOP) and evol_MOU_TV_OTROS_SLOP < 0) then do;
                treeValue21 = 0;
            end;
            else do;
                if (not missing(racf_ca_liga) and racf_ca_liga < 0) then do;
                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                        treeValue21 = 0;
                    end;
                    else do;
                        treeValue21 = 0;
                    end;
                end;
                else do;
                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                        if (not missing(evol_VOLUMEN_DATOS_MBPS_COR_isBA) and evol_VOLUMEN_DATOS_MBPS_COR_isBA < 0) then do;
                            treeValue21 = 0;
                        end;
                        else do;
                            treeValue21 = 0;
                        end;
                    end;
                    else do;
                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                            if (missing(racf_co_sub_segmento_catP) or racf_co_sub_segmento_catP < 0) then do;
                                treeValue21 = 0;
                            end;
                            else do;
                                treeValue21 = 0;
                            end;
                        end;
                        else do;
                            treeValue21 = 0;
                        end;
                    end;
                end;
            end;
        end;
        else do;
            treeValue21 = 0;
        end;
    end;
end;

/* Parsing tree 22*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
    if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
        treeValue22 = 0;
    end;
    else do;
        if (missing(evol_CA_BAF_AVG) or evol_CA_BAF_AVG < 0) then do;
            if (missing(racf_ds_tipo_fusion_catB) or racf_ds_tipo_fusion_catB < 0) then do;
                if (missing(racm_co_tipo_documento_catB) or racm_co_tipo_documento_catB < 0) then do;
                    if (not missing(evol_MOU_TV_OTROS_COR) and evol_MOU_TV_OTROS_COR < 0) then do;
                        if (missing(racf_co_estado_email_efactura_ca) or racf_co_estado_email_efactura_ca < 0) then do;
                            treeValue22 = 0;
                        end;
                        else do;
                            treeValue22 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                            if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                                if (not missing(racf_in_sexo_lev_x_M_) and racf_in_sexo_lev_x_M_ < 0) then do;
                                    treeValue22 = 0;
                                end;
                                else do;
                                    treeValue22 = 0;
                                end;
                            end;
                            else do;
                                treeValue22 = 0;
                            end;
                        end;
                        else do;
                            if (missing(racm_co_plantari_2_catP) or racm_co_plantari_2_catP < 0) then do;
                                if (not missing(racm_co_planfact_3_catB) and racm_co_planfact_3_catB < 0) then do;
                                    treeValue22 = 0;
                                end;
                                else do;
                                    if (not missing(racm_fx_fin_cco_maximo) and racm_fx_fin_cco_maximo < 0) then do;
                                        treeValue22 = 0;
                                    end;
                                    else do;
                                        if (not missing(racf_in_consiente_cesion_datos_i) and racf_in_consiente_cesion_datos_i < 0) then do;
                                            if (not missing(racf_co_estado_email_efactura_ca) and racf_co_estado_email_efactura_ca < 0) then do;
                                                treeValue22 = 0;
                                            end;
                                            else do;
                                                treeValue22 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                                treeValue22 = 0;
                                            end;
                                            else do;
                                                if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                                                    treeValue22 = 0;
                                                end;
                                                else do;
                                                    treeValue22 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                        treeValue22 = 0;
                                    end;
                                    else do;
                                        if (missing(racf_in_cob_imag_nif) or racf_in_cob_imag_nif < 0) then do;
                                            treeValue22 = 0;
                                        end;
                                        else do;
                                            treeValue22 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue22 = 0;
                                end;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue22 = 0;
                end;
            end;
            else do;
                if (missing(evol_MOU_TV_OTROS_COR) or evol_MOU_TV_OTROS_COR < 0) then do;
                    if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
                        if (not missing(evol_ARPU_TOTAL_DEV) and evol_ARPU_TOTAL_DEV < 0) then do;
                            if (missing(evol_PT_LLAMADAS_COR_isBAD) or evol_PT_LLAMADAS_COR_isBAD < 0) then do;
                                if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                                    treeValue22 = 0;
                                end;
                                else do;
                                    treeValue22 = 0;
                                end;
                            end;
                            else do;
                                treeValue22 = 0;
                            end;
                        end;
                        else do;
                            if (not missing(evol_ARPU_TOTAL_DEV) and evol_ARPU_TOTAL_DEV < 0) then do;
                                if (not missing(evol_ARPU_TOTAL_AVG) and evol_ARPU_TOTAL_AVG < 0) then do;
                                    treeValue22 = 0;
                                end;
                                else do;
                                    treeValue22 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(evol_MOU_TV_OTROS_R2_isBAD) and evol_MOU_TV_OTROS_R2_isBAD < 0) then do;
                                    treeValue22 = 0;
                                end;
                                else do;
                                    treeValue22 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue22 = 0;
                    end;
                end;
                else do;
                    if (missing(evol_PT_LLAMADAS_DEV) or evol_PT_LLAMADAS_DEV < 0) then do;
                        treeValue22 = 0;
                    end;
                    else do;
                        treeValue22 = 0;
                    end;
                end;
            end;
        end;
        else do;
            treeValue22 = 0;
        end;
    end;
end;
else do;
    if (not missing(evol_ARPU_TOTAL_AVG) and evol_ARPU_TOTAL_AVG < 0) then do;
        if (not missing(evol_ARPU_FIJO_SLOP) and evol_ARPU_FIJO_SLOP < 0) then do;
            treeValue22 = 0;
        end;
        else do;
            treeValue22 = 0;
        end;
    end;
    else do;
        if (missing(evol_VOLUMEN_DATOS_MBPS_R2) or evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
            if (missing(racm_nu_lineas_cliente) or racm_nu_lineas_cliente < 0) then do;
                if (not missing(evol_ARPU_TOTAL_AVG) and evol_ARPU_TOTAL_AVG < 0) then do;
                    treeValue22 = 0;
                end;
                else do;
                    if (not missing(evol_MOU_TV_TOTAL_COR_isBAD) and evol_MOU_TV_TOTAL_COR_isBAD < 0) then do;
                        treeValue22 = 0;
                    end;
                    else do;
                        if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                            treeValue22 = 0;
                        end;
                        else do;
                            treeValue22 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue22 = 0;
            end;
        end;
        else do;
            treeValue22 = 0;
        end;
    end;
end;

/* Parsing tree 23*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
    if (missing(racm_in_linea_activa) or racm_in_linea_activa < 0) then do;
        if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
            if (missing(racf_ds_doto_catB) or racf_ds_doto_catB < 0) then do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                        treeValue23 = 0;
                    end;
                    else do;
                        if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
                            if (missing(evol_CA_MOVIL_R2) or evol_CA_MOVIL_R2 < 0) then do;
                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                    if (not missing(evol_CA_MOVIL_COR) and evol_CA_MOVIL_COR < 0) then do;
                                        treeValue23 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                                                if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
                                                    treeValue23 = 0;
                                                end;
                                                else do;
                                                    if (missing(evol_MOU_TV_TOTAL_AVG) or evol_MOU_TV_TOTAL_AVG < 0) then do;
                                                        if (not missing(racf_IN_SERVICIO_TV_catP) and racf_IN_SERVICIO_TV_catP < 0) then do;
                                                            treeValue23 = 0;
                                                        end;
                                                        else do;
                                                            treeValue23 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue23 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(racf_ca_partidazo) and racf_ca_partidazo < 0) then do;
                                                    treeValue23 = 0;
                                                end;
                                                else do;
                                                    if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                        treeValue23 = 0;
                                                    end;
                                                    else do;
                                                        treeValue23 = 0;
                                                    end;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue23 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                        if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                            treeValue23 = 0;
                                        end;
                                        else do;
                                            treeValue23 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue23 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue23 = 0;
                            end;
                        end;
                        else do;
                            treeValue23 = 0;
                        end;
                    end;
                end;
                else do;
                    if (missing(evol_MOU_SALIDA_MOVIL_AVG) or evol_MOU_SALIDA_MOVIL_AVG < 0) then do;
                        if (not missing(racm_co_plantari_lev_x_621_) and racm_co_plantari_lev_x_621_ < 0) then do;
                            treeValue23 = 0;
                        end;
                        else do;
                            if (not missing(evol_VOLUMEN_DATOS_MBPS_N) and evol_VOLUMEN_DATOS_MBPS_N < 0) then do;
                                treeValue23 = 0;
                            end;
                            else do;
                                treeValue23 = 0;
                            end;
                        end;
                    end;
                    else do;
                        treeValue23 = 0;
                    end;
                end;
            end;
            else do;
                if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                    treeValue23 = 0;
                end;
                else do;
                    treeValue23 = 0;
                end;
            end;
        end;
        else do;
            treeValue23 = 0;
        end;
    end;
    else do;
        treeValue23 = 0;
    end;
end;
else do;
    if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
        treeValue23 = 0;
    end;
    else do;
        if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
            treeValue23 = 0;
        end;
        else do;
            if (not missing(racf_IN_SERVICIO_TV_catP) and racf_IN_SERVICIO_TV_catP < 0) then do;
                treeValue23 = 0;
            end;
            else do;
                if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
                    if (missing(evol_CA_ATF_COR_isBAD) or evol_CA_ATF_COR_isBAD < 0) then do;
                        if (not missing(racm_in_gama_terminal_actual_2_c) and racm_in_gama_terminal_actual_2_c < 0) then do;
                            treeValue23 = 0;
                        end;
                        else do;
                            if (missing(racf_ds_soporte_ba_lev_x_F_) or racf_ds_soporte_ba_lev_x_F_ < 0) then do;
                                if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                                    if (not missing(racf_IN_SERVICIO_TV_catP) and racf_IN_SERVICIO_TV_catP < 0) then do;
                                        treeValue23 = 0;
                                    end;
                                    else do;
                                        treeValue23 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue23 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(evol_MOU_SALIDA_MOVIL_SLOP_isBAD) and evol_MOU_SALIDA_MOVIL_SLOP_isBAD < 0) then do;
                                    treeValue23 = 0;
                                end;
                                else do;
                                    treeValue23 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue23 = 0;
                    end;
                end;
                else do;
                    treeValue23 = 0;
                end;
            end;
        end;
    end;
end;

/* Parsing tree 24*/
if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
    treeValue24 = 0;
end;
else do;
    if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
        if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
            if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
                treeValue24 = 0;
            end;
            else do;
                if (missing(evol_CA_BAF_AVG) or evol_CA_BAF_AVG < 0) then do;
                    if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
                        if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
                            if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                                if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                    treeValue24 = 0;
                                end;
                                else do;
                                    treeValue24 = 0;
                                end;
                            end;
                            else do;
                                if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
                                    if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                                        treeValue24 = 0;
                                    end;
                                    else do;
                                        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                            if (not missing(racm_in_gama_terminal_actual_lev) and racm_in_gama_terminal_actual_lev < 0) then do;
                                                treeValue24 = 0;
                                            end;
                                            else do;
                                                if (not missing(racf_co_estado_email_publicidad_) and racf_co_estado_email_publicidad_ < 0) then do;
                                                    treeValue24 = 0;
                                                end;
                                                else do;
                                                    treeValue24 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racm_in_gama_terminal_actual_2_l) and racm_in_gama_terminal_actual_2_l < 0) then do;
                                                if (not missing(evol_ARPU_TOTAL_AVG) and evol_ARPU_TOTAL_AVG < 0) then do;
                                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                        treeValue24 = 0;
                                                    end;
                                                    else do;
                                                        treeValue24 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                        if (missing(evol_ARPU_FIJO_AVG) or evol_ARPU_FIJO_AVG < 0) then do;
                                                            treeValue24 = 0;
                                                        end;
                                                        else do;
                                                            treeValue24 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue24 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                    if (missing(racf_in_Despliegue_FTTH_nif_catB) or racf_in_Despliegue_FTTH_nif_catB < 0) then do;
                                                        if (missing(racm_co_plantari_catP) or racm_co_plantari_catP < 0) then do;
                                                            treeValue24 = 0;
                                                        end;
                                                        else do;
                                                            treeValue24 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue24 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(racf_segmento_catP) and racf_segmento_catP < 0) then do;
                                                        if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                            treeValue24 = 0;
                                                        end;
                                                        else do;
                                                            treeValue24 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                            treeValue24 = 0;
                                                        end;
                                                        else do;
                                                            treeValue24 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_ARPU_FIJO_SLOP) and evol_ARPU_FIJO_SLOP < 0) then do;
                                        treeValue24 = 0;
                                    end;
                                    else do;
                                        if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                            if (not missing(racm_in_gama_terminal_2_catP) and racm_in_gama_terminal_2_catP < 0) then do;
                                                treeValue24 = 0;
                                            end;
                                            else do;
                                                treeValue24 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue24 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue24 = 0;
                        end;
                    end;
                    else do;
                        treeValue24 = 0;
                    end;
                end;
                else do;
                    if (missing(racm_co_planfact_catP) or racm_co_planfact_catP < 0) then do;
                        treeValue24 = 0;
                    end;
                    else do;
                        treeValue24 = 0;
                    end;
                end;
            end;
        end;
        else do;
            if (missing(racf_in_tipo_doto) or racf_in_tipo_doto < 0) then do;
                treeValue24 = 0;
            end;
            else do;
                treeValue24 = 0;
            end;
        end;
    end;
    else do;
        treeValue24 = 0;
    end;
end;

/* Parsing tree 25*/
if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
    treeValue25 = 0;
end;
else do;
    if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
        if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
            treeValue25 = 0;
        end;
        else do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                if (missing(racm_in_linea_activa) or racm_in_linea_activa < 0) then do;
                    if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                        if (not missing(racm_ds_marca_opt_catP) and racm_ds_marca_opt_catP < 0) then do;
                            if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                                treeValue25 = 0;
                            end;
                            else do;
                                treeValue25 = 0;
                            end;
                        end;
                        else do;
                            if (not missing(racm_nu_antiguedad_terminal_2_is) and racm_nu_antiguedad_terminal_2_is < 0) then do;
                                treeValue25 = 0;
                            end;
                            else do;
                                treeValue25 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (missing(evol_VOLUMEN_DATOS_MBPS_R2) or evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                            if (missing(evol_VOLUMEN_DATOS_MBPS_R2) or evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                                if (missing(evol_MOU_SALIDA_MOVIL_DEV) or evol_MOU_SALIDA_MOVIL_DEV < 0) then do;
                                    if (not missing(evol_MOU_SALIDA_MOVIL_COR) and evol_MOU_SALIDA_MOVIL_COR < 0) then do;
                                        treeValue25 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                            if (not missing(racf_in_sexo_lev_x_M_) and racf_in_sexo_lev_x_M_ < 0) then do;
                                                if (not missing(racm_in_gama_terminal_actual_2_c) and racm_in_gama_terminal_actual_2_c < 0) then do;
                                                    treeValue25 = 0;
                                                end;
                                                else do;
                                                    treeValue25 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (missing(racm_nu_antiguedad_terminal) or racm_nu_antiguedad_terminal < 0) then do;
                                                    if (missing(racf_ds_soporte_ba_catB) or racf_ds_soporte_ba_catB < 0) then do;
                                                        if (not missing(racm_ds_tramo_ultima_portada_cat) and racm_ds_tramo_ultima_portada_cat < 0) then do;
                                                            treeValue25 = 0;
                                                        end;
                                                        else do;
                                                            treeValue25 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue25 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue25 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (missing(racm_ds_marca_opt_catP) or racm_ds_marca_opt_catP < 0) then do;
                                                treeValue25 = 0;
                                            end;
                                            else do;
                                                treeValue25 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue25 = 0;
                                end;
                            end;
                            else do;
                                treeValue25 = 0;
                            end;
                        end;
                        else do;
                            treeValue25 = 0;
                        end;
                    end;
                end;
                else do;
                    if (not missing(racf_ds_agrup_servicio_tv_catP) and racf_ds_agrup_servicio_tv_catP < 0) then do;
                        treeValue25 = 0;
                    end;
                    else do;
                        if (not missing(racf_im_media_arpu_fijo_3mes_cli) and racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                            treeValue25 = 0;
                        end;
                        else do;
                            treeValue25 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                    if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                        treeValue25 = 0;
                    end;
                    else do;
                        if (missing(evol_CA_TV_N) or evol_CA_TV_N < 0) then do;
                            if (missing(racm_co_plantari_2_catB) or racm_co_plantari_2_catB < 0) then do;
                                if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                    if (not missing(racf_ds_doto_lev_x_FusiA3n_Fibra) and racf_ds_doto_lev_x_FusiA3n_Fibra < 0) then do;
                                        treeValue25 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
                                            if (missing(evol_ARPU_FIJO_AVG) or evol_ARPU_FIJO_AVG < 0) then do;
                                                if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
                                                    if (not missing(racf_co_estado_email_efactura_ca) and racf_co_estado_email_efactura_ca < 0) then do;
                                                        treeValue25 = 0;
                                                    end;
                                                    else do;
                                                        treeValue25 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue25 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue25 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue25 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue25 = 0;
                                end;
                            end;
                            else do;
                                if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                    if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                        if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
                                            treeValue25 = 0;
                                        end;
                                        else do;
                                            treeValue25 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue25 = 0;
                                    end;
                                end;
                                else do;
                                    if (not missing(racf_in_sexo_catP) and racf_in_sexo_catP < 0) then do;
                                        treeValue25 = 0;
                                    end;
                                    else do;
                                        treeValue25 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue25 = 0;
                        end;
                    end;
                end;
                else do;
                    treeValue25 = 0;
                end;
            end;
        end;
    end;
    else do;
        treeValue25 = 0;
    end;
end;

/* Parsing tree 26*/
if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
    treeValue26 = 0;
end;
else do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        if (missing(racm_ds_modelo_opt_catP) or racm_ds_modelo_opt_catP < 0) then do;
            treeValue26 = 0;
        end;
        else do;
            treeValue26 = 0;
        end;
    end;
    else do;
        if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
            if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                treeValue26 = 0;
            end;
            else do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                    if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                        if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                            if (not missing(racf_ds_doto_lev_x_FusiA3n_Fibra) and racf_ds_doto_lev_x_FusiA3n_Fibra < 0) then do;
                                if (not missing(racm_ds_marca_opt_catB) and racm_ds_marca_opt_catB < 0) then do;
                                    treeValue26 = 0;
                                end;
                                else do;
                                    treeValue26 = 0;
                                end;
                            end;
                            else do;
                                if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
                                    if (not missing(evol_PT_LLAMADAS_COR) and evol_PT_LLAMADAS_COR < 0) then do;
                                        treeValue26 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                            if (missing(racm_in_smartphone_cliente) or racm_in_smartphone_cliente < 0) then do;
                                                if (missing(evol_PT_LLAMADAS_COR) or evol_PT_LLAMADAS_COR < 0) then do;
                                                    if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                                                        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                                            treeValue26 = 0;
                                                        end;
                                                        else do;
                                                            treeValue26 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue26 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                                        treeValue26 = 0;
                                                    end;
                                                    else do;
                                                        treeValue26 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue26 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (missing(evol_ARPU_TOTAL_SLOP) or evol_ARPU_TOTAL_SLOP < 0) then do;
                                                if (not missing(racf_ds_agrup_servicio_tv_catP) and racf_ds_agrup_servicio_tv_catP < 0) then do;
                                                    treeValue26 = 0;
                                                end;
                                                else do;
                                                    treeValue26 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue26 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(racm_med_vol_dat_tot_6meses) and racm_med_vol_dat_tot_6meses < 0) then do;
                                        treeValue26 = 0;
                                    end;
                                    else do;
                                        treeValue26 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue26 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racm_med_vol_dat_tot_6meses) and racm_med_vol_dat_tot_6meses < 0) then do;
                            treeValue26 = 0;
                        end;
                        else do;
                            treeValue26 = 0;
                        end;
                    end;
                end;
                else do;
                    if (not missing(evol_AVERIAS_R2) and evol_AVERIAS_R2 < 0) then do;
                        treeValue26 = 0;
                    end;
                    else do;
                        if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                            treeValue26 = 0;
                        end;
                        else do;
                            if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                                if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                    if (not missing(racf_co_subsector_nyp_lev_x_) and racf_co_subsector_nyp_lev_x_ < 0) then do;
                                        treeValue26 = 0;
                                    end;
                                    else do;
                                        treeValue26 = 0;
                                    end;
                                end;
                                else do;
                                    if (not missing(racm_med_vol_dat_tot_6meses) and racm_med_vol_dat_tot_6meses < 0) then do;
                                        treeValue26 = 0;
                                    end;
                                    else do;
                                        treeValue26 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue26 = 0;
                            end;
                        end;
                    end;
                end;
            end;
        end;
        else do;
            treeValue26 = 0;
        end;
    end;
end;

/* Parsing tree 27*/
if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
    treeValue27 = 0;
end;
else do;
    if (not missing(evol_MOU_TV_PROPIOS_COR) and evol_MOU_TV_PROPIOS_COR < 0) then do;
        if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
            if (missing(racm_med_mou_6meses_2) or racm_med_mou_6meses_2 < 0) then do;
                if (missing(racm_med_arpu_3meses) or racm_med_arpu_3meses < 0) then do;
                    treeValue27 = 0;
                end;
                else do;
                    treeValue27 = 0;
                end;
            end;
            else do;
                treeValue27 = 0;
            end;
        end;
        else do;
            treeValue27 = 0;
        end;
    end;
    else do;
        if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
            if (missing(evol_RECLAMACIONES_SLOP) or evol_RECLAMACIONES_SLOP < 0) then do;
                if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                    treeValue27 = 0;
                end;
                else do;
                    if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                        if (missing(evol_RECLAMACIONES_R2_isBAD) or evol_RECLAMACIONES_R2_isBAD < 0) then do;
                            if (not missing(evol_ARPU_TOTAL_SLOP) and evol_ARPU_TOTAL_SLOP < 0) then do;
                                treeValue27 = 0;
                            end;
                            else do;
                                treeValue27 = 0;
                            end;
                        end;
                        else do;
                            treeValue27 = 0;
                        end;
                    end;
                    else do;
                        if (missing(evol_CA_ATF_AVG) or evol_CA_ATF_AVG < 0) then do;
                            if (not missing(racm_co_planfact_3_catB) and racm_co_planfact_3_catB < 0) then do;
                                if (missing(racm_in_gama_terminal_actual_2_c) or racm_in_gama_terminal_actual_2_c < 0) then do;
                                    treeValue27 = 0;
                                end;
                                else do;
                                    treeValue27 = 0;
                                end;
                            end;
                            else do;
                                if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
                                    if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
                                        if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                            if (missing(racm_ds_tramo_ultima_portada_cat) or racm_ds_tramo_ultima_portada_cat < 0) then do;
                                                if (missing(racm_med_arpu_3meses) or racm_med_arpu_3meses < 0) then do;
                                                    if (missing(evol_ARPU_TOTAL_SLOP) or evol_ARPU_TOTAL_SLOP < 0) then do;
                                                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR_) and evol_CA_ATENDIDAS_ENTRANTES_COR_ < 0) then do;
                                                            treeValue27 = 0;
                                                        end;
                                                        else do;
                                                            treeValue27 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (not missing(racf_ds_tipo_fusion_catP) and racf_ds_tipo_fusion_catP < 0) then do;
                                                            treeValue27 = 0;
                                                        end;
                                                        else do;
                                                            treeValue27 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue27 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue27 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (missing(evol_CA_ATF_N) or evol_CA_ATF_N < 0) then do;
                                                if (not missing(racf_ds_tipo_fusion_catP) and racf_ds_tipo_fusion_catP < 0) then do;
                                                    treeValue27 = 0;
                                                end;
                                                else do;
                                                    treeValue27 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue27 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racf_ds_doto_catP) and racf_ds_doto_catP < 0) then do;
                                            treeValue27 = 0;
                                        end;
                                        else do;
                                            treeValue27 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue27 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue27 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue27 = 0;
            end;
        end;
        else do;
            if (not missing(racm_co_plantari_2_catP) and racm_co_plantari_2_catP < 0) then do;
                treeValue27 = 0;
            end;
            else do;
                treeValue27 = 0;
            end;
        end;
    end;
end;

/* Parsing tree 28*/
if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        treeValue28 = 0;
    end;
    else do;
        if (not missing(evol_PT_LLAMADAS_SLOP) and evol_PT_LLAMADAS_SLOP < 0) then do;
            treeValue28 = 0;
        end;
        else do;
            treeValue28 = 0;
        end;
    end;
end;
else do;
    if (missing(racm_co_plantari_catB) or racm_co_plantari_catB < 0) then do;
        if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
            treeValue28 = 0;
        end;
        else do;
            if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                if (missing(racf_ca_numeraciones) or racf_ca_numeraciones < 0) then do;
                    if (not missing(evol_MOU_TV_OTROS_COR) and evol_MOU_TV_OTROS_COR < 0) then do;
                        if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                            treeValue28 = 0;
                        end;
                        else do;
                            treeValue28 = 0;
                        end;
                    end;
                    else do;
                        if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
                            if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                                treeValue28 = 0;
                            end;
                            else do;
                                if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
                                    if (missing(racm_in_gama_terminal_2_catB) or racm_in_gama_terminal_2_catB < 0) then do;
                                        if (missing(racm_med_vol_dat_tot_6meses_2) or racm_med_vol_dat_tot_6meses_2 < 0) then do;
                                            if (missing(evol_PT_LLAMADAS_R2) or evol_PT_LLAMADAS_R2 < 0) then do;
                                                if (missing(evol_MOU_SALIDA_MOVIL_R2) or evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                                                    if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
                                                        if (not missing(evol_ARPU_FIJO_AVG) and evol_ARPU_FIJO_AVG < 0) then do;
                                                            treeValue28 = 0;
                                                        end;
                                                        else do;
                                                            treeValue28 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                                            treeValue28 = 0;
                                                        end;
                                                        else do;
                                                            treeValue28 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue28 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue28 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue28 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_PT_LLAMADAS_R2) or evol_PT_LLAMADAS_R2 < 0) then do;
                                            if (not missing(evol_VOLUMEN_DATOS_MBPS_COR) and evol_VOLUMEN_DATOS_MBPS_COR < 0) then do;
                                                treeValue28 = 0;
                                            end;
                                            else do;
                                                if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                                    treeValue28 = 0;
                                                end;
                                                else do;
                                                    if (not missing(racf_ds_agrup_servicio_tv_lev_NA) and racf_ds_agrup_servicio_tv_lev_NA < 0) then do;
                                                        if (missing(evol_MOU_TV_TOTAL_N_isBAD) or evol_MOU_TV_TOTAL_N_isBAD < 0) then do;
                                                            treeValue28 = 0;
                                                        end;
                                                        else do;
                                                            treeValue28 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                                                            treeValue28 = 0;
                                                        end;
                                                        else do;
                                                            treeValue28 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue28 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(racf_co_estado_email_publicidad_) and racf_co_estado_email_publicidad_ < 0) then do;
                                        treeValue28 = 0;
                                    end;
                                    else do;
                                        if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                                            treeValue28 = 0;
                                        end;
                                        else do;
                                            treeValue28 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                treeValue28 = 0;
                            end;
                            else do;
                                if (missing(racm_med_mou_6meses_2) or racm_med_mou_6meses_2 < 0) then do;
                                    treeValue28 = 0;
                                end;
                                else do;
                                    treeValue28 = 0;
                                end;
                            end;
                        end;
                    end;
                end;
                else do;
                    if (missing(evol_CA_ATF_AVG) or evol_CA_ATF_AVG < 0) then do;
                        treeValue28 = 0;
                    end;
                    else do;
                        treeValue28 = 0;
                    end;
                end;
            end;
            else do;
                treeValue28 = 0;
            end;
        end;
    end;
    else do;
        treeValue28 = 0;
    end;
end;

/* Parsing tree 29*/
if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
    treeValue29 = 0;
end;
else do;
    if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
            if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                if (not missing(racm_nu_antiguedad_terminal) and racm_nu_antiguedad_terminal < 0) then do;
                    treeValue29 = 0;
                end;
                else do;
                    treeValue29 = 0;
                end;
            end;
            else do;
                treeValue29 = 0;
            end;
        end;
        else do;
            if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
                    if (missing(racf_ca_numeraciones) or racf_ca_numeraciones < 0) then do;
                        if (not missing(racm_med_mou_6meses) and racm_med_mou_6meses < 0) then do;
                            treeValue29 = 0;
                        end;
                        else do;
                            if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                                if (missing(racm_med_arpu_3meses_cliente_isB) or racm_med_arpu_3meses_cliente_isB < 0) then do;
                                    if (missing(racm_med_mou_6meses_2_isBAD) or racm_med_mou_6meses_2_isBAD < 0) then do;
                                        if (not missing(racf_in_tiene_YOMVI) and racf_in_tiene_YOMVI < 0) then do;
                                            treeValue29 = 0;
                                        end;
                                        else do;
                                            if (not missing(racm_in_gama_terminal_lev_x_GAMA) and racm_in_gama_terminal_lev_x_GAMA < 0) then do;
                                                treeValue29 = 0;
                                            end;
                                            else do;
                                                if (missing(evol_CA_TV_AVG) or evol_CA_TV_AVG < 0) then do;
                                                    if (not missing(evol_ARPU_FIJO_DEV) and evol_ARPU_FIJO_DEV < 0) then do;
                                                        treeValue29 = 0;
                                                    end;
                                                    else do;
                                                        treeValue29 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue29 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(racf_co_estado_email_efactura_le) or racf_co_estado_email_efactura_le < 0) then do;
                                            treeValue29 = 0;
                                        end;
                                        else do;
                                            treeValue29 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_CA_MOVIL_DEV) or evol_CA_MOVIL_DEV < 0) then do;
                                        if (not missing(racf_in_tipo_doto) and racf_in_tipo_doto < 0) then do;
                                            if (missing(racf_ds_soporte_ba_catB) or racf_ds_soporte_ba_catB < 0) then do;
                                                if (missing(evol_VOLUMEN_DATOS_MBPS_N_isBAD) or evol_VOLUMEN_DATOS_MBPS_N_isBAD < 0) then do;
                                                    treeValue29 = 0;
                                                end;
                                                else do;
                                                    treeValue29 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue29 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (missing(evol_PT_LLAMADAS_DEV) or evol_PT_LLAMADAS_DEV < 0) then do;
                                                treeValue29 = 0;
                                            end;
                                            else do;
                                                treeValue29 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue29 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                                    if (not missing(racm_in_alta_mi_movistar) and racm_in_alta_mi_movistar < 0) then do;
                                        treeValue29 = 0;
                                    end;
                                    else do;
                                        treeValue29 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue29 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue29 = 0;
                    end;
                end;
                else do;
                    if (not missing(evol_RECLAMACIONES_DEV) and evol_RECLAMACIONES_DEV < 0) then do;
                        treeValue29 = 0;
                    end;
                    else do;
                        treeValue29 = 0;
                    end;
                end;
            end;
            else do;
                treeValue29 = 0;
            end;
        end;
    end;
    else do;
        if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
            if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                    treeValue29 = 0;
                end;
                else do;
                    treeValue29 = 0;
                end;
            end;
            else do;
                if (not missing(racm_nu_antiguedad_terminal) and racm_nu_antiguedad_terminal < 0) then do;
                    treeValue29 = 0;
                end;
                else do;
                    if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                        if (not missing(evol_VOLUMEN_DATOS_MBPS_DEV) and evol_VOLUMEN_DATOS_MBPS_DEV < 0) then do;
                            treeValue29 = 0;
                        end;
                        else do;
                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                treeValue29 = 0;
                            end;
                            else do;
                                treeValue29 = 0;
                            end;
                        end;
                    end;
                    else do;
                        treeValue29 = 0;
                    end;
                end;
            end;
        end;
        else do;
            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                treeValue29 = 0;
            end;
            else do;
                if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
                    if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                        if (missing(racm_in_multisim_isBAD) or racm_in_multisim_isBAD < 0) then do;
                            treeValue29 = 0;
                        end;
                        else do;
                            treeValue29 = 0;
                        end;
                    end;
                    else do;
                        treeValue29 = 0;
                    end;
                end;
                else do;
                    treeValue29 = 0;
                end;
            end;
        end;
    end;
end;

/* Parsing tree 30*/
if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
    if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
        if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
            treeValue30 = 0;
        end;
        else do;
            if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                if (missing(evol_VOLUMEN_DATOS_MBPS_R2) or evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                    if (missing(evol_VOLUMEN_DATOS_MBPS_R2) or evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                        treeValue30 = 0;
                    end;
                    else do;
                        treeValue30 = 0;
                    end;
                end;
                else do;
                    if (missing(evol_PT_LLAMADAS_SLOP) or evol_PT_LLAMADAS_SLOP < 0) then do;
                        treeValue30 = 0;
                    end;
                    else do;
                        treeValue30 = 0;
                    end;
                end;
            end;
            else do;
                if (missing(evol_CA_BAF_AVG) or evol_CA_BAF_AVG < 0) then do;
                    if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                        if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                            treeValue30 = 0;
                        end;
                        else do;
                            treeValue30 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racm_pp_fx_ult_canje) and racm_pp_fx_ult_canje < 0) then do;
                            if (missing(racf_co_estado_email_publicidad_) or racf_co_estado_email_publicidad_ < 0) then do;
                                treeValue30 = 0;
                            end;
                            else do;
                                treeValue30 = 0;
                            end;
                        end;
                        else do;
                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                    if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                        if (not missing(racf_ca_partidazo) and racf_ca_partidazo < 0) then do;
                                            if (missing(racf_IN_SERVICIO_TV_catP) or racf_IN_SERVICIO_TV_catP < 0) then do;
                                                if (not missing(evol_MOU_TV_OTROS_R2) and evol_MOU_TV_OTROS_R2 < 0) then do;
                                                    treeValue30 = 0;
                                                end;
                                                else do;
                                                    treeValue30 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(racf_IN_SERVICIO_TV_catP) and racf_IN_SERVICIO_TV_catP < 0) then do;
                                                    treeValue30 = 0;
                                                end;
                                                else do;
                                                    treeValue30 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racm_co_plantari_2_lev_x_622_) and racm_co_plantari_2_lev_x_622_ < 0) then do;
                                                if (not missing(evol_MOU_TV_OTROS_R2) and evol_MOU_TV_OTROS_R2 < 0) then do;
                                                    treeValue30 = 0;
                                                end;
                                                else do;
                                                    treeValue30 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (missing(evol_MOU_TV_TOTAL_AVG) or evol_MOU_TV_TOTAL_AVG < 0) then do;
                                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                                        if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                                                            treeValue30 = 0;
                                                        end;
                                                        else do;
                                                            treeValue30 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue30 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue30 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racf_IN_SERVICIO_TV_catP) and racf_IN_SERVICIO_TV_catP < 0) then do;
                                            treeValue30 = 0;
                                        end;
                                        else do;
                                            treeValue30 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(racf_ds_agrup_servicio_tv_catP) or racf_ds_agrup_servicio_tv_catP < 0) then do;
                                        if (not missing(racf_fx_alta_imagenio) and racf_fx_alta_imagenio < 0) then do;
                                            treeValue30 = 0;
                                        end;
                                        else do;
                                            if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                    treeValue30 = 0;
                                                end;
                                                else do;
                                                    treeValue30 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue30 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                                            treeValue30 = 0;
                                        end;
                                        else do;
                                            treeValue30 = 0;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                                    if (not missing(racf_IN_SERVICIO_TV_catP) and racf_IN_SERVICIO_TV_catP < 0) then do;
                                        treeValue30 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                                            treeValue30 = 0;
                                        end;
                                        else do;
                                            treeValue30 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue30 = 0;
                                end;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue30 = 0;
                end;
            end;
        end;
    end;
    else do;
        if (missing(evol_CA_TV_AVG) or evol_CA_TV_AVG < 0) then do;
            treeValue30 = 0;
        end;
        else do;
            treeValue30 = 0;
        end;
    end;
end;
else do;
    treeValue30 = 0;
end;

/* Parsing tree 31*/
if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
    if (missing(evol_MOU_TV_PROPIOS_AVG) or evol_MOU_TV_PROPIOS_AVG < 0) then do;
        if (missing(racm_med_mou_6meses) or racm_med_mou_6meses < 0) then do;
            treeValue31 = 0;
        end;
        else do;
            treeValue31 = 0;
        end;
    end;
    else do;
        treeValue31 = 0;
    end;
end;
else do;
    if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
        treeValue31 = 0;
    end;
    else do;
        if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
            if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
                    if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
                        if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
                            treeValue31 = 0;
                        end;
                        else do;
                            if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                                treeValue31 = 0;
                            end;
                            else do;
                                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                    treeValue31 = 0;
                                end;
                                else do;
                                    if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                                        if (not missing(racm_ds_marca_opt_2_lev_x_XIAOMI) and racm_ds_marca_opt_2_lev_x_XIAOMI < 0) then do;
                                            treeValue31 = 0;
                                        end;
                                        else do;
                                            if (not missing(racm_co_planfact_3_catB) and racm_co_planfact_3_catB < 0) then do;
                                                if (not missing(racf_ca_liga) and racf_ca_liga < 0) then do;
                                                    treeValue31 = 0;
                                                end;
                                                else do;
                                                    treeValue31 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (missing(evol_MOU_SALIDA_MOVIL_AVG) or evol_MOU_SALIDA_MOVIL_AVG < 0) then do;
                                                    if (not missing(racm_in_gama_terminal_actual_3_c) and racm_in_gama_terminal_actual_3_c < 0) then do;
                                                        treeValue31 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                                                            treeValue31 = 0;
                                                        end;
                                                        else do;
                                                            treeValue31 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue31 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue31 = 0;
                                    end;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue31 = 0;
                    end;
                end;
                else do;
                    treeValue31 = 0;
                end;
            end;
            else do;
                treeValue31 = 0;
            end;
        end;
        else do;
            if (missing(racm_im_media_arpu_movil_3mes_cl) or racm_im_media_arpu_movil_3mes_cl < 0) then do;
                if (not missing(evol_VOLUMEN_DATOS_MBPS_R2) and evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                    treeValue31 = 0;
                end;
                else do;
                    if (missing(evol_MOU_TV_OTROS_R2) or evol_MOU_TV_OTROS_R2 < 0) then do;
                        if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                            treeValue31 = 0;
                        end;
                        else do;
                            if (not missing(evol_MOU_TV_TOTAL_N) and evol_MOU_TV_TOTAL_N < 0) then do;
                                treeValue31 = 0;
                            end;
                            else do;
                                if (missing(racf_in_fusionado) or racf_in_fusionado < 0) then do;
                                    treeValue31 = 0;
                                end;
                                else do;
                                    treeValue31 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue31 = 0;
                    end;
                end;
            end;
            else do;
                treeValue31 = 0;
            end;
        end;
    end;
end;

/* Parsing tree 32*/
if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
        treeValue32 = 0;
    end;
    else do;
        if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
            treeValue32 = 0;
        end;
        else do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                    if (not missing(racm_pp_fx_ult_canje) and racm_pp_fx_ult_canje < 0) then do;
                        treeValue32 = 0;
                    end;
                    else do;
                        if (not missing(evol_PT_LLAMADAS_COR) and evol_PT_LLAMADAS_COR < 0) then do;
                            treeValue32 = 0;
                        end;
                        else do;
                            if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
                                if (missing(racm_pp_fx_ult_canje) or racm_pp_fx_ult_canje < 0) then do;
                                    if (missing(evol_VOLUMEN_DATOS_MBPS_AVG) or evol_VOLUMEN_DATOS_MBPS_AVG < 0) then do;
                                        if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                                            if (not missing(racf_ds_tipo_fusion_lev_x_FUSION) and racf_ds_tipo_fusion_lev_x_FUSION < 0) then do;
                                                treeValue32 = 0;
                                            end;
                                            else do;
                                                if (missing(racm_med_arpu_3meses_cliente_isB) or racm_med_arpu_3meses_cliente_isB < 0) then do;
                                                    if (not missing(racm_co_plantari_lev_x_621_) and racm_co_plantari_lev_x_621_ < 0) then do;
                                                        if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                                                            treeValue32 = 0;
                                                        end;
                                                        else do;
                                                            treeValue32 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                                            treeValue32 = 0;
                                                        end;
                                                        else do;
                                                            treeValue32 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(racf_ca_familiar) and racf_ca_familiar < 0) then do;
                                                        treeValue32 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(evol_CA_MOVIL_R2) or evol_CA_MOVIL_R2 < 0) then do;
                                                            treeValue32 = 0;
                                                        end;
                                                        else do;
                                                            treeValue32 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue32 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue32 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue32 = 0;
                                end;
                            end;
                            else do;
                                treeValue32 = 0;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue32 = 0;
                end;
            end;
            else do;
                if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                    if (not missing(racf_ds_tipo_fusion_lev_x_FUSION) and racf_ds_tipo_fusion_lev_x_FUSION < 0) then do;
                        treeValue32 = 0;
                    end;
                    else do;
                        if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                            if (not missing(evol_PT_LLAMADAS_COR) and evol_PT_LLAMADAS_COR < 0) then do;
                                treeValue32 = 0;
                            end;
                            else do;
                                if (missing(evol_CA_MOVIL_R2) or evol_CA_MOVIL_R2 < 0) then do;
                                    if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
                                        if (not missing(racm_in_gama_terminal_2_catB) and racm_in_gama_terminal_2_catB < 0) then do;
                                            treeValue32 = 0;
                                        end;
                                        else do;
                                            treeValue32 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                            treeValue32 = 0;
                                        end;
                                        else do;
                                            treeValue32 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue32 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(evol_MOU_SALIDA_MOVIL_SLOP_isBAD) and evol_MOU_SALIDA_MOVIL_SLOP_isBAD < 0) then do;
                                treeValue32 = 0;
                            end;
                            else do;
                                treeValue32 = 0;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue32 = 0;
                end;
            end;
        end;
    end;
end;
else do;
    treeValue32 = 0;
end;

/* Parsing tree 33*/
if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        if (not missing(racm_ds_modelo_opt_catP) and racm_ds_modelo_opt_catP < 0) then do;
            if (not missing(evol_ARPU_FIJO_AVG) and evol_ARPU_FIJO_AVG < 0) then do;
                treeValue33 = 0;
            end;
            else do;
                treeValue33 = 0;
            end;
        end;
        else do;
            if (missing(evol_PT_LLAMADAS_COR) or evol_PT_LLAMADAS_COR < 0) then do;
                if (not missing(racm_ds_marca_opt_2_catB) and racm_ds_marca_opt_2_catB < 0) then do;
                    treeValue33 = 0;
                end;
                else do;
                    if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                        treeValue33 = 0;
                    end;
                    else do;
                        treeValue33 = 0;
                    end;
                end;
            end;
            else do;
                treeValue33 = 0;
            end;
        end;
    end;
    else do;
        if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                treeValue33 = 0;
            end;
            else do;
                if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
                    if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
                        if (not missing(evol_AVERIAS_DEV) and evol_AVERIAS_DEV < 0) then do;
                            treeValue33 = 0;
                        end;
                        else do;
                            treeValue33 = 0;
                        end;
                    end;
                    else do;
                        if (missing(evol_RECLAMACIONES_COR) or evol_RECLAMACIONES_COR < 0) then do;
                            if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
                                if (missing(racm_in_cliente_linea_portada) or racm_in_cliente_linea_portada < 0) then do;
                                    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                                        if (not missing(evol_PT_LLAMADAS_SLOP) and evol_PT_LLAMADAS_SLOP < 0) then do;
                                            treeValue33 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                                                if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                                                    treeValue33 = 0;
                                                end;
                                                else do;
                                                    treeValue33 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(evol_MOU_TV_OTROS_R2) and evol_MOU_TV_OTROS_R2 < 0) then do;
                                                    if (not missing(racm_med_vol_dat_tot_6meses) and racm_med_vol_dat_tot_6meses < 0) then do;
                                                        treeValue33 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(racm_in_gama_terminal_2_catB) or racm_in_gama_terminal_2_catB < 0) then do;
                                                            treeValue33 = 0;
                                                        end;
                                                        else do;
                                                            treeValue33 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                                        treeValue33 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(racf_co_sub_segmento_lev_x_RR5R_) and racf_co_sub_segmento_lev_x_RR5R_ < 0) then do;
                                                            treeValue33 = 0;
                                                        end;
                                                        else do;
                                                            treeValue33 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_MOU_TV_OTROS_R2) or evol_MOU_TV_OTROS_R2 < 0) then do;
                                            if (missing(evol_CA_ATF_R2) or evol_CA_ATF_R2 < 0) then do;
                                                if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                                    if (not missing(racm_in_sexo_lev_x_M) and racm_in_sexo_lev_x_M < 0) then do;
                                                        treeValue33 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                                                            treeValue33 = 0;
                                                        end;
                                                        else do;
                                                            treeValue33 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(racm_ds_marca_opt_catP) and racm_ds_marca_opt_catP < 0) then do;
                                                        treeValue33 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                                            treeValue33 = 0;
                                                        end;
                                                        else do;
                                                            treeValue33 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue33 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue33 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(racm_in_gama_terminal_lev_x_GAMA) or racm_in_gama_terminal_lev_x_GAMA < 0) then do;
                                        treeValue33 = 0;
                                    end;
                                    else do;
                                        treeValue33 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(racm_ds_marca_opt_catP) or racm_ds_marca_opt_catP < 0) then do;
                                    treeValue33 = 0;
                                end;
                                else do;
                                    treeValue33 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue33 = 0;
                        end;
                    end;
                end;
                else do;
                    treeValue33 = 0;
                end;
            end;
        end;
        else do;
            treeValue33 = 0;
        end;
    end;
end;
else do;
    treeValue33 = 0;
end;

/* Parsing tree 34*/
if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
    if (not missing(evol_MOU_TV_OTROS_COR) and evol_MOU_TV_OTROS_COR < 0) then do;
        treeValue34 = 0;
    end;
    else do;
        if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
            treeValue34 = 0;
        end;
        else do;
            treeValue34 = 0;
        end;
    end;
end;
else do;
    if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
        if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
            if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
                if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
                    if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
                        if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                            if (not missing(evol_PT_LLAMADAS_COR) and evol_PT_LLAMADAS_COR < 0) then do;
                                treeValue34 = 0;
                            end;
                            else do;
                                if (not missing(racf_fx_alta_imagenio) and racf_fx_alta_imagenio < 0) then do;
                                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                        treeValue34 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_MOU_TV_OTROS_R2) or evol_MOU_TV_OTROS_R2 < 0) then do;
                                            treeValue34 = 0;
                                        end;
                                        else do;
                                            treeValue34 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(racm_med_arpu_3meses) or racm_med_arpu_3meses < 0) then do;
                                        if (missing(evol_CA_BAF_R2) or evol_CA_BAF_R2 < 0) then do;
                                            if (missing(evol_VOLUMEN_DATOS_MBPS_COR) or evol_VOLUMEN_DATOS_MBPS_COR < 0) then do;
                                                if (missing(racf_in_tipo_doto) or racf_in_tipo_doto < 0) then do;
                                                    if (not missing(evol_MOU_TV_TOTAL_SLOP) and evol_MOU_TV_TOTAL_SLOP < 0) then do;
                                                        treeValue34 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(racf_co_sector_nyp_catP) and racf_co_sector_nyp_catP < 0) then do;
                                                            treeValue34 = 0;
                                                        end;
                                                        else do;
                                                            treeValue34 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(evol_PT_LLAMADAS_COR_isBAD) and evol_PT_LLAMADAS_COR_isBAD < 0) then do;
                                                        treeValue34 = 0;
                                                    end;
                                                    else do;
                                                        treeValue34 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue34 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue34 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racm_fx_ultimo_acceso_mi_movista) and racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                            treeValue34 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                                                treeValue34 = 0;
                                            end;
                                            else do;
                                                treeValue34 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                                if (missing(racm_co_planfact_catP) or racm_co_planfact_catP < 0) then do;
                                    treeValue34 = 0;
                                end;
                                else do;
                                    treeValue34 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(evol_CA_MOVIL_AVG) and evol_CA_MOVIL_AVG < 0) then do;
                                    treeValue34 = 0;
                                end;
                                else do;
                                    treeValue34 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue34 = 0;
                    end;
                end;
                else do;
                    if (missing(racm_in_alta_mi_movistar) or racm_in_alta_mi_movistar < 0) then do;
                        treeValue34 = 0;
                    end;
                    else do;
                        treeValue34 = 0;
                    end;
                end;
            end;
            else do;
                treeValue34 = 0;
            end;
        end;
        else do;
            if (not missing(evol_AVERIAS_R2) and evol_AVERIAS_R2 < 0) then do;
                treeValue34 = 0;
            end;
            else do;
                if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                    treeValue34 = 0;
                end;
                else do;
                    if (missing(evol_MOU_TV_PROPIOS_R2) or evol_MOU_TV_PROPIOS_R2 < 0) then do;
                        if (missing(racf_in_Despliegue_FTTH_nif_lev_) or racf_in_Despliegue_FTTH_nif_lev_ < 0) then do;
                            if (not missing(racf_im_media_arpu_fijo_3mes_cli) and racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                treeValue34 = 0;
                            end;
                            else do;
                                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                                    treeValue34 = 0;
                                end;
                                else do;
                                    treeValue34 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue34 = 0;
                        end;
                    end;
                    else do;
                        treeValue34 = 0;
                    end;
                end;
            end;
        end;
    end;
    else do;
        treeValue34 = 0;
    end;
end;

/* Parsing tree 35*/
if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
        treeValue35 = 0;
    end;
    else do;
        if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
            if (not missing(racm_pp_fx_ult_canje_isBAD) and racm_pp_fx_ult_canje_isBAD < 0) then do;
                treeValue35 = 0;
            end;
            else do;
                if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
                    treeValue35 = 0;
                end;
                else do;
                    treeValue35 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                if (missing(racf_im_media_arpu_3meses_cabece) or racf_im_media_arpu_3meses_cabece < 0) then do;
                    treeValue35 = 0;
                end;
                else do;
                    treeValue35 = 0;
                end;
            end;
            else do;
                if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
                    treeValue35 = 0;
                end;
                else do;
                    if (missing(evol_CA_BAF_AVG) or evol_CA_BAF_AVG < 0) then do;
                        if (not missing(racm_in_gama_terminal_2_lev_x_GA) and racm_in_gama_terminal_2_lev_x_GA < 0) then do;
                            treeValue35 = 0;
                        end;
                        else do;
                            if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                                if (not missing(evol_MOU_TV_PROPIOS_COR) and evol_MOU_TV_PROPIOS_COR < 0) then do;
                                    if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                                        treeValue35 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                                            treeValue35 = 0;
                                        end;
                                        else do;
                                            treeValue35 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_AVERIAS_COR) and evol_AVERIAS_COR < 0) then do;
                                        treeValue35 = 0;
                                    end;
                                    else do;
                                        if (not missing(evol_MOU_TV_OTROS_SLOP) and evol_MOU_TV_OTROS_SLOP < 0) then do;
                                            treeValue35 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                                                treeValue35 = 0;
                                            end;
                                            else do;
                                                if (missing(evol_MOU_SALIDA_MOVIL_R2) or evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                                                    if (not missing(racm_co_plantari_2_lev_x_598_) and racm_co_plantari_2_lev_x_598_ < 0) then do;
                                                        treeValue35 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
                                                            treeValue35 = 0;
                                                        end;
                                                        else do;
                                                            treeValue35 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue35 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(evol_ARPU_MOVIL_R2) or evol_ARPU_MOVIL_R2 < 0) then do;
                                    if (missing(evol_MOU_SALIDA_MOVIL_R2) or evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                                        if (missing(racf_IN_SERVICIO_TV_catP) or racf_IN_SERVICIO_TV_catP < 0) then do;
                                            if (missing(evol_PT_LLAMADAS_N_isBAD) or evol_PT_LLAMADAS_N_isBAD < 0) then do;
                                                treeValue35 = 0;
                                            end;
                                            else do;
                                                treeValue35 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue35 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue35 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue35 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue35 = 0;
                    end;
                end;
            end;
        end;
    end;
end;
else do;
    treeValue35 = 0;
end;

/* Parsing tree 36*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
    if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
            if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
                if (missing(evol_MOU_TV_PROPIOS_R2) or evol_MOU_TV_PROPIOS_R2 < 0) then do;
                    treeValue36 = 0;
                end;
                else do;
                    treeValue36 = 0;
                end;
            end;
            else do;
                treeValue36 = 0;
            end;
        end;
        else do;
            if (missing(evol_CA_BAF_AVG) or evol_CA_BAF_AVG < 0) then do;
                if (not missing(evol_PT_LLAMADAS_COR_isBAD) and evol_PT_LLAMADAS_COR_isBAD < 0) then do;
                    if (missing(racm_im_media_arpu_movil_3mes_cl) or racm_im_media_arpu_movil_3mes_cl < 0) then do;
                        if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                            if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                    if (missing(racm_med_arpu_3meses_cliente_isB) or racm_med_arpu_3meses_cliente_isB < 0) then do;
                                        if (missing(evol_MOU_TV_PROPIOS_DEV) or evol_MOU_TV_PROPIOS_DEV < 0) then do;
                                            if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                                if (not missing(evol_PT_LLAMADAS_R2) and evol_PT_LLAMADAS_R2 < 0) then do;
                                                    treeValue36 = 0;
                                                end;
                                                else do;
                                                    treeValue36 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (missing(racf_co_estado_email_efactura_le) or racf_co_estado_email_efactura_le < 0) then do;
                                                    treeValue36 = 0;
                                                end;
                                                else do;
                                                    treeValue36 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue36 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue36 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue36 = 0;
                                end;
                            end;
                            else do;
                                treeValue36 = 0;
                            end;
                        end;
                        else do;
                            treeValue36 = 0;
                        end;
                    end;
                    else do;
                        treeValue36 = 0;
                    end;
                end;
                else do;
                    if (not missing(evol_CA_MOVIL_AVG) and evol_CA_MOVIL_AVG < 0) then do;
                        treeValue36 = 0;
                    end;
                    else do;
                        if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                            if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                                if (not missing(evol_ARPU_TOTAL_SLOP) and evol_ARPU_TOTAL_SLOP < 0) then do;
                                    treeValue36 = 0;
                                end;
                                else do;
                                    if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                                        if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
                                            if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                                treeValue36 = 0;
                                            end;
                                            else do;
                                                treeValue36 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue36 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                            treeValue36 = 0;
                                        end;
                                        else do;
                                            treeValue36 = 0;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                    treeValue36 = 0;
                                end;
                                else do;
                                    treeValue36 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(evol_CA_MOVIL_AVG) and evol_CA_MOVIL_AVG < 0) then do;
                                treeValue36 = 0;
                            end;
                            else do;
                                treeValue36 = 0;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue36 = 0;
            end;
        end;
    end;
    else do;
        if (missing(evol_ARPU_FIJO_SLOP) or evol_ARPU_FIJO_SLOP < 0) then do;
            if (missing(racm_in_gama_terminal_actual_cat) or racm_in_gama_terminal_actual_cat < 0) then do;
                if (not missing(evol_MOU_TV_PROPIOS_R2) and evol_MOU_TV_PROPIOS_R2 < 0) then do;
                    treeValue36 = 0;
                end;
                else do;
                    if (missing(evol_PT_LLAMADAS_DEV) or evol_PT_LLAMADAS_DEV < 0) then do;
                        if (not missing(racm_med_arpu_3meses) and racm_med_arpu_3meses < 0) then do;
                            treeValue36 = 0;
                        end;
                        else do;
                            treeValue36 = 0;
                        end;
                    end;
                    else do;
                        treeValue36 = 0;
                    end;
                end;
            end;
            else do;
                treeValue36 = 0;
            end;
        end;
        else do;
            if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                treeValue36 = 0;
            end;
            else do;
                treeValue36 = 0;
            end;
        end;
    end;
end;
else do;
    if (missing(racm_im_media_arpu_movil_3mes_cl) or racm_im_media_arpu_movil_3mes_cl < 0) then do;
        if (missing(evol_MOU_SALIDA_MOVIL_R2) or evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
            if (not missing(racf_co_estado_email_publicidad_) and racf_co_estado_email_publicidad_ < 0) then do;
                if (missing(evol_MOU_SALIDA_MOVIL_R2) or evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                    treeValue36 = 0;
                end;
                else do;
                    treeValue36 = 0;
                end;
            end;
            else do;
                if (not missing(racm_in_gama_terminal_2_catP) and racm_in_gama_terminal_2_catP < 0) then do;
                    treeValue36 = 0;
                end;
                else do;
                    if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                        treeValue36 = 0;
                    end;
                    else do;
                        treeValue36 = 0;
                    end;
                end;
            end;
        end;
        else do;
            treeValue36 = 0;
        end;
    end;
    else do;
        treeValue36 = 0;
    end;
end;

/* Parsing tree 37*/
if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
    treeValue37 = 0;
end;
else do;
    if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
        if (missing(racm_co_plantari_3_catB) or racm_co_plantari_3_catB < 0) then do;
            if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                treeValue37 = 0;
            end;
            else do;
                treeValue37 = 0;
            end;
        end;
        else do;
            treeValue37 = 0;
        end;
    end;
    else do;
        if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                treeValue37 = 0;
            end;
            else do;
                if (missing(racm_co_plantari_catB) or racm_co_plantari_catB < 0) then do;
                    if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
                        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                            if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                treeValue37 = 0;
                            end;
                            else do;
                                if (missing(evol_PT_LLAMADAS_COR) or evol_PT_LLAMADAS_COR < 0) then do;
                                    if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
                                        if (not missing(racm_co_planfact_catP) and racm_co_planfact_catP < 0) then do;
                                            treeValue37 = 0;
                                        end;
                                        else do;
                                            if (missing(racf_IN_SERVICIO_TV_catP) or racf_IN_SERVICIO_TV_catP < 0) then do;
                                                if (missing(racm_ds_marca_opt_catP) or racm_ds_marca_opt_catP < 0) then do;
                                                    treeValue37 = 0;
                                                end;
                                                else do;
                                                    treeValue37 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue37 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue37 = 0;
                                    end;
                                end;
                                else do;
                                    if (not missing(racf_im_media_arpu_fijo_3mes_cli) and racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                        treeValue37 = 0;
                                    end;
                                    else do;
                                        treeValue37 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racm_ds_marca_opt_catP) and racm_ds_marca_opt_catP < 0) then do;
                                if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                                    treeValue37 = 0;
                                end;
                                else do;
                                    treeValue37 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                                    treeValue37 = 0;
                                end;
                                else do;
                                    if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
                                        if (not missing(evol_MOU_TV_PROPIOS_R2) and evol_MOU_TV_PROPIOS_R2 < 0) then do;
                                            if (not missing(racf_co_sub_segmento_lev_x_RR5R_) and racf_co_sub_segmento_lev_x_RR5R_ < 0) then do;
                                                treeValue37 = 0;
                                            end;
                                            else do;
                                                if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                                    treeValue37 = 0;
                                                end;
                                                else do;
                                                    treeValue37 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (missing(evol_MOU_TV_TOTAL_AVG) or evol_MOU_TV_TOTAL_AVG < 0) then do;
                                                if (not missing(racm_med_arpu_3meses_2) and racm_med_arpu_3meses_2 < 0) then do;
                                                    treeValue37 = 0;
                                                end;
                                                else do;
                                                    if (missing(racf_im_media_arpu_3meses_cabece) or racf_im_media_arpu_3meses_cabece < 0) then do;
                                                        if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                                            treeValue37 = 0;
                                                        end;
                                                        else do;
                                                            treeValue37 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (missing(evol_ARPU_TOTAL_N) or evol_ARPU_TOTAL_N < 0) then do;
                                                            treeValue37 = 0;
                                                        end;
                                                        else do;
                                                            treeValue37 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (missing(racf_in_cob_imag_nif) or racf_in_cob_imag_nif < 0) then do;
                                                    if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                                                        treeValue37 = 0;
                                                    end;
                                                    else do;
                                                        treeValue37 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue37 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(racf_im_media_arpu_fijo_3mes_cli) or racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                            treeValue37 = 0;
                                        end;
                                        else do;
                                            treeValue37 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue37 = 0;
                    end;
                end;
                else do;
                    treeValue37 = 0;
                end;
            end;
        end;
        else do;
            treeValue37 = 0;
        end;
    end;
end;

/* Parsing tree 38*/
if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
    treeValue38 = 0;
end;
else do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        treeValue38 = 0;
    end;
    else do;
        if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                    if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                        treeValue38 = 0;
                    end;
                    else do;
                        treeValue38 = 0;
                    end;
                end;
                else do;
                    treeValue38 = 0;
                end;
            end;
            else do;
                if (missing(racm_pp_fx_ult_canje) or racm_pp_fx_ult_canje < 0) then do;
                    if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
                        if (missing(evol_VOLUMEN_DATOS_MBPS_DEV) or evol_VOLUMEN_DATOS_MBPS_DEV < 0) then do;
                            if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
                                if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                                    treeValue38 = 0;
                                end;
                                else do;
                                    if (missing(evol_MOU_TV_OTROS_AVG) or evol_MOU_TV_OTROS_AVG < 0) then do;
                                        if (missing(evol_VOLUMEN_DATOS_MBPS_COR) or evol_VOLUMEN_DATOS_MBPS_COR < 0) then do;
                                            if (missing(evol_CA_TV_R2) or evol_CA_TV_R2 < 0) then do;
                                                if (missing(evol_ARPU_FIJO_N) or evol_ARPU_FIJO_N < 0) then do;
                                                    if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
                                                        treeValue38 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(racm_co_planfact_lev_x_621_) and racm_co_planfact_lev_x_621_ < 0) then do;
                                                            treeValue38 = 0;
                                                        end;
                                                        else do;
                                                            treeValue38 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue38 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue38 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racf_nu_velocidad_adsl) and racf_nu_velocidad_adsl < 0) then do;
                                                treeValue38 = 0;
                                            end;
                                            else do;
                                                treeValue38 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                                            if (not missing(racm_ds_marca_opt_2_lev_x_) and racm_ds_marca_opt_2_lev_x_ < 0) then do;
                                                treeValue38 = 0;
                                            end;
                                            else do;
                                                if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                                                    if (not missing(racf_co_sub_segmento_catB) and racf_co_sub_segmento_catB < 0) then do;
                                                        treeValue38 = 0;
                                                    end;
                                                    else do;
                                                        treeValue38 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue38 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue38 = 0;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(evol_VOLUMEN_DATOS_MBPS_COR) or evol_VOLUMEN_DATOS_MBPS_COR < 0) then do;
                                    if (not missing(racm_co_planfact_catP) and racm_co_planfact_catP < 0) then do;
                                        treeValue38 = 0;
                                    end;
                                    else do;
                                        if (not missing(racf_co_estado_email_efactura_ca) and racf_co_estado_email_efactura_ca < 0) then do;
                                            treeValue38 = 0;
                                        end;
                                        else do;
                                            treeValue38 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue38 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue38 = 0;
                        end;
                    end;
                    else do;
                        treeValue38 = 0;
                    end;
                end;
                else do;
                    treeValue38 = 0;
                end;
            end;
        end;
        else do;
            treeValue38 = 0;
        end;
    end;
end;

/* Parsing tree 39*/
if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
    if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
        treeValue39 = 0;
    end;
    else do;
        treeValue39 = 0;
    end;
end;
else do;
    if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
        if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
            if (missing(evol_CA_ATF_R2) or evol_CA_ATF_R2 < 0) then do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                    if (not missing(evol_CA_MOVIL_COR) and evol_CA_MOVIL_COR < 0) then do;
                        if (missing(racf_IN_SERVICIO_TV_catP) or racf_IN_SERVICIO_TV_catP < 0) then do;
                            treeValue39 = 0;
                        end;
                        else do;
                            treeValue39 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(evol_PT_LLAMADAS_SLOP) and evol_PT_LLAMADAS_SLOP < 0) then do;
                            if (not missing(racf_ds_doto_catP) and racf_ds_doto_catP < 0) then do;
                                treeValue39 = 0;
                            end;
                            else do;
                                if (not missing(racm_co_planfact_catP) and racm_co_planfact_catP < 0) then do;
                                    treeValue39 = 0;
                                end;
                                else do;
                                    treeValue39 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                    if (not missing(evol_PT_LLAMADAS_R2) and evol_PT_LLAMADAS_R2 < 0) then do;
                                        if (not missing(racm_in_gama_terminal_2_catB) and racm_in_gama_terminal_2_catB < 0) then do;
                                            treeValue39 = 0;
                                        end;
                                        else do;
                                            treeValue39 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                            if (missing(evol_MOU_TV_PROPIOS_AVG) or evol_MOU_TV_PROPIOS_AVG < 0) then do;
                                                if (missing(racm_co_plantari_catP) or racm_co_plantari_catP < 0) then do;
                                                    if (missing(evol_ARPU_FIJO_SLOP) or evol_ARPU_FIJO_SLOP < 0) then do;
                                                        if (not missing(racm_in_portfolio_2_lev_NA) and racm_in_portfolio_2_lev_NA < 0) then do;
                                                            treeValue39 = 0;
                                                        end;
                                                        else do;
                                                            treeValue39 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue39 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue39 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (missing(racm_ds_marca_opt_catB) or racm_ds_marca_opt_catB < 0) then do;
                                                    treeValue39 = 0;
                                                end;
                                                else do;
                                                    treeValue39 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                                if (not missing(racf_fx_alta_imagenio) and racf_fx_alta_imagenio < 0) then do;
                                                    treeValue39 = 0;
                                                end;
                                                else do;
                                                    treeValue39 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (missing(racf_co_sub_segmento_catB) or racf_co_sub_segmento_catB < 0) then do;
                                                    treeValue39 = 0;
                                                end;
                                                else do;
                                                    treeValue39 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                                        treeValue39 = 0;
                                    end;
                                    else do;
                                        if (not missing(evol_ARPU_TOTAL_DEV) and evol_ARPU_TOTAL_DEV < 0) then do;
                                            if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                                                treeValue39 = 0;
                                            end;
                                            else do;
                                                treeValue39 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (missing(evol_ARPU_FIJO_SLOP) or evol_ARPU_FIJO_SLOP < 0) then do;
                                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                                    treeValue39 = 0;
                                                end;
                                                else do;
                                                    treeValue39 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue39 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue39 = 0;
                            end;
                        end;
                    end;
                end;
                else do;
                    if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                        treeValue39 = 0;
                    end;
                    else do;
                        if (not missing(evol_VOLUMEN_DATOS_MBPS_R2) and evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                            treeValue39 = 0;
                        end;
                        else do;
                            if (missing(evol_MOU_TV_OTROS_AVG) or evol_MOU_TV_OTROS_AVG < 0) then do;
                                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                    treeValue39 = 0;
                                end;
                                else do;
                                    treeValue39 = 0;
                                end;
                            end;
                            else do;
                                treeValue39 = 0;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                if (missing(evol_CA_TV_SLOP) or evol_CA_TV_SLOP < 0) then do;
                    treeValue39 = 0;
                end;
                else do;
                    treeValue39 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_im_media_arpu_movil_3mes_cl) and racm_im_media_arpu_movil_3mes_cl < 0) then do;
                treeValue39 = 0;
            end;
            else do;
                if (not missing(evol_ARPU_TOTAL_DEV) and evol_ARPU_TOTAL_DEV < 0) then do;
                    treeValue39 = 0;
                end;
                else do;
                    treeValue39 = 0;
                end;
            end;
        end;
    end;
    else do;
        if (missing(evol_CA_TV_R2) or evol_CA_TV_R2 < 0) then do;
            treeValue39 = 0;
        end;
        else do;
            treeValue39 = 0;
        end;
    end;
end;

/* Parsing tree 40*/
if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        treeValue40 = 0;
    end;
    else do;
        if (not missing(evol_MOU_TV_OTROS_COR) and evol_MOU_TV_OTROS_COR < 0) then do;
            treeValue40 = 0;
        end;
        else do;
            if (not missing(racf_ds_tipo_fusion_catP) and racf_ds_tipo_fusion_catP < 0) then do;
                if (not missing(racf_in_tiene_YOMVI) and racf_in_tiene_YOMVI < 0) then do;
                    treeValue40 = 0;
                end;
                else do;
                    treeValue40 = 0;
                end;
            end;
            else do;
                if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                    treeValue40 = 0;
                end;
                else do;
                    if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                        treeValue40 = 0;
                    end;
                    else do;
                        if (missing(racm_med_vol_dat_tot_6meses_2) or racm_med_vol_dat_tot_6meses_2 < 0) then do;
                            treeValue40 = 0;
                        end;
                        else do;
                            treeValue40 = 0;
                        end;
                    end;
                end;
            end;
        end;
    end;
end;
else do;
    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
        treeValue40 = 0;
    end;
    else do;
        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
            if (not missing(racf_co_estado_email_publicidad_) and racf_co_estado_email_publicidad_ < 0) then do;
                treeValue40 = 0;
            end;
            else do;
                treeValue40 = 0;
            end;
        end;
        else do;
            if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                    if (not missing(evol_ARPU_MOVIL_AVG) and evol_ARPU_MOVIL_AVG < 0) then do;
                        treeValue40 = 0;
                    end;
                    else do;
                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                            if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                if (not missing(racm_ds_marca_opt_lev_x_APPLE) and racm_ds_marca_opt_lev_x_APPLE < 0) then do;
                                    treeValue40 = 0;
                                end;
                                else do;
                                    if (missing(evol_MOU_TV_PROPIOS_DEV) or evol_MOU_TV_PROPIOS_DEV < 0) then do;
                                        if (missing(evol_AVERIAS_AVG) or evol_AVERIAS_AVG < 0) then do;
                                            treeValue40 = 0;
                                        end;
                                        else do;
                                            treeValue40 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue40 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                if (not missing(racf_in_reserva_fibra) and racf_in_reserva_fibra < 0) then do;
                                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                                        treeValue40 = 0;
                                    end;
                                    else do;
                                        treeValue40 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                        if (not missing(racm_ds_marca_opt_catP) and racm_ds_marca_opt_catP < 0) then do;
                                            treeValue40 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_AVERIAS_N) and evol_AVERIAS_N < 0) then do;
                                                if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                        if (not missing(racf_ds_tipo_fusion_catP) and racf_ds_tipo_fusion_catP < 0) then do;
                                                            treeValue40 = 0;
                                                        end;
                                                        else do;
                                                            treeValue40 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue40 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue40 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                                    treeValue40 = 0;
                                                end;
                                                else do;
                                                    if (not missing(racm_in_gama_terminal_actual_lev) and racm_in_gama_terminal_actual_lev < 0) then do;
                                                        treeValue40 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(racf_co_sub_segmento_catB) and racf_co_sub_segmento_catB < 0) then do;
                                                            treeValue40 = 0;
                                                        end;
                                                        else do;
                                                            treeValue40 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue40 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                treeValue40 = 0;
                            end;
                            else do;
                                if (not missing(evol_MOU_TV_OTROS_DEV) and evol_MOU_TV_OTROS_DEV < 0) then do;
                                    treeValue40 = 0;
                                end;
                                else do;
                                    if (not missing(racf_in_tiene_Imagenio) and racf_in_tiene_Imagenio < 0) then do;
                                        treeValue40 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
                                            treeValue40 = 0;
                                        end;
                                        else do;
                                            treeValue40 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue40 = 0;
                end;
            end;
            else do;
                if (not missing(evol_MOU_TV_OTROS_R2) and evol_MOU_TV_OTROS_R2 < 0) then do;
                    treeValue40 = 0;
                end;
                else do;
                    treeValue40 = 0;
                end;
            end;
        end;
    end;
end;

/* Parsing tree 41*/
if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
        treeValue41 = 0;
    end;
    else do;
        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
            if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                treeValue41 = 0;
            end;
            else do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                    if (not missing(racf_ca_series) and racf_ca_series < 0) then do;
                        treeValue41 = 0;
                    end;
                    else do;
                        if (not missing(racm_in_sexo_lev_x_H) and racm_in_sexo_lev_x_H < 0) then do;
                            treeValue41 = 0;
                        end;
                        else do;
                            treeValue41 = 0;
                        end;
                    end;
                end;
                else do;
                    if (missing(evol_MOU_TV_OTROS_AVG) or evol_MOU_TV_OTROS_AVG < 0) then do;
                        if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                            treeValue41 = 0;
                        end;
                        else do;
                            if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                                treeValue41 = 0;
                            end;
                            else do;
                                treeValue41 = 0;
                            end;
                        end;
                    end;
                    else do;
                        treeValue41 = 0;
                    end;
                end;
            end;
        end;
        else do;
            if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                    treeValue41 = 0;
                end;
                else do;
                    if (not missing(racf_ds_doto_lev_x_FusiA3n_Fibra) and racf_ds_doto_lev_x_FusiA3n_Fibra < 0) then do;
                        if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                            treeValue41 = 0;
                        end;
                        else do;
                            treeValue41 = 0;
                        end;
                    end;
                    else do;
                        if (missing(evol_MOU_SALIDA_MOVIL_R2) or evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                            if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                                if (missing(evol_MOU_SALIDA_MOVIL_R2) or evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                                    if (not missing(evol_MOU_TV_OTROS_COR) and evol_MOU_TV_OTROS_COR < 0) then do;
                                        treeValue41 = 0;
                                    end;
                                    else do;
                                        if (not missing(evol_VOLUMEN_DATOS_MBPS_R2) and evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                                            treeValue41 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_MOU_SALIDA_MOVIL_R2) and evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                                                treeValue41 = 0;
                                            end;
                                            else do;
                                                if (not missing(evol_VOLUMEN_DATOS_MBPS_N) and evol_VOLUMEN_DATOS_MBPS_N < 0) then do;
                                                    treeValue41 = 0;
                                                end;
                                                else do;
                                                    if (not missing(evol_MOU_TV_PROPIOS_COR) and evol_MOU_TV_PROPIOS_COR < 0) then do;
                                                        treeValue41 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                                            treeValue41 = 0;
                                                        end;
                                                        else do;
                                                            treeValue41 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue41 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(evol_MOU_TV_OTROS_COR) and evol_MOU_TV_OTROS_COR < 0) then do;
                                    treeValue41 = 0;
                                end;
                                else do;
                                    if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                                        treeValue41 = 0;
                                    end;
                                    else do;
                                        treeValue41 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racm_in_alta_mi_movistar) and racm_in_alta_mi_movistar < 0) then do;
                                treeValue41 = 0;
                            end;
                            else do;
                                treeValue41 = 0;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                if (not missing(racm_in_gama_terminal_actual_2_l) and racm_in_gama_terminal_actual_2_l < 0) then do;
                    treeValue41 = 0;
                end;
                else do;
                    treeValue41 = 0;
                end;
            end;
        end;
    end;
end;
else do;
    treeValue41 = 0;
end;

/* Parsing tree 42*/
if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
    if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
            if (not missing(racm_co_plantari_2_catP) and racm_co_plantari_2_catP < 0) then do;
                treeValue42 = 0;
            end;
            else do;
                if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                    if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                        treeValue42 = 0;
                    end;
                    else do;
                        treeValue42 = 0;
                    end;
                end;
                else do;
                    treeValue42 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
                treeValue42 = 0;
            end;
            else do;
                if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                    if (missing(evol_MOU_SALIDA_MOVIL_R2) or evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                        if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                            treeValue42 = 0;
                        end;
                        else do;
                            if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                                if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                    if (not missing(evol_MOU_SALIDA_MOVIL_R2) and evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                                        treeValue42 = 0;
                                    end;
                                    else do;
                                        if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                                            if (not missing(racm_in_gama_terminal_actual_lev) and racm_in_gama_terminal_actual_lev < 0) then do;
                                                treeValue42 = 0;
                                            end;
                                            else do;
                                                treeValue42 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue42 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue42 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(evol_MOU_TV_PROPIOS_COR) and evol_MOU_TV_PROPIOS_COR < 0) then do;
                                    if (not missing(evol_MOU_SALIDA_MOVIL_R2) and evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                                        treeValue42 = 0;
                                    end;
                                    else do;
                                        if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                            treeValue42 = 0;
                                        end;
                                        else do;
                                            treeValue42 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_AVERIAS_R2) and evol_AVERIAS_R2 < 0) then do;
                                        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                                            treeValue42 = 0;
                                        end;
                                        else do;
                                            treeValue42 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(evol_VOLUMEN_DATOS_MBPS_R2) and evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                                            if (not missing(racm_in_gama_terminal_actual_lev) and racm_in_gama_terminal_actual_lev < 0) then do;
                                                treeValue42 = 0;
                                            end;
                                            else do;
                                                if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                                                    treeValue42 = 0;
                                                end;
                                                else do;
                                                    treeValue42 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                                                if (missing(evol_CA_MOVIL_SLOP) or evol_CA_MOVIL_SLOP < 0) then do;
                                                    if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                                        treeValue42 = 0;
                                                    end;
                                                    else do;
                                                        treeValue42 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (missing(evol_MOU_TV_PROPIOS_R2) or evol_MOU_TV_PROPIOS_R2 < 0) then do;
                                                        if (not missing(racm_in_gama_terminal_catB) and racm_in_gama_terminal_catB < 0) then do;
                                                            treeValue42 = 0;
                                                        end;
                                                        else do;
                                                            treeValue42 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue42 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue42 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue42 = 0;
                    end;
                end;
                else do;
                    if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                        if (missing(evol_MOU_TV_PROPIOS_AVG) or evol_MOU_TV_PROPIOS_AVG < 0) then do;
                            treeValue42 = 0;
                        end;
                        else do;
                            treeValue42 = 0;
                        end;
                    end;
                    else do;
                        treeValue42 = 0;
                    end;
                end;
            end;
        end;
    end;
    else do;
        treeValue42 = 0;
    end;
end;
else do;
    treeValue42 = 0;
end;

/* Parsing tree 43*/
if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
        if (not missing(evol_AVERIAS_DEV) and evol_AVERIAS_DEV < 0) then do;
            if (not missing(racm_med_mou_6meses) and racm_med_mou_6meses < 0) then do;
                treeValue43 = 0;
            end;
            else do;
                treeValue43 = 0;
            end;
        end;
        else do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                if (missing(racf_im_media_arpu_3meses_cabece) or racf_im_media_arpu_3meses_cabece < 0) then do;
                    treeValue43 = 0;
                end;
                else do;
                    treeValue43 = 0;
                end;
            end;
            else do;
                treeValue43 = 0;
            end;
        end;
    end;
    else do;
        if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
            if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
                treeValue43 = 0;
            end;
            else do;
                if (not missing(racm_in_portfolio_3_lev_x_OTROS) and racm_in_portfolio_3_lev_x_OTROS < 0) then do;
                    treeValue43 = 0;
                end;
                else do;
                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                        if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
                            if (not missing(racm_in_gama_terminal_lev_x_GAMA) and racm_in_gama_terminal_lev_x_GAMA < 0) then do;
                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                    if (missing(evol_AVERIAS_DEV) or evol_AVERIAS_DEV < 0) then do;
                                        treeValue43 = 0;
                                    end;
                                    else do;
                                        treeValue43 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue43 = 0;
                                end;
                            end;
                            else do;
                                if (missing(racm_in_cliente_linea_portada) or racm_in_cliente_linea_portada < 0) then do;
                                    if (missing(racm_med_arpu_3meses_cliente_isB) or racm_med_arpu_3meses_cliente_isB < 0) then do;
                                        if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                            if (missing(racm_co_plantari_catP) or racm_co_plantari_catP < 0) then do;
                                                if (missing(racm_in_portfolio_2_lev_x_FUSION) or racm_in_portfolio_2_lev_x_FUSION < 0) then do;
                                                    if (not missing(racf_im_media_arpu_fijo_3mes_cli) and racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                                        treeValue43 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(racf_ca_familiar) and racf_ca_familiar < 0) then do;
                                                            treeValue43 = 0;
                                                        end;
                                                        else do;
                                                            treeValue43 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue43 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue43 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racm_ds_marca_opt_catP) and racm_ds_marca_opt_catP < 0) then do;
                                                if (missing(racm_nu_antiguedad_terminal_2_is) or racm_nu_antiguedad_terminal_2_is < 0) then do;
                                                    treeValue43 = 0;
                                                end;
                                                else do;
                                                    treeValue43 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(racm_med_arpu_3meses) and racm_med_arpu_3meses < 0) then do;
                                                    treeValue43 = 0;
                                                end;
                                                else do;
                                                    treeValue43 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(racf_in_tipo_doto) or racf_in_tipo_doto < 0) then do;
                                            if (not missing(racf_segmento_catP) and racf_segmento_catP < 0) then do;
                                                treeValue43 = 0;
                                            end;
                                            else do;
                                                if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                                                    treeValue43 = 0;
                                                end;
                                                else do;
                                                    treeValue43 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                                                if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                                                    treeValue43 = 0;
                                                end;
                                                else do;
                                                    treeValue43 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue43 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue43 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racm_ds_modelo_opt_2_catP) and racm_ds_modelo_opt_2_catP < 0) then do;
                                treeValue43 = 0;
                            end;
                            else do;
                                if (not missing(racm_ds_tipo_contrato_catB) and racm_ds_tipo_contrato_catB < 0) then do;
                                    treeValue43 = 0;
                                end;
                                else do;
                                    treeValue43 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                            if (not missing(racm_med_arpu_3meses_2) and racm_med_arpu_3meses_2 < 0) then do;
                                treeValue43 = 0;
                            end;
                            else do;
                                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                    if (not missing(evol_AVERIAS_DEV) and evol_AVERIAS_DEV < 0) then do;
                                        treeValue43 = 0;
                                    end;
                                    else do;
                                        treeValue43 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_RECLAMACIONES_DEV_isBAD) or evol_RECLAMACIONES_DEV_isBAD < 0) then do;
                                        if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                            treeValue43 = 0;
                                        end;
                                        else do;
                                            treeValue43 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue43 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue43 = 0;
                        end;
                    end;
                end;
            end;
        end;
        else do;
            treeValue43 = 0;
        end;
    end;
end;
else do;
    treeValue43 = 0;
end;

/* Parsing tree 44*/
if (missing(racm_co_plantari_catB) or racm_co_plantari_catB < 0) then do;
    if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
            if (not missing(racm_med_mou_6meses) and racm_med_mou_6meses < 0) then do;
                treeValue44 = 0;
            end;
            else do;
                treeValue44 = 0;
            end;
        end;
        else do;
            if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
                if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
                    treeValue44 = 0;
                end;
                else do;
                    if (missing(racm_med_vol_dat_tot_6meses_2) or racm_med_vol_dat_tot_6meses_2 < 0) then do;
                        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                            treeValue44 = 0;
                        end;
                        else do;
                            if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
                                treeValue44 = 0;
                            end;
                            else do;
                                if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                                    treeValue44 = 0;
                                end;
                                else do;
                                    if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                                        if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
                                            if (missing(racf_ds_tipo_fusion_catP) or racf_ds_tipo_fusion_catP < 0) then do;
                                                treeValue44 = 0;
                                            end;
                                            else do;
                                                treeValue44 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (missing(racf_DS_TIPOLOGIA_CLIENTE_catP) or racf_DS_TIPOLOGIA_CLIENTE_catP < 0) then do;
                                                if (missing(evol_CA_MOVIL_DEV) or evol_CA_MOVIL_DEV < 0) then do;
                                                    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                                                        if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                                                            treeValue44 = 0;
                                                        end;
                                                        else do;
                                                            treeValue44 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (not missing(racm_ds_marca_opt_catP) and racm_ds_marca_opt_catP < 0) then do;
                                                            treeValue44 = 0;
                                                        end;
                                                        else do;
                                                            treeValue44 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    if (missing(racm_ds_marca_opt_catP) or racm_ds_marca_opt_catP < 0) then do;
                                                        if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                                            treeValue44 = 0;
                                                        end;
                                                        else do;
                                                            treeValue44 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue44 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue44 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racf_ds_tipo_fusion_catP) and racf_ds_tipo_fusion_catP < 0) then do;
                                            treeValue44 = 0;
                                        end;
                                        else do;
                                            treeValue44 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        if (missing(racm_pp_fx_ult_canje_isBAD) or racm_pp_fx_ult_canje_isBAD < 0) then do;
                            treeValue44 = 0;
                        end;
                        else do;
                            treeValue44 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                if (missing(racm_ds_marca_opt_catP) or racm_ds_marca_opt_catP < 0) then do;
                    treeValue44 = 0;
                end;
                else do;
                    treeValue44 = 0;
                end;
            end;
        end;
    end;
    else do;
        treeValue44 = 0;
    end;
end;
else do;
    treeValue44 = 0;
end;

/* Parsing tree 45*/
if (missing(racf_ca_numeraciones) or racf_ca_numeraciones < 0) then do;
    if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
        if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
            if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                treeValue45 = 0;
            end;
            else do;
                treeValue45 = 0;
            end;
        end;
        else do;
            if (missing(evol_CA_ATF_R2) or evol_CA_ATF_R2 < 0) then do;
                if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                    if (missing(evol_MOU_SALIDA_MOVIL_AVG) or evol_MOU_SALIDA_MOVIL_AVG < 0) then do;
                        if (missing(evol_CA_TV_AVG) or evol_CA_TV_AVG < 0) then do;
                            if (missing(racm_in_gama_terminal_catP) or racm_in_gama_terminal_catP < 0) then do;
                                treeValue45 = 0;
                            end;
                            else do;
                                treeValue45 = 0;
                            end;
                        end;
                        else do;
                            treeValue45 = 0;
                        end;
                    end;
                    else do;
                        treeValue45 = 0;
                    end;
                end;
                else do;
                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                        if (missing(racf_ds_doto_catB) or racf_ds_doto_catB < 0) then do;
                            if (missing(evol_CA_TV_R2) or evol_CA_TV_R2 < 0) then do;
                                if (missing(racm_co_plantari_catP) or racm_co_plantari_catP < 0) then do;
                                    if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                                        if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                            if (missing(racm_co_plantari_catB) or racm_co_plantari_catB < 0) then do;
                                                if (not missing(racf_im_media_arpu_fijo_3mes_cli) and racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                                    treeValue45 = 0;
                                                end;
                                                else do;
                                                    treeValue45 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue45 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue45 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                            if (not missing(evol_PT_LLAMADAS_R2) and evol_PT_LLAMADAS_R2 < 0) then do;
                                                treeValue45 = 0;
                                            end;
                                            else do;
                                                if (missing(racf_in_sexo_lev_x_H_) or racf_in_sexo_lev_x_H_ < 0) then do;
                                                    treeValue45 = 0;
                                                end;
                                                else do;
                                                    treeValue45 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(evol_ARPU_FIJO_DEV) and evol_ARPU_FIJO_DEV < 0) then do;
                                                treeValue45 = 0;
                                            end;
                                            else do;
                                                treeValue45 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                                        if (not missing(racm_nu_antiguedad_terminal) and racm_nu_antiguedad_terminal < 0) then do;
                                            treeValue45 = 0;
                                        end;
                                        else do;
                                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                treeValue45 = 0;
                                            end;
                                            else do;
                                                treeValue45 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue45 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue45 = 0;
                            end;
                        end;
                        else do;
                            treeValue45 = 0;
                        end;
                    end;
                    else do;
                        if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                            if (not missing(racf_ds_tipo_fusion_catP) and racf_ds_tipo_fusion_catP < 0) then do;
                                if (missing(racm_im_media_arpu_movil_3mes_cl) or racm_im_media_arpu_movil_3mes_cl < 0) then do;
                                    if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                                        if (not missing(racf_ds_tipo_fusion_catP) and racf_ds_tipo_fusion_catP < 0) then do;
                                            treeValue45 = 0;
                                        end;
                                        else do;
                                            treeValue45 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue45 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue45 = 0;
                                end;
                            end;
                            else do;
                                if (missing(racf_ds_tipo_fusion_catP) or racf_ds_tipo_fusion_catP < 0) then do;
                                    if (missing(racf_ds_agrup_servicio_tv_catP) or racf_ds_agrup_servicio_tv_catP < 0) then do;
                                        if (not missing(racf_in_sexo_lev_x_M_) and racf_in_sexo_lev_x_M_ < 0) then do;
                                            treeValue45 = 0;
                                        end;
                                        else do;
                                            if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                                                treeValue45 = 0;
                                            end;
                                            else do;
                                                treeValue45 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue45 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
                                        if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                                            treeValue45 = 0;
                                        end;
                                        else do;
                                            treeValue45 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue45 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue45 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue45 = 0;
            end;
        end;
    end;
    else do;
        if (missing(racm_ds_marca_opt_catP) or racm_ds_marca_opt_catP < 0) then do;
            treeValue45 = 0;
        end;
        else do;
            treeValue45 = 0;
        end;
    end;
end;
else do;
    if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
        treeValue45 = 0;
    end;
    else do;
        treeValue45 = 0;
    end;
end;

/* Parsing tree 46*/
if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
        if (missing(evol_RECLAMACIONES_AVG) or evol_RECLAMACIONES_AVG < 0) then do;
            if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                treeValue46 = 0;
            end;
            else do;
                treeValue46 = 0;
            end;
        end;
        else do;
            treeValue46 = 0;
        end;
    end;
    else do;
        if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
            treeValue46 = 0;
        end;
        else do;
            if (missing(evol_CA_BAF_AVG) or evol_CA_BAF_AVG < 0) then do;
                if (not missing(evol_AVERIAS_SLOP) and evol_AVERIAS_SLOP < 0) then do;
                    treeValue46 = 0;
                end;
                else do;
                    if (not missing(racm_in_gama_terminal_actual_3_c) and racm_in_gama_terminal_actual_3_c < 0) then do;
                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                            treeValue46 = 0;
                        end;
                        else do;
                            treeValue46 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                            treeValue46 = 0;
                        end;
                        else do;
                            if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                                treeValue46 = 0;
                            end;
                            else do;
                                if (missing(evol_CA_TV_N) or evol_CA_TV_N < 0) then do;
                                    if (not missing(racf_ds_doto_catP) and racf_ds_doto_catP < 0) then do;
                                        if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
                                            if (missing(evol_MOU_TV_OTROS_COR) or evol_MOU_TV_OTROS_COR < 0) then do;
                                                if (not missing(racm_in_gama_terminal_lev_x_GAMA) and racm_in_gama_terminal_lev_x_GAMA < 0) then do;
                                                    treeValue46 = 0;
                                                end;
                                                else do;
                                                    if (missing(racm_in_gama_terminal_catP) or racm_in_gama_terminal_catP < 0) then do;
                                                        if (not missing(evol_MOU_TV_PROPIOS_R2) and evol_MOU_TV_PROPIOS_R2 < 0) then do;
                                                            treeValue46 = 0;
                                                        end;
                                                        else do;
                                                            treeValue46 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue46 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue46 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue46 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(racm_med_mou_6meses_2) or racm_med_mou_6meses_2 < 0) then do;
                                            if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                                treeValue46 = 0;
                                            end;
                                            else do;
                                                if (not missing(racf_ds_tipo_fusion_catB) and racf_ds_tipo_fusion_catB < 0) then do;
                                                    if (missing(racm_in_portfolio_2_catB) or racm_in_portfolio_2_catB < 0) then do;
                                                        if (missing(racf_ca_liga) or racf_ca_liga < 0) then do;
                                                            treeValue46 = 0;
                                                        end;
                                                        else do;
                                                            treeValue46 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue46 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(evol_VOLUMEN_DATOS_MBPS_R2) and evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                                                        treeValue46 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(racm_ds_modelo_opt_lev_x_) or racm_ds_modelo_opt_lev_x_ < 0) then do;
                                                            treeValue46 = 0;
                                                        end;
                                                        else do;
                                                            treeValue46 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue46 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue46 = 0;
                                end;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                if (missing(racm_co_planfact_catB) or racm_co_planfact_catB < 0) then do;
                    treeValue46 = 0;
                end;
                else do;
                    treeValue46 = 0;
                end;
            end;
        end;
    end;
end;
else do;
    treeValue46 = 0;
end;

/* Parsing tree 47*/
if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
    if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
        if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                    if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                        if (missing(evol_CA_TV_R2) or evol_CA_TV_R2 < 0) then do;
                            if (missing(racm_in_gama_terminal_actual_cat) or racm_in_gama_terminal_actual_cat < 0) then do;
                                if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                                    if (missing(evol_AVERIAS_SLOP) or evol_AVERIAS_SLOP < 0) then do;
                                        treeValue47 = 0;
                                    end;
                                    else do;
                                        treeValue47 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue47 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(racf_im_media_arpu_fijo_3mes_cli) and racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                    treeValue47 = 0;
                                end;
                                else do;
                                    treeValue47 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue47 = 0;
                        end;
                    end;
                    else do;
                        treeValue47 = 0;
                    end;
                end;
                else do;
                    if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                        if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                            treeValue47 = 0;
                        end;
                        else do;
                            treeValue47 = 0;
                        end;
                    end;
                    else do;
                        if (missing(evol_CA_TV_R2) or evol_CA_TV_R2 < 0) then do;
                            if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                if (missing(evol_CO_TIPO_DOCUMENTO_lev_x_D_) or evol_CO_TIPO_DOCUMENTO_lev_x_D_ < 0) then do;
                                    if (not missing(racf_fx_alta_imagenio) and racf_fx_alta_imagenio < 0) then do;
                                        if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
                                            treeValue47 = 0;
                                        end;
                                        else do;
                                            treeValue47 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racf_ca_motor) and racf_ca_motor < 0) then do;
                                            treeValue47 = 0;
                                        end;
                                        else do;
                                            if (missing(racm_med_mou_6meses) or racm_med_mou_6meses < 0) then do;
                                                if (not missing(racm_ds_modelo_opt_2_catP) and racm_ds_modelo_opt_2_catP < 0) then do;
                                                    treeValue47 = 0;
                                                end;
                                                else do;
                                                    if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                        treeValue47 = 0;
                                                    end;
                                                    else do;
                                                        treeValue47 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(evol_MOU_TV_TOTAL_R2) and evol_MOU_TV_TOTAL_R2 < 0) then do;
                                                    treeValue47 = 0;
                                                end;
                                                else do;
                                                    if (missing(racm_med_mou_6meses) or racm_med_mou_6meses < 0) then do;
                                                        treeValue47 = 0;
                                                    end;
                                                    else do;
                                                        treeValue47 = 0;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue47 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(evol_MOU_TV_PROPIOS_R2) and evol_MOU_TV_PROPIOS_R2 < 0) then do;
                                    treeValue47 = 0;
                                end;
                                else do;
                                    if (not missing(racf_co_sub_segmento_lev_x_RR5R_) and racf_co_sub_segmento_lev_x_RR5R_ < 0) then do;
                                        treeValue47 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_N) or evol_CA_ATENDIDAS_ENTRANTES_N < 0) then do;
                                            if (missing(racf_ds_doto_catB) or racf_ds_doto_catB < 0) then do;
                                                if (not missing(evol_PT_LLAMADAS_AVG_isBAD) and evol_PT_LLAMADAS_AVG_isBAD < 0) then do;
                                                    if (not missing(racf_in_cob_ftth_nif) and racf_in_cob_ftth_nif < 0) then do;
                                                        treeValue47 = 0;
                                                    end;
                                                    else do;
                                                        treeValue47 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                        treeValue47 = 0;
                                                    end;
                                                    else do;
                                                        treeValue47 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue47 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue47 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (missing(racf_ds_soporte_ba_catB) or racf_ds_soporte_ba_catB < 0) then do;
                                if (not missing(evol_ARPU_FIJO_SLOP) and evol_ARPU_FIJO_SLOP < 0) then do;
                                    treeValue47 = 0;
                                end;
                                else do;
                                    treeValue47 = 0;
                                end;
                            end;
                            else do;
                                treeValue47 = 0;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                if (not missing(evol_MOU_TV_PROPIOS_COR) and evol_MOU_TV_PROPIOS_COR < 0) then do;
                    treeValue47 = 0;
                end;
                else do;
                    if (not missing(evol_MOU_TV_TOTAL_R2) and evol_MOU_TV_TOTAL_R2 < 0) then do;
                        treeValue47 = 0;
                    end;
                    else do;
                        if (not missing(racm_im_media_arpu_movil_3mes_cl) and racm_im_media_arpu_movil_3mes_cl < 0) then do;
                            treeValue47 = 0;
                        end;
                        else do;
                            if (not missing(racm_in_cliente_tuenti_isBAD) and racm_in_cliente_tuenti_isBAD < 0) then do;
                                treeValue47 = 0;
                            end;
                            else do;
                                treeValue47 = 0;
                            end;
                        end;
                    end;
                end;
            end;
        end;
        else do;
            if (missing(racf_in_tipo_doto) or racf_in_tipo_doto < 0) then do;
                treeValue47 = 0;
            end;
            else do;
                treeValue47 = 0;
            end;
        end;
    end;
    else do;
        treeValue47 = 0;
    end;
end;
else do;
    treeValue47 = 0;
end;

/* Parsing tree 48*/
if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
    treeValue48 = 0;
end;
else do;
    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
        treeValue48 = 0;
    end;
    else do;
        if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
            if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
                if (missing(racf_ca_numeraciones) or racf_ca_numeraciones < 0) then do;
                    if (not missing(evol_AVERIAS_SLOP) and evol_AVERIAS_SLOP < 0) then do;
                        treeValue48 = 0;
                    end;
                    else do;
                        if (missing(evol_VOLUMEN_DATOS_MBPS_DEV) or evol_VOLUMEN_DATOS_MBPS_DEV < 0) then do;
                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                if (missing(racm_med_arpu_3meses_isBAD) or racm_med_arpu_3meses_isBAD < 0) then do;
                                    if (missing(evol_ARPU_MOVIL_R2) or evol_ARPU_MOVIL_R2 < 0) then do;
                                        if (missing(evol_CA_TV_R2) or evol_CA_TV_R2 < 0) then do;
                                            if (missing(evol_MOU_TV_TOTAL_SLOP) or evol_MOU_TV_TOTAL_SLOP < 0) then do;
                                                if (missing(evol_MOU_TV_PROPIOS_R2) or evol_MOU_TV_PROPIOS_R2 < 0) then do;
                                                    if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                                                        if (missing(racf_in_cob_ftth_nif) or racf_in_cob_ftth_nif < 0) then do;
                                                            treeValue48 = 0;
                                                        end;
                                                        else do;
                                                            treeValue48 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue48 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                                        treeValue48 = 0;
                                                    end;
                                                    else do;
                                                        treeValue48 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                    treeValue48 = 0;
                                                end;
                                                else do;
                                                    treeValue48 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue48 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue48 = 0;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_CA_MOVIL_COR) and evol_CA_MOVIL_COR < 0) then do;
                                        treeValue48 = 0;
                                    end;
                                    else do;
                                        if (not missing(racf_ds_tipo_fusion_catP) and racf_ds_tipo_fusion_catP < 0) then do;
                                            if (not missing(racf_in_dts_F) and racf_in_dts_F < 0) then do;
                                                treeValue48 = 0;
                                            end;
                                            else do;
                                                if (missing(racf_ds_soporte_ba_lev_x_F_) or racf_ds_soporte_ba_lev_x_F_ < 0) then do;
                                                    treeValue48 = 0;
                                                end;
                                                else do;
                                                    treeValue48 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racf_IN_SERVICIO_TV_catP) and racf_IN_SERVICIO_TV_catP < 0) then do;
                                                if (missing(racf_IN_SERVICIO_TV_catP) or racf_IN_SERVICIO_TV_catP < 0) then do;
                                                    treeValue48 = 0;
                                                end;
                                                else do;
                                                    treeValue48 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (missing(evol_PT_LLAMADAS_COR_isBAD) or evol_PT_LLAMADAS_COR_isBAD < 0) then do;
                                                    treeValue48 = 0;
                                                end;
                                                else do;
                                                    treeValue48 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(evol_ARPU_MOVIL_R2) or evol_ARPU_MOVIL_R2 < 0) then do;
                                    if (missing(racf_in_cob_ftth_nif) or racf_in_cob_ftth_nif < 0) then do;
                                        if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                                            if (not missing(racm_co_planfact_catP) and racm_co_planfact_catP < 0) then do;
                                                treeValue48 = 0;
                                            end;
                                            else do;
                                                if (not missing(racf_IN_SERVICIO_TV_catP) and racf_IN_SERVICIO_TV_catP < 0) then do;
                                                    treeValue48 = 0;
                                                end;
                                                else do;
                                                    treeValue48 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue48 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue48 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue48 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue48 = 0;
                        end;
                    end;
                end;
                else do;
                    if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
                        treeValue48 = 0;
                    end;
                    else do;
                        treeValue48 = 0;
                    end;
                end;
            end;
            else do;
                treeValue48 = 0;
            end;
        end;
        else do;
            if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
                treeValue48 = 0;
            end;
            else do;
                treeValue48 = 0;
            end;
        end;
    end;
end;

/* Parsing tree 49*/
if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
    if (missing(racm_med_arpu_3meses) or racm_med_arpu_3meses < 0) then do;
        if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
            if (not missing(racf_in_cob_imag_nif) and racf_in_cob_imag_nif < 0) then do;
                treeValue49 = 0;
            end;
            else do;
                if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                    treeValue49 = 0;
                end;
                else do;
                    treeValue49 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
                treeValue49 = 0;
            end;
            else do;
                if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                    treeValue49 = 0;
                end;
                else do;
                    if (missing(evol_RECLAMACIONES_R2) or evol_RECLAMACIONES_R2 < 0) then do;
                        if (missing(evol_RECLAMACIONES_COR_isBAD) or evol_RECLAMACIONES_COR_isBAD < 0) then do;
                            if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
                                treeValue49 = 0;
                            end;
                            else do;
                                if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
                                    if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                        if (missing(racm_med_arpu_3meses_2) or racm_med_arpu_3meses_2 < 0) then do;
                                            if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                                if (missing(racf_in_cob_imag_nif) or racf_in_cob_imag_nif < 0) then do;
                                                    treeValue49 = 0;
                                                end;
                                                else do;
                                                    treeValue49 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(evol_CA_BAF_AVG) and evol_CA_BAF_AVG < 0) then do;
                                                    treeValue49 = 0;
                                                end;
                                                else do;
                                                    if (missing(evol_PT_LLAMADAS_COR) or evol_PT_LLAMADAS_COR < 0) then do;
                                                        if (missing(evol_PT_LLAMADAS_COR) or evol_PT_LLAMADAS_COR < 0) then do;
                                                            treeValue49 = 0;
                                                        end;
                                                        else do;
                                                            treeValue49 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
                                                            treeValue49 = 0;
                                                        end;
                                                        else do;
                                                            treeValue49 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                                if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                                    treeValue49 = 0;
                                                end;
                                                else do;
                                                    treeValue49 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue49 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue49 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue49 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue49 = 0;
                        end;
                    end;
                    else do;
                        treeValue49 = 0;
                    end;
                end;
            end;
        end;
    end;
    else do;
        if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
            if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                treeValue49 = 0;
            end;
            else do;
                treeValue49 = 0;
            end;
        end;
        else do;
            treeValue49 = 0;
        end;
    end;
end;
else do;
    treeValue49 = 0;
end;

/* Parsing tree 50*/
if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
    treeValue50 = 0;
end;
else do;
    if (missing(racm_pp_fx_ult_canje) or racm_pp_fx_ult_canje < 0) then do;
        if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                    if (not missing(evol_MOU_SALIDA_MOVIL_AVG) and evol_MOU_SALIDA_MOVIL_AVG < 0) then do;
                        treeValue50 = 0;
                    end;
                    else do;
                        treeValue50 = 0;
                    end;
                end;
                else do;
                    treeValue50 = 0;
                end;
            end;
            else do;
                if (not missing(racm_pp_fx_ult_canje) and racm_pp_fx_ult_canje < 0) then do;
                    if (missing(evol_MOU_SALIDA_MOVIL_DEV) or evol_MOU_SALIDA_MOVIL_DEV < 0) then do;
                        treeValue50 = 0;
                    end;
                    else do;
                        treeValue50 = 0;
                    end;
                end;
                else do;
                    if (not missing(racm_ds_modelo_opt_2_catP) and racm_ds_modelo_opt_2_catP < 0) then do;
                        if (missing(racf_in_Despliegue_FTTH_nif_lev_) or racf_in_Despliegue_FTTH_nif_lev_ < 0) then do;
                            if (not missing(racm_ds_modelo_opt_2_catP) and racm_ds_modelo_opt_2_catP < 0) then do;
                                treeValue50 = 0;
                            end;
                            else do;
                                if (not missing(evol_PT_LLAMADAS_R2) and evol_PT_LLAMADAS_R2 < 0) then do;
                                    if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                        treeValue50 = 0;
                                    end;
                                    else do;
                                        treeValue50 = 0;
                                    end;
                                end;
                                else do;
                                    if (not missing(racm_in_gama_terminal_actual_2_l) and racm_in_gama_terminal_actual_2_l < 0) then do;
                                        treeValue50 = 0;
                                    end;
                                    else do;
                                        if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                            if (not missing(evol_MOU_TV_OTROS_R2) and evol_MOU_TV_OTROS_R2 < 0) then do;
                                                treeValue50 = 0;
                                            end;
                                            else do;
                                                treeValue50 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue50 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                treeValue50 = 0;
                            end;
                            else do;
                                treeValue50 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (not missing(evol_VOLUMEN_DATOS_MBPS_AVG) and evol_VOLUMEN_DATOS_MBPS_AVG < 0) then do;
                            if (not missing(evol_VOLUMEN_DATOS_MBPS_AVG) and evol_VOLUMEN_DATOS_MBPS_AVG < 0) then do;
                                if (not missing(racf_co_estado_email_publicidad_) and racf_co_estado_email_publicidad_ < 0) then do;
                                    treeValue50 = 0;
                                end;
                                else do;
                                    treeValue50 = 0;
                                end;
                            end;
                            else do;
                                if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                    if (missing(evol_VOLUMEN_DATOS_MBPS_AVG) or evol_VOLUMEN_DATOS_MBPS_AVG < 0) then do;
                                        treeValue50 = 0;
                                    end;
                                    else do;
                                        treeValue50 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue50 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(evol_AVERIAS_R2) and evol_AVERIAS_R2 < 0) then do;
                                treeValue50 = 0;
                            end;
                            else do;
                                if (not missing(evol_ARPU_TOTAL_AVG) and evol_ARPU_TOTAL_AVG < 0) then do;
                                    if (missing(evol_CA_MOVIL_SLOP) or evol_CA_MOVIL_SLOP < 0) then do;
                                        treeValue50 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
                                            if (not missing(racf_co_estado_email_efactura_le) and racf_co_estado_email_efactura_le < 0) then do;
                                                if (missing(racm_nu_lineas_cliente) or racm_nu_lineas_cliente < 0) then do;
                                                    treeValue50 = 0;
                                                end;
                                                else do;
                                                    treeValue50 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(evol_RECLAMACIONES_DEV_isBAD) and evol_RECLAMACIONES_DEV_isBAD < 0) then do;
                                                    treeValue50 = 0;
                                                end;
                                                else do;
                                                    treeValue50 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue50 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_ARPU_FIJO_SLOP) or evol_ARPU_FIJO_SLOP < 0) then do;
                                        if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                            if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
                                                if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
                                                    if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                                        treeValue50 = 0;
                                                    end;
                                                    else do;
                                                        treeValue50 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue50 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue50 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (missing(evol_RECLAMACIONES_R2_isBAD) or evol_RECLAMACIONES_R2_isBAD < 0) then do;
                                                treeValue50 = 0;
                                            end;
                                            else do;
                                                treeValue50 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue50 = 0;
                                    end;
                                end;
                            end;
                        end;
                    end;
                end;
            end;
        end;
        else do;
            treeValue50 = 0;
        end;
    end;
    else do;
        if (missing(evol_ARPU_FIJO_SLOP) or evol_ARPU_FIJO_SLOP < 0) then do;
            treeValue50 = 0;
        end;
        else do;
            treeValue50 = 0;
        end;
    end;
end;

/* Parsing tree 51*/
if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        treeValue51 = 0;
    end;
    else do;
        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
            treeValue51 = 0;
        end;
        else do;
            if (missing(racf_im_media_arpu_3meses_cabece) or racf_im_media_arpu_3meses_cabece < 0) then do;
                if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
                    treeValue51 = 0;
                end;
                else do;
                    if (missing(evol_CA_ATF_R2) or evol_CA_ATF_R2 < 0) then do;
                        if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                            if (missing(racm_ds_modelo_opt_2_catP) or racm_ds_modelo_opt_2_catP < 0) then do;
                                if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                                    treeValue51 = 0;
                                end;
                                else do;
                                    treeValue51 = 0;
                                end;
                            end;
                            else do;
                                treeValue51 = 0;
                            end;
                        end;
                        else do;
                            if (missing(racm_med_vol_dat_tot_6meses_2) or racm_med_vol_dat_tot_6meses_2 < 0) then do;
                                if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                    if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                        treeValue51 = 0;
                                    end;
                                    else do;
                                        treeValue51 = 0;
                                    end;
                                end;
                                else do;
                                    if (not missing(racf_co_sub_segmento_catP) and racf_co_sub_segmento_catP < 0) then do;
                                        if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                            treeValue51 = 0;
                                        end;
                                        else do;
                                            if (not missing(racm_co_plantari_lev_x_662_) and racm_co_plantari_lev_x_662_ < 0) then do;
                                                treeValue51 = 0;
                                            end;
                                            else do;
                                                if (not missing(racm_in_gama_terminal_actual_2_l) and racm_in_gama_terminal_actual_2_l < 0) then do;
                                                    if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                                                        treeValue51 = 0;
                                                    end;
                                                    else do;
                                                        treeValue51 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(evol_MOU_SALIDA_MOVIL_COR) and evol_MOU_SALIDA_MOVIL_COR < 0) then do;
                                                        treeValue51 = 0;
                                                    end;
                                                    else do;
                                                        treeValue51 = 0;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(racf_ca_series_extra) or racf_ca_series_extra < 0) then do;
                                            if (not missing(evol_MOU_TV_OTROS_COR) and evol_MOU_TV_OTROS_COR < 0) then do;
                                                if (missing(evol_MOU_TV_OTROS_AVG) or evol_MOU_TV_OTROS_AVG < 0) then do;
                                                    treeValue51 = 0;
                                                end;
                                                else do;
                                                    treeValue51 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(racm_in_gama_terminal_actual_2_l) and racm_in_gama_terminal_actual_2_l < 0) then do;
                                                    treeValue51 = 0;
                                                end;
                                                else do;
                                                    if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
                                                        if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
                                                            treeValue51 = 0;
                                                        end;
                                                        else do;
                                                            treeValue51 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue51 = 0;
                                                    end;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racm_in_gama_terminal_catB) and racm_in_gama_terminal_catB < 0) then do;
                                                treeValue51 = 0;
                                            end;
                                            else do;
                                                treeValue51 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue51 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (missing(racf_co_sub_segmento_catP) or racf_co_sub_segmento_catP < 0) then do;
                            if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
                                if (missing(racm_co_planfact_catP) or racm_co_planfact_catP < 0) then do;
                                    treeValue51 = 0;
                                end;
                                else do;
                                    treeValue51 = 0;
                                end;
                            end;
                            else do;
                                treeValue51 = 0;
                            end;
                        end;
                        else do;
                            treeValue51 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue51 = 0;
            end;
        end;
    end;
end;
else do;
    treeValue51 = 0;
end;

/* Parsing tree 52*/
if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
    if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
        if (missing(racm_pp_fx_ult_canje) or racm_pp_fx_ult_canje < 0) then do;
            if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                    treeValue52 = 0;
                end;
                else do;
                    treeValue52 = 0;
                end;
            end;
            else do;
                if (not missing(evol_MOU_TV_TOTAL_SLOP) and evol_MOU_TV_TOTAL_SLOP < 0) then do;
                    treeValue52 = 0;
                end;
                else do;
                    if (not missing(evol_AVERIAS_R2) and evol_AVERIAS_R2 < 0) then do;
                        if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                            treeValue52 = 0;
                        end;
                        else do;
                            treeValue52 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racm_pp_fx_ult_canje) and racm_pp_fx_ult_canje < 0) then do;
                            treeValue52 = 0;
                        end;
                        else do;
                            if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                treeValue52 = 0;
                            end;
                            else do;
                                if (not missing(evol_VOLUMEN_DATOS_MBPS_SLOP) and evol_VOLUMEN_DATOS_MBPS_SLOP < 0) then do;
                                    if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                                        treeValue52 = 0;
                                    end;
                                    else do;
                                        treeValue52 = 0;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_MOU_TV_OTROS_DEV) and evol_MOU_TV_OTROS_DEV < 0) then do;
                                        if (not missing(racm_in_gama_terminal_actual_2_l) and racm_in_gama_terminal_actual_2_l < 0) then do;
                                            treeValue52 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_MOU_SALIDA_MOVIL_AVG_isBAD) and evol_MOU_SALIDA_MOVIL_AVG_isBAD < 0) then do;
                                                treeValue52 = 0;
                                            end;
                                            else do;
                                                treeValue52 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racf_in_dts_F) and racf_in_dts_F < 0) then do;
                                            treeValue52 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                                                treeValue52 = 0;
                                            end;
                                            else do;
                                                if (not missing(racf_ds_agrup_servicio_tv_catP) and racf_ds_agrup_servicio_tv_catP < 0) then do;
                                                    if (not missing(racf_im_media_arpu_3meses_client) and racf_im_media_arpu_3meses_client < 0) then do;
                                                        treeValue52 = 0;
                                                    end;
                                                    else do;
                                                        treeValue52 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR_) and evol_CA_ATENDIDAS_ENTRANTES_COR_ < 0) then do;
                                                        if (missing(evol_ARPU_TOTAL_COR) or evol_ARPU_TOTAL_COR < 0) then do;
                                                            treeValue52 = 0;
                                                        end;
                                                        else do;
                                                            treeValue52 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (not missing(racf_in_tipo_doto) and racf_in_tipo_doto < 0) then do;
                                                            treeValue52 = 0;
                                                        end;
                                                        else do;
                                                            treeValue52 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                end;
            end;
        end;
        else do;
            treeValue52 = 0;
        end;
    end;
    else do;
        if (not missing(evol_ARPU_FIJO_AVG) and evol_ARPU_FIJO_AVG < 0) then do;
            treeValue52 = 0;
        end;
        else do;
            if (missing(racm_med_vol_dat_tot_6meses_2) or racm_med_vol_dat_tot_6meses_2 < 0) then do;
                if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                    if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                        treeValue52 = 0;
                    end;
                    else do;
                        treeValue52 = 0;
                    end;
                end;
                else do;
                    if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
                        if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                            treeValue52 = 0;
                        end;
                        else do;
                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                                treeValue52 = 0;
                            end;
                            else do;
                                treeValue52 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (not missing(racf_nu_velocidad_adsl) and racf_nu_velocidad_adsl < 0) then do;
                            treeValue52 = 0;
                        end;
                        else do;
                            treeValue52 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue52 = 0;
            end;
        end;
    end;
end;
else do;
    treeValue52 = 0;
end;

/* Parsing tree 53*/
if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
    if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
        treeValue53 = 0;
    end;
    else do;
        if (not missing(racm_fx_fin_cco_maximo) and racm_fx_fin_cco_maximo < 0) then do;
            treeValue53 = 0;
        end;
        else do;
            if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
                if (missing(racf_ds_soporte_ba_lev_x_C_) or racf_ds_soporte_ba_lev_x_C_ < 0) then do;
                    if (not missing(evol_MOU_SALIDA_MOVIL_R2) and evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                        if (not missing(evol_CA_MOVIL_AVG) and evol_CA_MOVIL_AVG < 0) then do;
                            treeValue53 = 0;
                        end;
                        else do;
                            treeValue53 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racf_ds_doto_lev_x_FusiA3n_TV_MA) and racf_ds_doto_lev_x_FusiA3n_TV_MA < 0) then do;
                            treeValue53 = 0;
                        end;
                        else do;
                            if (missing(evol_MOU_TV_TOTAL_R2) or evol_MOU_TV_TOTAL_R2 < 0) then do;
                                treeValue53 = 0;
                            end;
                            else do;
                                treeValue53 = 0;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue53 = 0;
                end;
            end;
            else do;
                if (missing(evol_MOU_SALIDA_MOVIL_R2) or evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                    if (not missing(racf_in_reserva_fibra) and racf_in_reserva_fibra < 0) then do;
                        if (missing(racm_co_plantari_catP) or racm_co_plantari_catP < 0) then do;
                            treeValue53 = 0;
                        end;
                        else do;
                            treeValue53 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(evol_VOLUMEN_DATOS_MBPS_COR) and evol_VOLUMEN_DATOS_MBPS_COR < 0) then do;
                            if (not missing(evol_ARPU_FIJO_SLOP) and evol_ARPU_FIJO_SLOP < 0) then do;
                                treeValue53 = 0;
                            end;
                            else do;
                                treeValue53 = 0;
                            end;
                        end;
                        else do;
                            if (not missing(racf_im_media_arpu_total_3mes_cl) and racf_im_media_arpu_total_3mes_cl < 0) then do;
                                if (missing(evol_MOU_TV_PROPIOS_DEV) or evol_MOU_TV_PROPIOS_DEV < 0) then do;
                                    treeValue53 = 0;
                                end;
                                else do;
                                    treeValue53 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(racm_fx_ultimo_acceso_mi_movista) and racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                    treeValue53 = 0;
                                end;
                                else do;
                                    if (missing(evol_RECLAMACIONES_N) or evol_RECLAMACIONES_N < 0) then do;
                                        if (missing(evol_CA_TV_R2) or evol_CA_TV_R2 < 0) then do;
                                            if (not missing(racm_co_plantari_catP) and racm_co_plantari_catP < 0) then do;
                                                if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                                    if (not missing(racm_ds_marca_opt_lev_x_SAMSUNG) and racm_ds_marca_opt_lev_x_SAMSUNG < 0) then do;
                                                        treeValue53 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(evol_MOU_TV_PROPIOS_DEV) and evol_MOU_TV_PROPIOS_DEV < 0) then do;
                                                            treeValue53 = 0;
                                                        end;
                                                        else do;
                                                            treeValue53 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue53 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(racf_ca_familiar) and racf_ca_familiar < 0) then do;
                                                    treeValue53 = 0;
                                                end;
                                                else do;
                                                    if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                                                        if (not missing(racm_med_vol_dat_tot_6meses) and racm_med_vol_dat_tot_6meses < 0) then do;
                                                            treeValue53 = 0;
                                                        end;
                                                        else do;
                                                            treeValue53 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
                                                            treeValue53 = 0;
                                                        end;
                                                        else do;
                                                            treeValue53 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racf_ds_doto_catP) and racf_ds_doto_catP < 0) then do;
                                                treeValue53 = 0;
                                            end;
                                            else do;
                                                treeValue53 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                            treeValue53 = 0;
                                        end;
                                        else do;
                                            treeValue53 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                end;
                else do;
                    if (not missing(racf_in_sexo_lev_x_M_) and racf_in_sexo_lev_x_M_ < 0) then do;
                        treeValue53 = 0;
                    end;
                    else do;
                        if (missing(evol_CA_MOVIL_DEV) or evol_CA_MOVIL_DEV < 0) then do;
                            treeValue53 = 0;
                        end;
                        else do;
                            treeValue53 = 0;
                        end;
                    end;
                end;
            end;
        end;
    end;
end;
else do;
    treeValue53 = 0;
end;

/* Parsing tree 54*/
if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
    treeValue54 = 0;
end;
else do;
    if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
        if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
            if (missing(evol_CA_ATF_R2) or evol_CA_ATF_R2 < 0) then do;
                if (missing(racm_pp_fx_ult_canje) or racm_pp_fx_ult_canje < 0) then do;
                    if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                        treeValue54 = 0;
                    end;
                    else do;
                        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                            treeValue54 = 0;
                        end;
                        else do;
                            if (missing(racm_med_arpu_3meses) or racm_med_arpu_3meses < 0) then do;
                                if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                                    if (not missing(evol_VOLUMEN_DATOS_MBPS_SLOP) and evol_VOLUMEN_DATOS_MBPS_SLOP < 0) then do;
                                        treeValue54 = 0;
                                    end;
                                    else do;
                                        if (not missing(racf_ds_doto_lev_NA) and racf_ds_doto_lev_NA < 0) then do;
                                            treeValue54 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                                                if (missing(racf_ds_tipo_fusion_catP) or racf_ds_tipo_fusion_catP < 0) then do;
                                                    if (not missing(racm_co_sistema_lev_x_LEGADO_) and racm_co_sistema_lev_x_LEGADO_ < 0) then do;
                                                        treeValue54 = 0;
                                                    end;
                                                    else do;
                                                        treeValue54 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue54 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(evol_CA_MOVIL_COR) and evol_CA_MOVIL_COR < 0) then do;
                                                    treeValue54 = 0;
                                                end;
                                                else do;
                                                    if (missing(evol_MOU_SALIDA_MOVIL_AVG) or evol_MOU_SALIDA_MOVIL_AVG < 0) then do;
                                                        if (not missing(evol_MOU_TV_TOTAL_R2) and evol_MOU_TV_TOTAL_R2 < 0) then do;
                                                            treeValue54 = 0;
                                                        end;
                                                        else do;
                                                            treeValue54 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue54 = 0;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_PT_LLAMADAS_DEV) or evol_PT_LLAMADAS_DEV < 0) then do;
                                        if (not missing(evol_ARPU_TOTAL_SLOP) and evol_ARPU_TOTAL_SLOP < 0) then do;
                                            treeValue54 = 0;
                                        end;
                                        else do;
                                            if (missing(evol_ARPU_TOTAL_SLOP) or evol_ARPU_TOTAL_SLOP < 0) then do;
                                                if (not missing(racm_med_arpu_3meses) and racm_med_arpu_3meses < 0) then do;
                                                    treeValue54 = 0;
                                                end;
                                                else do;
                                                    treeValue54 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue54 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racf_ds_doto_catP) and racf_ds_doto_catP < 0) then do;
                                            treeValue54 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_PT_LLAMADAS_R2) and evol_PT_LLAMADAS_R2 < 0) then do;
                                                treeValue54 = 0;
                                            end;
                                            else do;
                                                treeValue54 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                                    treeValue54 = 0;
                                end;
                                else do;
                                    treeValue54 = 0;
                                end;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue54 = 0;
                end;
            end;
            else do;
                if (not missing(evol_MOU_TV_PROPIOS_COR) and evol_MOU_TV_PROPIOS_COR < 0) then do;
                    treeValue54 = 0;
                end;
                else do;
                    if (missing(racf_co_sub_segmento_catP) or racf_co_sub_segmento_catP < 0) then do;
                        if (not missing(racm_nu_antiguedad_terminal) and racm_nu_antiguedad_terminal < 0) then do;
                            treeValue54 = 0;
                        end;
                        else do;
                            treeValue54 = 0;
                        end;
                    end;
                    else do;
                        treeValue54 = 0;
                    end;
                end;
            end;
        end;
        else do;
            if (not missing(racm_med_arpu_3meses) and racm_med_arpu_3meses < 0) then do;
                treeValue54 = 0;
            end;
            else do;
                treeValue54 = 0;
            end;
        end;
    end;
    else do;
        if (missing(racm_im_media_arpu_movil_3mes_cl) or racm_im_media_arpu_movil_3mes_cl < 0) then do;
            treeValue54 = 0;
        end;
        else do;
            treeValue54 = 0;
        end;
    end;
end;

/* Parsing tree 55*/
if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
    if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
        if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
            if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                if (not missing(racm_in_gama_terminal_actual_2_c) and racm_in_gama_terminal_actual_2_c < 0) then do;
                    treeValue55 = 0;
                end;
                else do;
                    if (not missing(evol_PT_LLAMADAS_R2) and evol_PT_LLAMADAS_R2 < 0) then do;
                        treeValue55 = 0;
                    end;
                    else do;
                        treeValue55 = 0;
                    end;
                end;
            end;
            else do;
                if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                    treeValue55 = 0;
                end;
                else do;
                    if (missing(racm_in_portfolio_2_catB) or racm_in_portfolio_2_catB < 0) then do;
                        if (missing(evol_CA_TV_AVG) or evol_CA_TV_AVG < 0) then do;
                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                if (not missing(racm_in_gama_terminal_actual_2_c) and racm_in_gama_terminal_actual_2_c < 0) then do;
                                    if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                        if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                                            treeValue55 = 0;
                                        end;
                                        else do;
                                            treeValue55 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue55 = 0;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_PT_LLAMADAS_R2) and evol_PT_LLAMADAS_R2 < 0) then do;
                                        treeValue55 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_CA_TV_AVG) or evol_CA_TV_AVG < 0) then do;
                                            if (missing(racm_ds_modelo_opt_catP) or racm_ds_modelo_opt_catP < 0) then do;
                                                if (not missing(racm_fx_ultimo_acceso_mi_movista) and racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                                    treeValue55 = 0;
                                                end;
                                                else do;
                                                    treeValue55 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue55 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue55 = 0;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (not missing(racf_segmento_catP) and racf_segmento_catP < 0) then do;
                                    treeValue55 = 0;
                                end;
                                else do;
                                    if (missing(evol_MOU_SALIDA_MOVIL_COR) or evol_MOU_SALIDA_MOVIL_COR < 0) then do;
                                        treeValue55 = 0;
                                    end;
                                    else do;
                                        treeValue55 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue55 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racm_in_gama_terminal_lev_x_GAMA) and racm_in_gama_terminal_lev_x_GAMA < 0) then do;
                            treeValue55 = 0;
                        end;
                        else do;
                            if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                if (missing(racm_co_plantari_catP) or racm_co_plantari_catP < 0) then do;
                                    if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                                        if (not missing(evol_PT_LLAMADAS_N) and evol_PT_LLAMADAS_N < 0) then do;
                                            treeValue55 = 0;
                                        end;
                                        else do;
                                            treeValue55 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                                            treeValue55 = 0;
                                        end;
                                        else do;
                                            treeValue55 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue55 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(racm_co_planfact_catB) and racm_co_planfact_catB < 0) then do;
                                    treeValue55 = 0;
                                end;
                                else do;
                                    if (missing(evol_CA_MOVIL_R2) or evol_CA_MOVIL_R2 < 0) then do;
                                        if (not missing(racm_im_media_arpu_movil_3mes_cl) and racm_im_media_arpu_movil_3mes_cl < 0) then do;
                                            treeValue55 = 0;
                                        end;
                                        else do;
                                            if (missing(evol_ARPU_FIJO_AVG) or evol_ARPU_FIJO_AVG < 0) then do;
                                                treeValue55 = 0;
                                            end;
                                            else do;
                                                treeValue55 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue55 = 0;
                                    end;
                                end;
                            end;
                        end;
                    end;
                end;
            end;
        end;
        else do;
            if (not missing(evol_PT_LLAMADAS_R2) and evol_PT_LLAMADAS_R2 < 0) then do;
                treeValue55 = 0;
            end;
            else do;
                if (not missing(evol_MOU_TV_OTROS_SLOP) and evol_MOU_TV_OTROS_SLOP < 0) then do;
                    treeValue55 = 0;
                end;
                else do;
                    if (not missing(racm_nu_antiguedad_terminal) and racm_nu_antiguedad_terminal < 0) then do;
                        treeValue55 = 0;
                    end;
                    else do;
                        treeValue55 = 0;
                    end;
                end;
            end;
        end;
    end;
    else do;
        treeValue55 = 0;
    end;
end;
else do;
    if (missing(racm_med_mou_6meses) or racm_med_mou_6meses < 0) then do;
        treeValue55 = 0;
    end;
    else do;
        treeValue55 = 0;
    end;
end;

/* Parsing tree 56*/
if (missing(racm_co_plantari_catB) or racm_co_plantari_catB < 0) then do;
    if (missing(racm_co_plantari_catP) or racm_co_plantari_catP < 0) then do;
        if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
            if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
                if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                    if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                        if (not missing(evol_ARPU_TOTAL_SLOP) and evol_ARPU_TOTAL_SLOP < 0) then do;
                            if (not missing(racf_nu_velocidad_adsl) and racf_nu_velocidad_adsl < 0) then do;
                                if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                    if (missing(racm_co_planfact_2_lev_NA) or racm_co_planfact_2_lev_NA < 0) then do;
                                        treeValue56 = 0;
                                    end;
                                    else do;
                                        treeValue56 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue56 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(evol_VOLUMEN_DATOS_MBPS_DEV) and evol_VOLUMEN_DATOS_MBPS_DEV < 0) then do;
                                    treeValue56 = 0;
                                end;
                                else do;
                                    if (not missing(racm_med_mou_6meses) and racm_med_mou_6meses < 0) then do;
                                        treeValue56 = 0;
                                    end;
                                    else do;
                                        treeValue56 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (missing(racf_im_media_arpu_fijo_3mes_cli) or racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                if (missing(racm_ds_tramo_ultima_portada_cat) or racm_ds_tramo_ultima_portada_cat < 0) then do;
                                    if (missing(racm_pp_fx_ult_canje) or racm_pp_fx_ult_canje < 0) then do;
                                        if (not missing(racm_med_mou_6meses) and racm_med_mou_6meses < 0) then do;
                                            if (not missing(racf_co_estado_email_efactura_le) and racf_co_estado_email_efactura_le < 0) then do;
                                                treeValue56 = 0;
                                            end;
                                            else do;
                                                treeValue56 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                                                if (missing(racf_im_media_arpu_3meses_cabece) or racf_im_media_arpu_3meses_cabece < 0) then do;
                                                    if (missing(evol_MOU_TV_TOTAL_R2) or evol_MOU_TV_TOTAL_R2 < 0) then do;
                                                        if (not missing(racm_in_sexo_lev_x_M) and racm_in_sexo_lev_x_M < 0) then do;
                                                            treeValue56 = 0;
                                                        end;
                                                        else do;
                                                            treeValue56 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue56 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(racm_in_sexo_lev_x_M) and racm_in_sexo_lev_x_M < 0) then do;
                                                        if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                                                            treeValue56 = 0;
                                                        end;
                                                        else do;
                                                            treeValue56 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (not missing(racf_ds_agrup_servicio_tv_catP) and racf_ds_agrup_servicio_tv_catP < 0) then do;
                                                            treeValue56 = 0;
                                                        end;
                                                        else do;
                                                            treeValue56 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(racm_med_mou_6meses) and racm_med_mou_6meses < 0) then do;
                                                    treeValue56 = 0;
                                                end;
                                                else do;
                                                    treeValue56 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                            treeValue56 = 0;
                                        end;
                                        else do;
                                            treeValue56 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue56 = 0;
                                end;
                            end;
                            else do;
                                if (missing(racm_in_gama_terminal_actual_2_l) or racm_in_gama_terminal_actual_2_l < 0) then do;
                                    treeValue56 = 0;
                                end;
                                else do;
                                    treeValue56 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue56 = 0;
                    end;
                end;
                else do;
                    treeValue56 = 0;
                end;
            end;
            else do;
                if (missing(racm_in_gama_terminal_catP) or racm_in_gama_terminal_catP < 0) then do;
                    treeValue56 = 0;
                end;
                else do;
                    treeValue56 = 0;
                end;
            end;
        end;
        else do;
            treeValue56 = 0;
        end;
    end;
    else do;
        treeValue56 = 0;
    end;
end;
else do;
    treeValue56 = 0;
end;

/* Parsing tree 57*/
if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        treeValue57 = 0;
    end;
    else do;
        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
            if (not missing(racm_med_vol_dat_tot_6meses) and racm_med_vol_dat_tot_6meses < 0) then do;
                if (not missing(racm_ds_tipo_contrato_2_catB) and racm_ds_tipo_contrato_2_catB < 0) then do;
                    treeValue57 = 0;
                end;
                else do;
                    treeValue57 = 0;
                end;
            end;
            else do;
                if (missing(racm_med_vol_dat_tot_6meses_2) or racm_med_vol_dat_tot_6meses_2 < 0) then do;
                    treeValue57 = 0;
                end;
                else do;
                    treeValue57 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(evol_PT_LLAMADAS_SLOP) and evol_PT_LLAMADAS_SLOP < 0) then do;
                treeValue57 = 0;
            end;
            else do;
                if (not missing(racm_med_vol_dat_tot_6meses) and racm_med_vol_dat_tot_6meses < 0) then do;
                    treeValue57 = 0;
                end;
                else do;
                    if (missing(racm_pp_fx_ult_canje) or racm_pp_fx_ult_canje < 0) then do;
                        if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                            if (not missing(racf_co_estado_email_efactura_le) and racf_co_estado_email_efactura_le < 0) then do;
                                treeValue57 = 0;
                            end;
                            else do;
                                treeValue57 = 0;
                            end;
                        end;
                        else do;
                            treeValue57 = 0;
                        end;
                    end;
                    else do;
                        treeValue57 = 0;
                    end;
                end;
            end;
        end;
    end;
end;
else do;
    if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
        if (not missing(racm_ds_modelo_opt_catP) and racm_ds_modelo_opt_catP < 0) then do;
            if (not missing(racm_ds_tipo_contrato_2_catB) and racm_ds_tipo_contrato_2_catB < 0) then do;
                treeValue57 = 0;
            end;
            else do;
                treeValue57 = 0;
            end;
        end;
        else do;
            if (missing(evol_VOLUMEN_DATOS_MBPS_DEV) or evol_VOLUMEN_DATOS_MBPS_DEV < 0) then do;
                if (not missing(racf_ds_tipo_fusion_lev_x_FUSION) and racf_ds_tipo_fusion_lev_x_FUSION < 0) then do;
                    if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                        treeValue57 = 0;
                    end;
                    else do;
                        treeValue57 = 0;
                    end;
                end;
                else do;
                    if (missing(evol_MOU_TV_OTROS_R2) or evol_MOU_TV_OTROS_R2 < 0) then do;
                        if (missing(racm_im_media_arpu_movil_3mes_cl) or racm_im_media_arpu_movil_3mes_cl < 0) then do;
                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                treeValue57 = 0;
                            end;
                            else do;
                                if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                            treeValue57 = 0;
                                        end;
                                        else do;
                                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                                if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                                    if (not missing(racm_in_sexo_lev_x_H) and racm_in_sexo_lev_x_H < 0) then do;
                                                        treeValue57 = 0;
                                                    end;
                                                    else do;
                                                        treeValue57 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue57 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue57 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue57 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                        treeValue57 = 0;
                                    end;
                                    else do;
                                        treeValue57 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racm_med_mou_6meses_isBAD) and racm_med_mou_6meses_isBAD < 0) then do;
                                treeValue57 = 0;
                            end;
                            else do;
                                if (missing(evol_PT_LLAMADAS_COR) or evol_PT_LLAMADAS_COR < 0) then do;
                                    if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                                        if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                                            if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                                treeValue57 = 0;
                                            end;
                                            else do;
                                                treeValue57 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue57 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(racf_IN_SERVICIO_TV_lev_x_N) or racf_IN_SERVICIO_TV_lev_x_N < 0) then do;
                                            treeValue57 = 0;
                                        end;
                                        else do;
                                            treeValue57 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue57 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        if (not missing(racm_nu_antiguedad_terminal) and racm_nu_antiguedad_terminal < 0) then do;
                            treeValue57 = 0;
                        end;
                        else do;
                            if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                                treeValue57 = 0;
                            end;
                            else do;
                                treeValue57 = 0;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue57 = 0;
            end;
        end;
    end;
    else do;
        treeValue57 = 0;
    end;
end;

/* Parsing tree 58*/
if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        if (not missing(racm_fx_fin_cco_maximo_2_isBAD) and racm_fx_fin_cco_maximo_2_isBAD < 0) then do;
            treeValue58 = 0;
        end;
        else do;
            if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
                    treeValue58 = 0;
                end;
                else do;
                    treeValue58 = 0;
                end;
            end;
            else do;
                if (not missing(evol_VOLUMEN_DATOS_MBPS_DEV) and evol_VOLUMEN_DATOS_MBPS_DEV < 0) then do;
                    treeValue58 = 0;
                end;
                else do;
                    if (not missing(racm_fx_fin_cco_maximo_isBAD) and racm_fx_fin_cco_maximo_isBAD < 0) then do;
                        treeValue58 = 0;
                    end;
                    else do;
                        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                            treeValue58 = 0;
                        end;
                        else do;
                            if (missing(racm_ds_modelo_opt_2_lev_NA) or racm_ds_modelo_opt_2_lev_NA < 0) then do;
                                treeValue58 = 0;
                            end;
                            else do;
                                treeValue58 = 0;
                            end;
                        end;
                    end;
                end;
            end;
        end;
    end;
    else do;
        if (not missing(racm_med_arpu_3meses_3) and racm_med_arpu_3meses_3 < 0) then do;
            treeValue58 = 0;
        end;
        else do;
            if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
                if (missing(evol_VOLUMEN_DATOS_MBPS_AVG) or evol_VOLUMEN_DATOS_MBPS_AVG < 0) then do;
                    if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                        treeValue58 = 0;
                    end;
                    else do;
                        if (missing(racm_in_cliente_linea_portada) or racm_in_cliente_linea_portada < 0) then do;
                            if (missing(evol_VOLUMEN_DATOS_MBPS_AVG) or evol_VOLUMEN_DATOS_MBPS_AVG < 0) then do;
                                if (not missing(racm_in_gama_terminal_3_catP) and racm_in_gama_terminal_3_catP < 0) then do;
                                    treeValue58 = 0;
                                end;
                                else do;
                                    if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                        if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                            if (not missing(racf_in_reserva_fibra) and racf_in_reserva_fibra < 0) then do;
                                                treeValue58 = 0;
                                            end;
                                            else do;
                                                if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                                    if (missing(racf_ds_doto_catP) or racf_ds_doto_catP < 0) then do;
                                                        if (not missing(racm_in_gama_terminal_lev_x_GAMA) and racm_in_gama_terminal_lev_x_GAMA < 0) then do;
                                                            treeValue58 = 0;
                                                        end;
                                                        else do;
                                                            treeValue58 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                            treeValue58 = 0;
                                                        end;
                                                        else do;
                                                            treeValue58 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue58 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                if (missing(racf_ds_soporte_ba_catP) or racf_ds_soporte_ba_catP < 0) then do;
                                                    treeValue58 = 0;
                                                end;
                                                else do;
                                                    treeValue58 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue58 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(racf_ds_tipo_fusion_catB) or racf_ds_tipo_fusion_catB < 0) then do;
                                            if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
                                                if (missing(racm_co_planfact_2_catB) or racm_co_planfact_2_catB < 0) then do;
                                                    treeValue58 = 0;
                                                end;
                                                else do;
                                                    treeValue58 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue58 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue58 = 0;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue58 = 0;
                            end;
                        end;
                        else do;
                            if (missing(evol_MOU_TV_TOTAL_N) or evol_MOU_TV_TOTAL_N < 0) then do;
                                treeValue58 = 0;
                            end;
                            else do;
                                treeValue58 = 0;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue58 = 0;
                end;
            end;
            else do;
                treeValue58 = 0;
            end;
        end;
    end;
end;
else do;
    treeValue58 = 0;
end;

/* Parsing tree 59*/
if (missing(racf_ca_numeraciones) or racf_ca_numeraciones < 0) then do;
    if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
        if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
            if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                treeValue59 = 0;
            end;
            else do;
                treeValue59 = 0;
            end;
        end;
        else do;
            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                if (missing(racf_nu_velocidad_adsl) or racf_nu_velocidad_adsl < 0) then do;
                    if (not missing(racf_fx_alta_imagenio) and racf_fx_alta_imagenio < 0) then do;
                        if (not missing(evol_VOLUMEN_DATOS_MBPS_R2) and evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                            treeValue59 = 0;
                        end;
                        else do;
                            treeValue59 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racf_nu_velocidad_adsl) and racf_nu_velocidad_adsl < 0) then do;
                            treeValue59 = 0;
                        end;
                        else do;
                            treeValue59 = 0;
                        end;
                    end;
                end;
                else do;
                    if (missing(evol_MOU_TV_OTROS_N) or evol_MOU_TV_OTROS_N < 0) then do;
                        treeValue59 = 0;
                    end;
                    else do;
                        treeValue59 = 0;
                    end;
                end;
            end;
            else do;
                if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
                    if (missing(racm_co_planfact_3_catB) or racm_co_planfact_3_catB < 0) then do;
                        treeValue59 = 0;
                    end;
                    else do;
                        treeValue59 = 0;
                    end;
                end;
                else do;
                    if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                        treeValue59 = 0;
                    end;
                    else do;
                        if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
                            if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                                if (missing(evol_ARPU_TOTAL_SLOP) or evol_ARPU_TOTAL_SLOP < 0) then do;
                                    if (not missing(racm_nu_antiguedad_terminal_2) and racm_nu_antiguedad_terminal_2 < 0) then do;
                                        treeValue59 = 0;
                                    end;
                                    else do;
                                        if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                                            if (missing(evol_PT_LLAMADAS_DEV) or evol_PT_LLAMADAS_DEV < 0) then do;
                                                treeValue59 = 0;
                                            end;
                                            else do;
                                                treeValue59 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racm_nu_antiguedad_terminal_3_is) and racm_nu_antiguedad_terminal_3_is < 0) then do;
                                                treeValue59 = 0;
                                            end;
                                            else do;
                                                if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
                                                    treeValue59 = 0;
                                                end;
                                                else do;
                                                    if (not missing(racf_ds_tipo_fusion_catB) and racf_ds_tipo_fusion_catB < 0) then do;
                                                        treeValue59 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                                                            treeValue59 = 0;
                                                        end;
                                                        else do;
                                                            treeValue59 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue59 = 0;
                                end;
                            end;
                            else do;
                                treeValue59 = 0;
                            end;
                        end;
                        else do;
                            if (missing(racf_im_media_arpu_3meses_cabece) or racf_im_media_arpu_3meses_cabece < 0) then do;
                                treeValue59 = 0;
                            end;
                            else do;
                                treeValue59 = 0;
                            end;
                        end;
                    end;
                end;
            end;
        end;
    end;
    else do;
        if (missing(racm_ds_marca_opt_catP) or racm_ds_marca_opt_catP < 0) then do;
            treeValue59 = 0;
        end;
        else do;
            treeValue59 = 0;
        end;
    end;
end;
else do;
    if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
        treeValue59 = 0;
    end;
    else do;
        treeValue59 = 0;
    end;
end;

/* Parsing tree 60*/
if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
    if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
        if (not missing(racm_med_vol_dat_tot_6meses) and racm_med_vol_dat_tot_6meses < 0) then do;
            treeValue60 = 0;
        end;
        else do;
            if (missing(evol_MOU_TV_OTROS_DEV) or evol_MOU_TV_OTROS_DEV < 0) then do;
                treeValue60 = 0;
            end;
            else do;
                treeValue60 = 0;
            end;
        end;
    end;
    else do;
        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
            treeValue60 = 0;
        end;
        else do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                if (missing(evol_CA_MOVIL_COR) or evol_CA_MOVIL_COR < 0) then do;
                    if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
                        if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
                            if (missing(racf_in_cob_ftth_nif) or racf_in_cob_ftth_nif < 0) then do;
                                if (not missing(racf_ds_doto_catB) and racf_ds_doto_catB < 0) then do;
                                    if (not missing(evol_ARPU_FIJO_AVG) and evol_ARPU_FIJO_AVG < 0) then do;
                                        if (missing(racm_med_arpu_3meses_cliente) or racm_med_arpu_3meses_cliente < 0) then do;
                                            treeValue60 = 0;
                                        end;
                                        else do;
                                            treeValue60 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_CA_MOVIL_AVG) or evol_CA_MOVIL_AVG < 0) then do;
                                            treeValue60 = 0;
                                        end;
                                        else do;
                                            treeValue60 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                                        if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                                            treeValue60 = 0;
                                        end;
                                        else do;
                                            treeValue60 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racm_ds_marca_opt_catB) and racm_ds_marca_opt_catB < 0) then do;
                                            treeValue60 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR_) and evol_CA_ATENDIDAS_ENTRANTES_COR_ < 0) then do;
                                                treeValue60 = 0;
                                            end;
                                            else do;
                                                treeValue60 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(evol_ARPU_TOTAL_DEV) or evol_ARPU_TOTAL_DEV < 0) then do;
                                    if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                                        if (not missing(evol_ARPU_TOTAL_DEV) and evol_ARPU_TOTAL_DEV < 0) then do;
                                            treeValue60 = 0;
                                        end;
                                        else do;
                                            treeValue60 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue60 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue60 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racm_co_plantari_lev_x_621_) and racm_co_plantari_lev_x_621_ < 0) then do;
                                if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                    treeValue60 = 0;
                                end;
                                else do;
                                    if (not missing(racm_in_gama_terminal_2_lev_x_NO) and racm_in_gama_terminal_2_lev_x_NO < 0) then do;
                                        treeValue60 = 0;
                                    end;
                                    else do;
                                        treeValue60 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(evol_MOU_SALIDA_MOVIL_COR) or evol_MOU_SALIDA_MOVIL_COR < 0) then do;
                                    if (not missing(racf_co_estado_email_publicidad_) and racf_co_estado_email_publicidad_ < 0) then do;
                                        if (missing(evol_CA_ATF_R2) or evol_CA_ATF_R2 < 0) then do;
                                            if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
                                                treeValue60 = 0;
                                            end;
                                            else do;
                                                treeValue60 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue60 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (missing(evol_CA_TV_R2) or evol_CA_TV_R2 < 0) then do;
                                            if (missing(racf_ds_soporte_ba_catB) or racf_ds_soporte_ba_catB < 0) then do;
                                                if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                                    treeValue60 = 0;
                                                end;
                                                else do;
                                                    treeValue60 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue60 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue60 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue60 = 0;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue60 = 0;
                    end;
                end;
                else do;
                    treeValue60 = 0;
                end;
            end;
            else do;
                if (not missing(racm_co_plantari_lev_x_621_) and racm_co_plantari_lev_x_621_ < 0) then do;
                    if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                        treeValue60 = 0;
                    end;
                    else do;
                        treeValue60 = 0;
                    end;
                end;
                else do;
                    if (missing(evol_AVERIAS_R2) or evol_AVERIAS_R2 < 0) then do;
                        if (not missing(racm_in_gama_terminal_2_catP) and racm_in_gama_terminal_2_catP < 0) then do;
                            treeValue60 = 0;
                        end;
                        else do;
                            treeValue60 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(evol_VOLUMEN_DATOS_MBPS_R2) and evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                            treeValue60 = 0;
                        end;
                        else do;
                            treeValue60 = 0;
                        end;
                    end;
                end;
            end;
        end;
    end;
end;
else do;
    treeValue60 = 0;
end;

/* Parsing tree 61*/
if (missing(racf_ca_numeraciones) or racf_ca_numeraciones < 0) then do;
    if (missing(racm_pp_fx_ult_canje) or racm_pp_fx_ult_canje < 0) then do;
        if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
            if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                    treeValue61 = 0;
                end;
                else do;
                    treeValue61 = 0;
                end;
            end;
            else do;
                if (missing(evol_ARPU_MOVIL_R2) or evol_ARPU_MOVIL_R2 < 0) then do;
                    if (missing(evol_MOU_SALIDA_MOVIL_DEV) or evol_MOU_SALIDA_MOVIL_DEV < 0) then do;
                        if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                            if (missing(evol_AVERIAS_AVG_isBAD) or evol_AVERIAS_AVG_isBAD < 0) then do;
                                treeValue61 = 0;
                            end;
                            else do;
                                treeValue61 = 0;
                            end;
                        end;
                        else do;
                            if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
                                treeValue61 = 0;
                            end;
                            else do;
                                if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                                    if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                                        if (missing(racm_in_gama_terminal_lev_x_GAMA) or racm_in_gama_terminal_lev_x_GAMA < 0) then do;
                                            treeValue61 = 0;
                                        end;
                                        else do;
                                            treeValue61 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                                            treeValue61 = 0;
                                        end;
                                        else do;
                                            if (not missing(evol_MOU_TV_TOTAL_COR) and evol_MOU_TV_TOTAL_COR < 0) then do;
                                                treeValue61 = 0;
                                            end;
                                            else do;
                                                if (not missing(racf_co_sub_segmento_lev_x_RR5R_) and racf_co_sub_segmento_lev_x_RR5R_ < 0) then do;
                                                    if (not missing(evol_MOU_TV_OTROS_DEV) and evol_MOU_TV_OTROS_DEV < 0) then do;
                                                        if (missing(racf_nu_velocidad_adsl) or racf_nu_velocidad_adsl < 0) then do;
                                                            treeValue61 = 0;
                                                        end;
                                                        else do;
                                                            treeValue61 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (missing(racm_med_arpu_3meses_isBAD) or racm_med_arpu_3meses_isBAD < 0) then do;
                                                            treeValue61 = 0;
                                                        end;
                                                        else do;
                                                            treeValue61 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                                                        if (missing(evol_CA_MOVIL_R2) or evol_CA_MOVIL_R2 < 0) then do;
                                                            treeValue61 = 0;
                                                        end;
                                                        else do;
                                                            treeValue61 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) and evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                                            treeValue61 = 0;
                                                        end;
                                                        else do;
                                                            treeValue61 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_PT_LLAMADAS_COR) and evol_PT_LLAMADAS_COR < 0) then do;
                                        treeValue61 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                            if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                                treeValue61 = 0;
                                            end;
                                            else do;
                                                treeValue61 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue61 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue61 = 0;
                    end;
                end;
                else do;
                    treeValue61 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_co_plantari_2_catP) and racm_co_plantari_2_catP < 0) then do;
                treeValue61 = 0;
            end;
            else do;
                treeValue61 = 0;
            end;
        end;
    end;
    else do;
        treeValue61 = 0;
    end;
end;
else do;
    if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
        treeValue61 = 0;
    end;
    else do;
        treeValue61 = 0;
    end;
end;

/* Parsing tree 62*/
if (missing(racm_co_plantari_catB) or racm_co_plantari_catB < 0) then do;
    if (not missing(racm_pp_fx_ult_canje) and racm_pp_fx_ult_canje < 0) then do;
        if (not missing(evol_ARPU_TOTAL_DEV) and evol_ARPU_TOTAL_DEV < 0) then do;
            treeValue62 = 0;
        end;
        else do;
            if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                treeValue62 = 0;
            end;
            else do;
                treeValue62 = 0;
            end;
        end;
    end;
    else do;
        if (missing(evol_VOLUMEN_DATOS_MBPS_AVG) or evol_VOLUMEN_DATOS_MBPS_AVG < 0) then do;
            if (missing(evol_VOLUMEN_DATOS_MBPS_AVG) or evol_VOLUMEN_DATOS_MBPS_AVG < 0) then do;
                if (not missing(racm_co_planfact_catP) and racm_co_planfact_catP < 0) then do;
                    if (missing(evol_MOU_SALIDA_MOVIL_COR) or evol_MOU_SALIDA_MOVIL_COR < 0) then do;
                        if (missing(racm_ds_modelo_opt_2_lev_NA) or racm_ds_modelo_opt_2_lev_NA < 0) then do;
                            if (missing(racm_in_gama_terminal_actual_cat) or racm_in_gama_terminal_actual_cat < 0) then do;
                                treeValue62 = 0;
                            end;
                            else do;
                                treeValue62 = 0;
                            end;
                        end;
                        else do;
                            treeValue62 = 0;
                        end;
                    end;
                    else do;
                        treeValue62 = 0;
                    end;
                end;
                else do;
                    if (missing(racf_in_pedido_vuelo) or racf_in_pedido_vuelo < 0) then do;
                        if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                            if (not missing(evol_VOLUMEN_DATOS_MBPS_R2) and evol_VOLUMEN_DATOS_MBPS_R2 < 0) then do;
                                if (missing(racf_ds_agrup_servicio_tv_catP) or racf_ds_agrup_servicio_tv_catP < 0) then do;
                                    treeValue62 = 0;
                                end;
                                else do;
                                    treeValue62 = 0;
                                end;
                            end;
                            else do;
                                if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                                    if (not missing(racf_ds_tipo_fusion_lev_x_FUSION) and racf_ds_tipo_fusion_lev_x_FUSION < 0) then do;
                                        treeValue62 = 0;
                                    end;
                                    else do;
                                        if (not missing(racm_nu_antiguedad_terminal) and racm_nu_antiguedad_terminal < 0) then do;
                                            treeValue62 = 0;
                                        end;
                                        else do;
                                            if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                                                if (not missing(racf_ds_agrup_servicio_tv_lev_x_) and racf_ds_agrup_servicio_tv_lev_x_ < 0) then do;
                                                    treeValue62 = 0;
                                                end;
                                                else do;
                                                    if (not missing(evol_AVERIAS_R2) and evol_AVERIAS_R2 < 0) then do;
                                                        treeValue62 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_AVG) or evol_CA_ATENDIDAS_ENTRANTES_AVG < 0) then do;
                                                            treeValue62 = 0;
                                                        end;
                                                        else do;
                                                            treeValue62 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(evol_MOU_TV_OTROS_SLOP) and evol_MOU_TV_OTROS_SLOP < 0) then do;
                                                    treeValue62 = 0;
                                                end;
                                                else do;
                                                    treeValue62 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                                        treeValue62 = 0;
                                    end;
                                    else do;
                                        treeValue62 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue62 = 0;
                        end;
                    end;
                    else do;
                        treeValue62 = 0;
                    end;
                end;
            end;
            else do;
                treeValue62 = 0;
            end;
        end;
        else do;
            if (missing(racm_in_gama_terminal_actual_cat) or racm_in_gama_terminal_actual_cat < 0) then do;
                if (not missing(racm_med_arpu_3meses_3_isBAD) and racm_med_arpu_3meses_3_isBAD < 0) then do;
                    treeValue62 = 0;
                end;
                else do;
                    treeValue62 = 0;
                end;
            end;
            else do;
                treeValue62 = 0;
            end;
        end;
    end;
end;
else do;
    treeValue62 = 0;
end;

/* Parsing tree 63*/
if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
    treeValue63 = 0;
end;
else do;
    if (missing(racf_ca_numeraciones) or racf_ca_numeraciones < 0) then do;
        if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
            if (missing(racf_im_media_arpu_3meses_cabece) or racf_im_media_arpu_3meses_cabece < 0) then do;
                if (missing(racf_im_media_arpu_3meses_client) or racf_im_media_arpu_3meses_client < 0) then do;
                    if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                        if (missing(racm_med_arpu_3meses) or racm_med_arpu_3meses < 0) then do;
                            if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                                if (missing(evol_PT_LLAMADAS_N) or evol_PT_LLAMADAS_N < 0) then do;
                                    if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                                        treeValue63 = 0;
                                    end;
                                    else do;
                                        if (missing(racm_med_mou_6meses_2) or racm_med_mou_6meses_2 < 0) then do;
                                            if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                                                treeValue63 = 0;
                                            end;
                                            else do;
                                                treeValue63 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue63 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_MOU_TV_TOTAL_SLOP) and evol_MOU_TV_TOTAL_SLOP < 0) then do;
                                        treeValue63 = 0;
                                    end;
                                    else do;
                                        treeValue63 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                if (not missing(racf_ca_cine) and racf_ca_cine < 0) then do;
                                    if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                                        treeValue63 = 0;
                                    end;
                                    else do;
                                        treeValue63 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_ARPU_MOVIL_R2) or evol_ARPU_MOVIL_R2 < 0) then do;
                                        if (missing(evol_MOU_TV_PROPIOS_R2) or evol_MOU_TV_PROPIOS_R2 < 0) then do;
                                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                if (missing(racf_co_tipo_documento_catP) or racf_co_tipo_documento_catP < 0) then do;
                                                    if (missing(racm_nu_antiguedad_terminal) or racm_nu_antiguedad_terminal < 0) then do;
                                                        if (missing(racf_co_sub_segmento_catB) or racf_co_sub_segmento_catB < 0) then do;
                                                            treeValue63 = 0;
                                                        end;
                                                        else do;
                                                            treeValue63 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (missing(racf_in_cob_imag_nif) or racf_in_cob_imag_nif < 0) then do;
                                                            treeValue63 = 0;
                                                        end;
                                                        else do;
                                                            treeValue63 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue63 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (missing(racf_in_tiene_Imagenio) or racf_in_tiene_Imagenio < 0) then do;
                                                    if (missing(racm_ds_tipo_contrato_2_lev_NA) or racm_ds_tipo_contrato_2_lev_NA < 0) then do;
                                                        treeValue63 = 0;
                                                    end;
                                                    else do;
                                                        treeValue63 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue63 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                treeValue63 = 0;
                                            end;
                                            else do;
                                                treeValue63 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                            treeValue63 = 0;
                                        end;
                                        else do;
                                            treeValue63 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racf_ca_series) and racf_ca_series < 0) then do;
                                treeValue63 = 0;
                            end;
                            else do;
                                treeValue63 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (missing(racm_in_sexo_lev_x_H) or racm_in_sexo_lev_x_H < 0) then do;
                            treeValue63 = 0;
                        end;
                        else do;
                            treeValue63 = 0;
                        end;
                    end;
                end;
                else do;
                    if (missing(evol_MOU_TV_PROPIOS_COR) or evol_MOU_TV_PROPIOS_COR < 0) then do;
                        if (missing(racm_nu_antiguedad_terminal) or racm_nu_antiguedad_terminal < 0) then do;
                            if (not missing(evol_ARPU_TOTAL_AVG) and evol_ARPU_TOTAL_AVG < 0) then do;
                                treeValue63 = 0;
                            end;
                            else do;
                                treeValue63 = 0;
                            end;
                        end;
                        else do;
                            treeValue63 = 0;
                        end;
                    end;
                    else do;
                        treeValue63 = 0;
                    end;
                end;
            end;
            else do;
                treeValue63 = 0;
            end;
        end;
        else do;
            treeValue63 = 0;
        end;
    end;
    else do;
        if (not missing(racf_co_sector_nyp_lev_x_) and racf_co_sector_nyp_lev_x_ < 0) then do;
            treeValue63 = 0;
        end;
        else do;
            treeValue63 = 0;
        end;
    end;
end;

/* Parsing tree 64*/
if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        if (not missing(racm_fx_fin_cco_maximo_2_isBAD) and racm_fx_fin_cco_maximo_2_isBAD < 0) then do;
            if (missing(racf_ds_doto_catB) or racf_ds_doto_catB < 0) then do;
                treeValue64 = 0;
            end;
            else do;
                treeValue64 = 0;
            end;
        end;
        else do;
            if (not missing(racm_nu_antiguedad_terminal) and racm_nu_antiguedad_terminal < 0) then do;
                treeValue64 = 0;
            end;
            else do;
                if (missing(evol_PT_LLAMADAS_COR) or evol_PT_LLAMADAS_COR < 0) then do;
                    if (missing(evol_MOU_TV_OTROS_AVG) or evol_MOU_TV_OTROS_AVG < 0) then do;
                        if (missing(evol_MOU_TV_OTROS_AVG) or evol_MOU_TV_OTROS_AVG < 0) then do;
                            if (not missing(racf_ds_tipo_fusion_catB) and racf_ds_tipo_fusion_catB < 0) then do;
                                treeValue64 = 0;
                            end;
                            else do;
                                if (not missing(evol_MOU_TV_PROPIOS_DEV) and evol_MOU_TV_PROPIOS_DEV < 0) then do;
                                    treeValue64 = 0;
                                end;
                                else do;
                                    if (missing(evol_CA_TV_AVG) or evol_CA_TV_AVG < 0) then do;
                                        if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                            treeValue64 = 0;
                                        end;
                                        else do;
                                            treeValue64 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racf_ds_tipo_fusion_catP) and racf_ds_tipo_fusion_catP < 0) then do;
                                            treeValue64 = 0;
                                        end;
                                        else do;
                                            treeValue64 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue64 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racf_ca_series) and racf_ca_series < 0) then do;
                            treeValue64 = 0;
                        end;
                        else do;
                            treeValue64 = 0;
                        end;
                    end;
                end;
                else do;
                    treeValue64 = 0;
                end;
            end;
        end;
    end;
    else do;
        if (missing(evol_VOLUMEN_DATOS_MBPS_DEV) or evol_VOLUMEN_DATOS_MBPS_DEV < 0) then do;
            if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                if (not missing(racm_med_mou_6meses) and racm_med_mou_6meses < 0) then do;
                    if (missing(evol_MOU_TV_PROPIOS_DEV) or evol_MOU_TV_PROPIOS_DEV < 0) then do;
                        treeValue64 = 0;
                    end;
                    else do;
                        treeValue64 = 0;
                    end;
                end;
                else do;
                    if (not missing(racf_ds_tipo_fusion_catB) and racf_ds_tipo_fusion_catB < 0) then do;
                        if (not missing(racm_med_arpu_3meses_2_isBAD) and racm_med_arpu_3meses_2_isBAD < 0) then do;
                            treeValue64 = 0;
                        end;
                        else do;
                            if (not missing(evol_MOU_SALIDA_MOVIL_R2) and evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                                treeValue64 = 0;
                            end;
                            else do;
                                treeValue64 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                            treeValue64 = 0;
                        end;
                        else do;
                            if (not missing(evol_VOLUMEN_DATOS_MBPS_DEV) and evol_VOLUMEN_DATOS_MBPS_DEV < 0) then do;
                                if (missing(evol_PT_LLAMADAS_COR) or evol_PT_LLAMADAS_COR < 0) then do;
                                    treeValue64 = 0;
                                end;
                                else do;
                                    treeValue64 = 0;
                                end;
                            end;
                            else do;
                                if (missing(racf_ds_tipo_fusion_catP) or racf_ds_tipo_fusion_catP < 0) then do;
                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                                        if (not missing(racf_ca_sel_deportes) and racf_ca_sel_deportes < 0) then do;
                                            treeValue64 = 0;
                                        end;
                                        else do;
                                            if (missing(racm_med_arpu_3meses_cliente) or racm_med_arpu_3meses_cliente < 0) then do;
                                                if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                                                    treeValue64 = 0;
                                                end;
                                                else do;
                                                    if (missing(racm_ds_marca_opt_2_catB) or racm_ds_marca_opt_2_catB < 0) then do;
                                                        treeValue64 = 0;
                                                    end;
                                                    else do;
                                                        treeValue64 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                    treeValue64 = 0;
                                                end;
                                                else do;
                                                    treeValue64 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue64 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_CA_ATF_N) or evol_CA_ATF_N < 0) then do;
                                        if (not missing(evol_ARPU_TOTAL_AVG) and evol_ARPU_TOTAL_AVG < 0) then do;
                                            if (missing(evol_MOU_TV_TOTAL_N_isBAD) or evol_MOU_TV_TOTAL_N_isBAD < 0) then do;
                                                treeValue64 = 0;
                                            end;
                                            else do;
                                                treeValue64 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racf_co_estado_email_efactura_ca) and racf_co_estado_email_efactura_ca < 0) then do;
                                                treeValue64 = 0;
                                            end;
                                            else do;
                                                if (not missing(racf_ds_doto_catB) and racf_ds_doto_catB < 0) then do;
                                                    treeValue64 = 0;
                                                end;
                                                else do;
                                                    treeValue64 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue64 = 0;
                                    end;
                                end;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                    treeValue64 = 0;
                end;
                else do;
                    treeValue64 = 0;
                end;
            end;
        end;
        else do;
            treeValue64 = 0;
        end;
    end;
end;
else do;
    treeValue64 = 0;
end;

/* Parsing tree 65*/
if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        if (not missing(evol_MOU_TV_PROPIOS_AVG) and evol_MOU_TV_PROPIOS_AVG < 0) then do;
            treeValue65 = 0;
        end;
        else do;
            if (not missing(racm_co_plantari_2_catP) and racm_co_plantari_2_catP < 0) then do;
                treeValue65 = 0;
            end;
            else do;
                if (missing(evol_MOU_TV_PROPIOS_DEV) or evol_MOU_TV_PROPIOS_DEV < 0) then do;
                    treeValue65 = 0;
                end;
                else do;
                    treeValue65 = 0;
                end;
            end;
        end;
    end;
    else do;
        if (not missing(racm_pp_fx_ult_canje) and racm_pp_fx_ult_canje < 0) then do;
            if (not missing(racm_med_arpu_3meses_2) and racm_med_arpu_3meses_2 < 0) then do;
                treeValue65 = 0;
            end;
            else do;
                if (missing(racm_in_gama_terminal_2_catP) or racm_in_gama_terminal_2_catP < 0) then do;
                    treeValue65 = 0;
                end;
                else do;
                    treeValue65 = 0;
                end;
            end;
        end;
        else do;
            if (missing(evol_CA_MOVIL_N) or evol_CA_MOVIL_N < 0) then do;
                if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                    treeValue65 = 0;
                end;
                else do;
                    if (missing(evol_MOU_SALIDA_MOVIL_DEV) or evol_MOU_SALIDA_MOVIL_DEV < 0) then do;
                        if (not missing(racf_ds_agrup_servicio_tv_lev_x_) and racf_ds_agrup_servicio_tv_lev_x_ < 0) then do;
                            if (not missing(evol_MOU_SALIDA_MOVIL_COR_isBAD) and evol_MOU_SALIDA_MOVIL_COR_isBAD < 0) then do;
                                treeValue65 = 0;
                            end;
                            else do;
                                treeValue65 = 0;
                            end;
                        end;
                        else do;
                            if (not missing(evol_AVERIAS_AVG) and evol_AVERIAS_AVG < 0) then do;
                                treeValue65 = 0;
                            end;
                            else do;
                                if (missing(racf_im_media_arpu_fijo_3mes_cli) or racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                    if (not missing(racf_in_dts_F) and racf_in_dts_F < 0) then do;
                                        treeValue65 = 0;
                                    end;
                                    else do;
                                        if (missing(evol_CA_MOVIL_N) or evol_CA_MOVIL_N < 0) then do;
                                            if (missing(evol_MOU_TV_OTROS_R2) or evol_MOU_TV_OTROS_R2 < 0) then do;
                                                if (not missing(racf_ds_agrup_servicio_tv_lev_x_) and racf_ds_agrup_servicio_tv_lev_x_ < 0) then do;
                                                    treeValue65 = 0;
                                                end;
                                                else do;
                                                    if (missing(evol_MOU_SALIDA_MOVIL_N) or evol_MOU_SALIDA_MOVIL_N < 0) then do;
                                                        if (not missing(racf_im_media_arpu_fijo_3mes_cli) and racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                                            treeValue65 = 0;
                                                        end;
                                                        else do;
                                                            treeValue65 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue65 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue65 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue65 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(racm_nu_antiguedad_terminal) or racm_nu_antiguedad_terminal < 0) then do;
                                        if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                                            treeValue65 = 0;
                                        end;
                                        else do;
                                            treeValue65 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue65 = 0;
                                    end;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue65 = 0;
                    end;
                end;
            end;
            else do;
                treeValue65 = 0;
            end;
        end;
    end;
end;
else do;
    treeValue65 = 0;
end;

/* Parsing tree 66*/
if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
    if (not missing(racm_fx_fin_cco_maximo) and racm_fx_fin_cco_maximo < 0) then do;
        treeValue66 = 0;
    end;
    else do;
        if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
            if (missing(racf_im_media_arpu_3meses_cabece) or racf_im_media_arpu_3meses_cabece < 0) then do;
                if (missing(racf_ds_doto_lev_x_FusiA3n_ADSL_) or racf_ds_doto_lev_x_FusiA3n_ADSL_ < 0) then do;
                    if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                            if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                                if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                                    if (missing(evol_CA_MOVIL_DEV) or evol_CA_MOVIL_DEV < 0) then do;
                                        if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                                            treeValue66 = 0;
                                        end;
                                        else do;
                                            if (not missing(racf_ca_cine) and racf_ca_cine < 0) then do;
                                                if (missing(racf_im_media_arpu_fijo_3mes_cli) or racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                                    treeValue66 = 0;
                                                end;
                                                else do;
                                                    treeValue66 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(racf_ca_partidazo) and racf_ca_partidazo < 0) then do;
                                                    if (not missing(evol_MOU_TV_TOTAL_R2) and evol_MOU_TV_TOTAL_R2 < 0) then do;
                                                        treeValue66 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(evol_MOU_TV_TOTAL_AVG) or evol_MOU_TV_TOTAL_AVG < 0) then do;
                                                            treeValue66 = 0;
                                                        end;
                                                        else do;
                                                            treeValue66 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(evol_MOU_TV_TOTAL_R2) and evol_MOU_TV_TOTAL_R2 < 0) then do;
                                                        treeValue66 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(evol_ARPU_TOTAL_AVG) or evol_ARPU_TOTAL_AVG < 0) then do;
                                                            treeValue66 = 0;
                                                        end;
                                                        else do;
                                                            treeValue66 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue66 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue66 = 0;
                                end;
                            end;
                            else do;
                                if (not missing(racf_ds_doto_lev_x_FusiA3n_Fibra) and racf_ds_doto_lev_x_FusiA3n_Fibra < 0) then do;
                                    if (missing(evol_CA_MOVIL_DEV) or evol_CA_MOVIL_DEV < 0) then do;
                                        treeValue66 = 0;
                                    end;
                                    else do;
                                        treeValue66 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                        if (missing(evol_MOU_TV_OTROS_R2) or evol_MOU_TV_OTROS_R2 < 0) then do;
                                            if (not missing(racm_med_mou_6meses) and racm_med_mou_6meses < 0) then do;
                                                treeValue66 = 0;
                                            end;
                                            else do;
                                                if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                    if (missing(evol_MOU_TV_OTROS_AVG) or evol_MOU_TV_OTROS_AVG < 0) then do;
                                                        if (missing(evol_CA_MOVIL_DEV) or evol_CA_MOVIL_DEV < 0) then do;
                                                            treeValue66 = 0;
                                                        end;
                                                        else do;
                                                            treeValue66 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue66 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(racf_ca_partidazo) and racf_ca_partidazo < 0) then do;
                                                        treeValue66 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                                                            treeValue66 = 0;
                                                        end;
                                                        else do;
                                                            treeValue66 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (missing(racf_ds_tipo_fusion_catP) or racf_ds_tipo_fusion_catP < 0) then do;
                                                treeValue66 = 0;
                                            end;
                                            else do;
                                                treeValue66 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue66 = 0;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            treeValue66 = 0;
                        end;
                    end;
                    else do;
                        if (missing(racm_co_plantari_2_catP) or racm_co_plantari_2_catP < 0) then do;
                            if (not missing(racf_im_media_arpu_fijo_3mes_cli) and racf_im_media_arpu_fijo_3mes_cli < 0) then do;
                                treeValue66 = 0;
                            end;
                            else do;
                                treeValue66 = 0;
                            end;
                        end;
                        else do;
                            treeValue66 = 0;
                        end;
                    end;
                end;
                else do;
                    treeValue66 = 0;
                end;
            end;
            else do;
                treeValue66 = 0;
            end;
        end;
        else do;
            treeValue66 = 0;
        end;
    end;
end;
else do;
    treeValue66 = 0;
end;

/* Parsing tree 67*/
if (missing(racm_co_plantari_catB) or racm_co_plantari_catB < 0) then do;
    if (missing(racm_co_plantari_3_catB) or racm_co_plantari_3_catB < 0) then do;
        if (not missing(racf_IN_SERVICIO_TV_catB) and racf_IN_SERVICIO_TV_catB < 0) then do;
            if (not missing(evol_AVERIAS_DEV) and evol_AVERIAS_DEV < 0) then do;
                if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                    treeValue67 = 0;
                end;
                else do;
                    treeValue67 = 0;
                end;
            end;
            else do;
                if (missing(evol_MOU_TV_PROPIOS_R2) or evol_MOU_TV_PROPIOS_R2 < 0) then do;
                    if (not missing(racf_fx_alta_imagenio) and racf_fx_alta_imagenio < 0) then do;
                        treeValue67 = 0;
                    end;
                    else do;
                        treeValue67 = 0;
                    end;
                end;
                else do;
                    treeValue67 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_med_vol_dat_tot_6meses_3) and racm_med_vol_dat_tot_6meses_3 < 0) then do;
                treeValue67 = 0;
            end;
            else do;
                if (missing(evol_ARPU_FIJO_SLOP) or evol_ARPU_FIJO_SLOP < 0) then do;
                    if (not missing(evol_ARPU_FIJO_SLOP) and evol_ARPU_FIJO_SLOP < 0) then do;
                        treeValue67 = 0;
                    end;
                    else do;
                        if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                            treeValue67 = 0;
                        end;
                        else do;
                            if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                treeValue67 = 0;
                            end;
                            else do;
                                if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                    if (not missing(racm_in_gama_terminal_2_lev_x_NO) and racm_in_gama_terminal_2_lev_x_NO < 0) then do;
                                        treeValue67 = 0;
                                    end;
                                    else do;
                                        if (not missing(racm_in_sexo_lev_x_M) and racm_in_sexo_lev_x_M < 0) then do;
                                            treeValue67 = 0;
                                        end;
                                        else do;
                                            treeValue67 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                                        if (missing(racf_IN_SERVICIO_TV_catB) or racf_IN_SERVICIO_TV_catB < 0) then do;
                                            if (missing(evol_CA_ATF_N) or evol_CA_ATF_N < 0) then do;
                                                if (not missing(evol_ARPU_FIJO_DEV) and evol_ARPU_FIJO_DEV < 0) then do;
                                                    treeValue67 = 0;
                                                end;
                                                else do;
                                                    if (missing(evol_CO_TIPO_DOCUMENTO_catB) or evol_CO_TIPO_DOCUMENTO_catB < 0) then do;
                                                        if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                                            treeValue67 = 0;
                                                        end;
                                                        else do;
                                                            treeValue67 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue67 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                treeValue67 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue67 = 0;
                                        end;
                                    end;
                                    else do;
                                        treeValue67 = 0;
                                    end;
                                end;
                            end;
                        end;
                    end;
                end;
                else do;
                    treeValue67 = 0;
                end;
            end;
        end;
    end;
    else do;
        treeValue67 = 0;
    end;
end;
else do;
    treeValue67 = 0;
end;

/* Parsing tree 68*/
if (missing(racm_ds_modelo_opt_catB) or racm_ds_modelo_opt_catB < 0) then do;
    if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
        treeValue68 = 0;
    end;
    else do;
        if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
            if (missing(racm_co_plantari_catB) or racm_co_plantari_catB < 0) then do;
                if (missing(racf_fx_alta_imagenio) or racf_fx_alta_imagenio < 0) then do;
                    if (missing(evol_CA_ATF_R2) or evol_CA_ATF_R2 < 0) then do;
                        if (missing(racm_med_vol_dat_tot_6meses_2) or racm_med_vol_dat_tot_6meses_2 < 0) then do;
                            if (not missing(evol_ARPU_TOTAL_COR) and evol_ARPU_TOTAL_COR < 0) then do;
                                if (not missing(evol_AVERIAS_R2) and evol_AVERIAS_R2 < 0) then do;
                                    treeValue68 = 0;
                                end;
                                else do;
                                    if (not missing(evol_MOU_SALIDA_MOVIL_AVG) and evol_MOU_SALIDA_MOVIL_AVG < 0) then do;
                                        treeValue68 = 0;
                                    end;
                                    else do;
                                        if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                                            treeValue68 = 0;
                                        end;
                                        else do;
                                            if (missing(racf_in_tiene_YOMVI) or racf_in_tiene_YOMVI < 0) then do;
                                                if (not missing(evol_MOU_TV_OTROS_R2) and evol_MOU_TV_OTROS_R2 < 0) then do;
                                                    treeValue68 = 0;
                                                end;
                                                else do;
                                                    treeValue68 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue68 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                                    if (missing(racm_pp_fx_ult_canje) or racm_pp_fx_ult_canje < 0) then do;
                                        if (missing(evol_MOU_TV_TOTAL_AVG) or evol_MOU_TV_TOTAL_AVG < 0) then do;
                                            if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                                                if (missing(racm_nu_antiguedad_terminal_2_is) or racm_nu_antiguedad_terminal_2_is < 0) then do;
                                                    treeValue68 = 0;
                                                end;
                                                else do;
                                                    treeValue68 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (missing(racf_IN_SERVICIO_TV_catP) or racf_IN_SERVICIO_TV_catP < 0) then do;
                                                    if (not missing(evol_MOU_TV_PROPIOS_SLOP) and evol_MOU_TV_PROPIOS_SLOP < 0) then do;
                                                        treeValue68 = 0;
                                                    end;
                                                    else do;
                                                        if (not missing(racm_med_arpu_3meses_2) and racm_med_arpu_3meses_2 < 0) then do;
                                                            treeValue68 = 0;
                                                        end;
                                                        else do;
                                                            treeValue68 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    if (missing(racf_in_Despliegue_FTTH_nif_lev_) or racf_in_Despliegue_FTTH_nif_lev_ < 0) then do;
                                                        if (not missing(racm_in_gama_terminal_actual_cat) and racm_in_gama_terminal_actual_cat < 0) then do;
                                                            treeValue68 = 0;
                                                        end;
                                                        else do;
                                                            treeValue68 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue68 = 0;
                                                    end;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racm_fx_ultimo_acceso_mi_movista) and racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                                treeValue68 = 0;
                                            end;
                                            else do;
                                                if (not missing(racf_in_sexo_catP) and racf_in_sexo_catP < 0) then do;
                                                    treeValue68 = 0;
                                                end;
                                                else do;
                                                    treeValue68 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racf_ca_champions) and racf_ca_champions < 0) then do;
                                            treeValue68 = 0;
                                        end;
                                        else do;
                                            treeValue68 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(evol_MOU_TV_PROPIOS_DEV) and evol_MOU_TV_PROPIOS_DEV < 0) then do;
                                        treeValue68 = 0;
                                    end;
                                    else do;
                                        if (not missing(evol_MOU_TV_OTROS_DEV) and evol_MOU_TV_OTROS_DEV < 0) then do;
                                            treeValue68 = 0;
                                        end;
                                        else do;
                                            treeValue68 = 0;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
                                treeValue68 = 0;
                            end;
                            else do;
                                treeValue68 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (not missing(racf_ds_agrup_servicio_tv_catP) and racf_ds_agrup_servicio_tv_catP < 0) then do;
                            treeValue68 = 0;
                        end;
                        else do;
                            treeValue68 = 0;
                        end;
                    end;
                end;
                else do;
                    if (missing(racm_im_media_arpu_movil_3mes_cl) or racm_im_media_arpu_movil_3mes_cl < 0) then do;
                        treeValue68 = 0;
                    end;
                    else do;
                        treeValue68 = 0;
                    end;
                end;
            end;
            else do;
                treeValue68 = 0;
            end;
        end;
        else do;
            treeValue68 = 0;
        end;
    end;
end;
else do;
    treeValue68 = 0;
end;

/* Parsing tree 69*/
if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
    if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
            treeValue69 = 0;
        end;
        else do;
            if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                    treeValue69 = 0;
                end;
                else do;
                    if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                        if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                            if (not missing(evol_MOU_TV_OTROS_R2) and evol_MOU_TV_OTROS_R2 < 0) then do;
                                treeValue69 = 0;
                            end;
                            else do;
                                treeValue69 = 0;
                            end;
                        end;
                        else do;
                            if (missing(evol_MOU_TV_OTROS_AVG) or evol_MOU_TV_OTROS_AVG < 0) then do;
                                treeValue69 = 0;
                            end;
                            else do;
                                treeValue69 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (not missing(racm_ds_marca_opt_2_lev_x_APPLE) and racm_ds_marca_opt_2_lev_x_APPLE < 0) then do;
                            treeValue69 = 0;
                        end;
                        else do;
                            if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                                treeValue69 = 0;
                            end;
                            else do;
                                if (not missing(racm_ds_marca_opt_catB) and racm_ds_marca_opt_catB < 0) then do;
                                    if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                                        if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                            if (missing(racm_ds_modelo_opt_catP) or racm_ds_modelo_opt_catP < 0) then do;
                                                treeValue69 = 0;
                                            end;
                                            else do;
                                                treeValue69 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue69 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racm_co_plantari_2_lev_x_622_) and racm_co_plantari_2_lev_x_622_ < 0) then do;
                                            if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                treeValue69 = 0;
                                            end;
                                            else do;
                                                treeValue69 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (missing(evol_RECLAMACIONES_R2) or evol_RECLAMACIONES_R2 < 0) then do;
                                                treeValue69 = 0;
                                            end;
                                            else do;
                                                treeValue69 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                                        if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                                            treeValue69 = 0;
                                        end;
                                        else do;
                                            if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                                                treeValue69 = 0;
                                            end;
                                            else do;
                                                treeValue69 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racf_ds_doto_catP) and racf_ds_doto_catP < 0) then do;
                                            if (missing(racm_in_sexo_lev_x_H) or racm_in_sexo_lev_x_H < 0) then do;
                                                treeValue69 = 0;
                                            end;
                                            else do;
                                                treeValue69 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(racf_nu_velocidad_adsl) and racf_nu_velocidad_adsl < 0) then do;
                                                if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                                                    treeValue69 = 0;
                                                end;
                                                else do;
                                                    treeValue69 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(racf_ds_tipo_fusion_lev_x_) and racf_ds_tipo_fusion_lev_x_ < 0) then do;
                                                    if (missing(racf_IN_SERVICIO_TV_catP) or racf_IN_SERVICIO_TV_catP < 0) then do;
                                                        if (not missing(racf_in_pedido_vuelo) and racf_in_pedido_vuelo < 0) then do;
                                                            treeValue69 = 0;
                                                        end;
                                                        else do;
                                                            treeValue69 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        treeValue69 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                                                        treeValue69 = 0;
                                                    end;
                                                    else do;
                                                        treeValue69 = 0;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                if (missing(racm_med_mou_6meses_2) or racm_med_mou_6meses_2 < 0) then do;
                    if (missing(evol_ARPU_TOTAL_SLOP) or evol_ARPU_TOTAL_SLOP < 0) then do;
                        if (not missing(evol_MOU_TV_OTROS_AVG) and evol_MOU_TV_OTROS_AVG < 0) then do;
                            treeValue69 = 0;
                        end;
                        else do;
                            if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                treeValue69 = 0;
                            end;
                            else do;
                                treeValue69 = 0;
                            end;
                        end;
                    end;
                    else do;
                        treeValue69 = 0;
                    end;
                end;
                else do;
                    if (not missing(evol_MOU_TV_OTROS_SLOP) and evol_MOU_TV_OTROS_SLOP < 0) then do;
                        treeValue69 = 0;
                    end;
                    else do;
                        if (missing(evol_MOU_TV_TOTAL_DEV) or evol_MOU_TV_TOTAL_DEV < 0) then do;
                            treeValue69 = 0;
                        end;
                        else do;
                            treeValue69 = 0;
                        end;
                    end;
                end;
            end;
        end;
    end;
    else do;
        treeValue69 = 0;
    end;
end;
else do;
    treeValue69 = 0;
end;

/* Parsing tree 70*/
if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
    treeValue70 = 0;
end;
else do;
    if (missing(evol_MOU_SALIDA_MOVIL_AVG) or evol_MOU_SALIDA_MOVIL_AVG < 0) then do;
        if (missing(racf_ca_numeraciones) or racf_ca_numeraciones < 0) then do;
            if (missing(racm_pp_fx_ult_canje) or racm_pp_fx_ult_canje < 0) then do;
                if (missing(evol_AVERIAS_SLOP) or evol_AVERIAS_SLOP < 0) then do;
                    if (missing(evol_CA_BAF_SLOP) or evol_CA_BAF_SLOP < 0) then do;
                        if (not missing(evol_PT_LLAMADAS_AVG) and evol_PT_LLAMADAS_AVG < 0) then do;
                            treeValue70 = 0;
                        end;
                        else do;
                            if (not missing(racf_in_velocidad_downgrade) and racf_in_velocidad_downgrade < 0) then do;
                                treeValue70 = 0;
                            end;
                            else do;
                                if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                                    if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                                        if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                                            treeValue70 = 0;
                                        end;
                                        else do;
                                            if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                                                if (missing(racm_in_portfolio_2_catB) or racm_in_portfolio_2_catB < 0) then do;
                                                    if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                                        treeValue70 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                                            treeValue70 = 0;
                                                        end;
                                                        else do;
                                                            treeValue70 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                                                        treeValue70 = 0;
                                                    end;
                                                    else do;
                                                        treeValue70 = 0;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(racm_co_plantari_lev_x_621_) and racm_co_plantari_lev_x_621_ < 0) then do;
                                                    treeValue70 = 0;
                                                end;
                                                else do;
                                                    treeValue70 = 0;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue70 = 0;
                                    end;
                                end;
                                else do;
                                    if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                        if (missing(evol_ARPU_MOVIL_R2) or evol_ARPU_MOVIL_R2 < 0) then do;
                                            if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                                if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                                                    if (missing(racm_co_plantari_catP) or racm_co_plantari_catP < 0) then do;
                                                        if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                                                            treeValue70 = 0;
                                                        end;
                                                        else do;
                                                            treeValue70 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (not missing(racm_med_arpu_3meses_2_isBAD) and racm_med_arpu_3meses_2_isBAD < 0) then do;
                                                            treeValue70 = 0;
                                                        end;
                                                        else do;
                                                            treeValue70 = 0;
                                                        end;
                                                    end;
                                                end;
                                                else do;
                                                    if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                                                        treeValue70 = 0;
                                                    end;
                                                    else do;
                                                        if (missing(evol_ARPU_TOTAL_R2) or evol_ARPU_TOTAL_R2 < 0) then do;
                                                            treeValue70 = 0;
                                                        end;
                                                        else do;
                                                            treeValue70 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (missing(racm_co_plantari_catP) or racm_co_plantari_catP < 0) then do;
                                                    treeValue70 = 0;
                                                end;
                                                else do;
                                                    treeValue70 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            treeValue70 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(evol_MOU_TV_PROPIOS_R2) and evol_MOU_TV_PROPIOS_R2 < 0) then do;
                                            treeValue70 = 0;
                                        end;
                                        else do;
                                            if (not missing(racf_co_estado_email_publicidad_) and racf_co_estado_email_publicidad_ < 0) then do;
                                                treeValue70 = 0;
                                            end;
                                            else do;
                                                treeValue70 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                    end;
                    else do;
                        treeValue70 = 0;
                    end;
                end;
                else do;
                    treeValue70 = 0;
                end;
            end;
            else do;
                treeValue70 = 0;
            end;
        end;
        else do;
            if (not missing(evol_ARPU_TOTAL_R2) and evol_ARPU_TOTAL_R2 < 0) then do;
                treeValue70 = 0;
            end;
            else do;
                treeValue70 = 0;
            end;
        end;
    end;
    else do;
        treeValue70 = 0;
    end;
end;

/* Parsing tree 71*/
if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
    if (not missing(racm_med_mou_6meses) and racm_med_mou_6meses < 0) then do;
        treeValue71 = 0;
    end;
    else do;
        if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
            if (missing(evol_ARPU_FIJO_DEV) or evol_ARPU_FIJO_DEV < 0) then do;
                if (not missing(evol_ARPU_TOTAL_SLOP) and evol_ARPU_TOTAL_SLOP < 0) then do;
                    treeValue71 = 0;
                end;
                else do;
                    if (not missing(evol_MOU_TV_PROPIOS_COR) and evol_MOU_TV_PROPIOS_COR < 0) then do;
                        treeValue71 = 0;
                    end;
                    else do;
                        if (not missing(racf_in_cob_imag_nif) and racf_in_cob_imag_nif < 0) then do;
                            treeValue71 = 0;
                        end;
                        else do;
                            treeValue71 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue71 = 0;
            end;
        end;
        else do;
            treeValue71 = 0;
        end;
    end;
end;
else do;
    if (not missing(evol_PT_LLAMADAS_DEV) and evol_PT_LLAMADAS_DEV < 0) then do;
        treeValue71 = 0;
    end;
    else do;
        if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
            if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
                treeValue71 = 0;
            end;
            else do;
                treeValue71 = 0;
            end;
        end;
        else do;
            if (missing(evol_VOLUMEN_DATOS_MBPS_DEV) or evol_VOLUMEN_DATOS_MBPS_DEV < 0) then do;
                if (not missing(racm_co_planfact_lev_x_621_) and racm_co_planfact_lev_x_621_ < 0) then do;
                    if (missing(racm_med_mou_6meses_2_isBAD) or racm_med_mou_6meses_2_isBAD < 0) then do;
                        if (missing(racm_med_vol_dat_tot_6meses_2) or racm_med_vol_dat_tot_6meses_2 < 0) then do;
                            if (missing(evol_MOU_TV_OTROS_COR_isBAD) or evol_MOU_TV_OTROS_COR_isBAD < 0) then do;
                                if (not missing(racf_im_media_arpu_3meses_cabece) and racf_im_media_arpu_3meses_cabece < 0) then do;
                                    treeValue71 = 0;
                                end;
                                else do;
                                    treeValue71 = 0;
                                end;
                            end;
                            else do;
                                treeValue71 = 0;
                            end;
                        end;
                        else do;
                            treeValue71 = 0;
                        end;
                    end;
                    else do;
                        treeValue71 = 0;
                    end;
                end;
                else do;
                    if (not missing(racm_in_gama_terminal_actual_lev) and racm_in_gama_terminal_actual_lev < 0) then do;
                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_COR) or evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                            if (missing(racm_nu_antiguedad_terminal) or racm_nu_antiguedad_terminal < 0) then do;
                                if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                    if (missing(racf_co_estado_email_efactura_le) or racf_co_estado_email_efactura_le < 0) then do;
                                        treeValue71 = 0;
                                    end;
                                    else do;
                                        treeValue71 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue71 = 0;
                                end;
                            end;
                            else do;
                                treeValue71 = 0;
                            end;
                        end;
                        else do;
                            treeValue71 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_R2) and evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                            if (missing(evol_ARPU_FIJO_COR) or evol_ARPU_FIJO_COR < 0) then do;
                                if (not missing(evol_ARPU_TOTAL_SLOP) and evol_ARPU_TOTAL_SLOP < 0) then do;
                                    treeValue71 = 0;
                                end;
                                else do;
                                    if (missing(racm_co_sistema_catB) or racm_co_sistema_catB < 0) then do;
                                        treeValue71 = 0;
                                    end;
                                    else do;
                                        treeValue71 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                    treeValue71 = 0;
                                end;
                                else do;
                                    treeValue71 = 0;
                                end;
                            end;
                        end;
                        else do;
                            if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                if (missing(racf_in_cob_adsl_nif) or racf_in_cob_adsl_nif < 0) then do;
                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                                        if (missing(racf_in_tipo_doto) or racf_in_tipo_doto < 0) then do;
                                            if (missing(racm_co_plantari_2_catB) or racm_co_plantari_2_catB < 0) then do;
                                                if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                                    treeValue71 = 0;
                                                end;
                                                else do;
                                                    treeValue71 = 0;
                                                end;
                                            end;
                                            else do;
                                                treeValue71 = 0;
                                            end;
                                        end;
                                        else do;
                                            treeValue71 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(racm_ds_tipo_contrato_lev_x_VOZ_) and racm_ds_tipo_contrato_lev_x_VOZ_ < 0) then do;
                                            treeValue71 = 0;
                                        end;
                                        else do;
                                            if (missing(evol_MOU_TV_PROPIOS_SLOP) or evol_MOU_TV_PROPIOS_SLOP < 0) then do;
                                                treeValue71 = 0;
                                            end;
                                            else do;
                                                treeValue71 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_CA_ATENDIDAS_ENTRANTES_SLOP) or evol_CA_ATENDIDAS_ENTRANTES_SLOP < 0) then do;
                                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_COR) and evol_CA_ATENDIDAS_ENTRANTES_COR < 0) then do;
                                            treeValue71 = 0;
                                        end;
                                        else do;
                                            if (not missing(racm_ds_modelo_opt_catP) and racm_ds_modelo_opt_catP < 0) then do;
                                                treeValue71 = 0;
                                            end;
                                            else do;
                                                treeValue71 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue71 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue71 = 0;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue71 = 0;
            end;
        end;
    end;
end;

/* Parsing tree 72*/
if (not missing(racm_ds_modelo_opt_catB) and racm_ds_modelo_opt_catB < 0) then do;
    if (missing(evol_AVERIAS_COR) or evol_AVERIAS_COR < 0) then do;
        if (not missing(evol_AVERIAS_R2) and evol_AVERIAS_R2 < 0) then do;
            treeValue72 = 0;
        end;
        else do;
            if (not missing(racm_co_plantari_2_catP) and racm_co_plantari_2_catP < 0) then do;
                treeValue72 = 0;
            end;
            else do;
                if (missing(racf_fx_inicio_cobertura_FTTH_ni) or racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                    if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
                        if (not missing(racm_in_gama_terminal_actual_2_c) and racm_in_gama_terminal_actual_2_c < 0) then do;
                            treeValue72 = 0;
                        end;
                        else do;
                            treeValue72 = 0;
                        end;
                    end;
                    else do;
                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) or evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                            if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                                treeValue72 = 0;
                            end;
                            else do;
                                if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                    treeValue72 = 0;
                                end;
                                else do;
                                    treeValue72 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue72 = 0;
                        end;
                    end;
                end;
                else do;
                    if (not missing(racm_ds_marca_opt_2_catP) and racm_ds_marca_opt_2_catP < 0) then do;
                        treeValue72 = 0;
                    end;
                    else do;
                        treeValue72 = 0;
                    end;
                end;
            end;
        end;
    end;
    else do;
        treeValue72 = 0;
    end;
end;
else do;
    if (not missing(evol_ARPU_FIJO_AVG) and evol_ARPU_FIJO_AVG < 0) then do;
        if (missing(evol_MOU_TV_PROPIOS_DEV) or evol_MOU_TV_PROPIOS_DEV < 0) then do;
            if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                if (not missing(evol_ARPU_FIJO_AVG) and evol_ARPU_FIJO_AVG < 0) then do;
                    treeValue72 = 0;
                end;
                else do;
                    treeValue72 = 0;
                end;
            end;
            else do;
                if (not missing(racm_pp_fx_ult_canje) and racm_pp_fx_ult_canje < 0) then do;
                    treeValue72 = 0;
                end;
                else do;
                    if (not missing(racf_fx_inicio_cobertura_FTTH_ni) and racf_fx_inicio_cobertura_FTTH_ni < 0) then do;
                        treeValue72 = 0;
                    end;
                    else do;
                        if (not missing(racm_ds_modelo_opt_2_catB) and racm_ds_modelo_opt_2_catB < 0) then do;
                            treeValue72 = 0;
                        end;
                        else do;
                            treeValue72 = 0;
                        end;
                    end;
                end;
            end;
        end;
        else do;
            if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                treeValue72 = 0;
            end;
            else do;
                treeValue72 = 0;
            end;
        end;
    end;
    else do;
        if (not missing(evol_ARPU_FIJO_AVG) and evol_ARPU_FIJO_AVG < 0) then do;
            if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                treeValue72 = 0;
            end;
            else do;
                if (not missing(racf_co_estado_email_publicidad_) and racf_co_estado_email_publicidad_ < 0) then do;
                    treeValue72 = 0;
                end;
                else do;
                    treeValue72 = 0;
                end;
            end;
        end;
        else do;
            if (missing(racm_med_arpu_3meses_cliente) or racm_med_arpu_3meses_cliente < 0) then do;
                if (not missing(racm_med_arpu_3meses_cliente) and racm_med_arpu_3meses_cliente < 0) then do;
                    if (not missing(evol_MOU_TV_OTROS_DEV) and evol_MOU_TV_OTROS_DEV < 0) then do;
                        treeValue72 = 0;
                    end;
                    else do;
                        if (not missing(racf_co_estado_email_publicidad_) and racf_co_estado_email_publicidad_ < 0) then do;
                            treeValue72 = 0;
                        end;
                        else do;
                            treeValue72 = 0;
                        end;
                    end;
                end;
                else do;
                    if (not missing(racm_ds_tramo_ultima_portada_cat) and racm_ds_tramo_ultima_portada_cat < 0) then do;
                        if (not missing(evol_PT_LLAMADAS_R2) and evol_PT_LLAMADAS_R2 < 0) then do;
                            treeValue72 = 0;
                        end;
                        else do;
                            if (not missing(evol_RECLAMACIONES_AVG_isBAD) and evol_RECLAMACIONES_AVG_isBAD < 0) then do;
                                treeValue72 = 0;
                            end;
                            else do;
                                treeValue72 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (missing(evol_CO_TIPO_DOCUMENTO_catB) or evol_CO_TIPO_DOCUMENTO_catB < 0) then do;
                            if (not missing(racf_ds_idioma_lev_x_Castellano_) and racf_ds_idioma_lev_x_Castellano_ < 0) then do;
                                treeValue72 = 0;
                            end;
                            else do;
                                if (missing(evol_PT_LLAMADAS_R2) or evol_PT_LLAMADAS_R2 < 0) then do;
                                    if (missing(racf_co_sub_segmento_lev_x_RR2R_) or racf_co_sub_segmento_lev_x_RR2R_ < 0) then do;
                                        if (not missing(evol_CA_ATENDIDAS_ENTRANTES_DEV) and evol_CA_ATENDIDAS_ENTRANTES_DEV < 0) then do;
                                            if (missing(racm_in_sexo_catP) or racm_in_sexo_catP < 0) then do;
                                                treeValue72 = 0;
                                            end;
                                            else do;
                                                treeValue72 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(evol_ARPU_TOTAL_SLOP) and evol_ARPU_TOTAL_SLOP < 0) then do;
                                                treeValue72 = 0;
                                            end;
                                            else do;
                                                treeValue72 = 0;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        treeValue72 = 0;
                                    end;
                                end;
                                else do;
                                    treeValue72 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue72 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue72 = 0;
            end;
        end;
    end;
end;

/* Parsing tree 73*/
if (missing(racf_co_sub_segmento_catP) or racf_co_sub_segmento_catP < 0) then do;
    if (missing(evol_CA_BAF_AVG) or evol_CA_BAF_AVG < 0) then do;
        if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
            treeValue73 = 0;
        end;
        else do;
            if (missing(racm_co_plantari_3_catB) or racm_co_plantari_3_catB < 0) then do;
                if (not missing(evol_AVERIAS_SLOP) and evol_AVERIAS_SLOP < 0) then do;
                    treeValue73 = 0;
                end;
                else do;
                    if (missing(racm_med_arpu_3meses_cliente_isB) or racm_med_arpu_3meses_cliente_isB < 0) then do;
                        if (missing(evol_ARPU_MOVIL_COR) or evol_ARPU_MOVIL_COR < 0) then do;
                            if (missing(racf_co_tipo_documento_lev_x_R_) or racf_co_tipo_documento_lev_x_R_ < 0) then do;
                                if (missing(racf_ds_agrup_servicio_tv_catB) or racf_ds_agrup_servicio_tv_catB < 0) then do;
                                    if (not missing(racm_in_gama_terminal_actual_lev) and racm_in_gama_terminal_actual_lev < 0) then do;
                                        if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
                                            if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                                                treeValue73 = 0;
                                            end;
                                            else do;
                                                treeValue73 = 0;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(evol_VOLUMEN_DATOS_MBPS_COR) and evol_VOLUMEN_DATOS_MBPS_COR < 0) then do;
                                                treeValue73 = 0;
                                            end;
                                            else do;
                                                if (not missing(racm_in_gama_terminal_2_catP) and racm_in_gama_terminal_2_catP < 0) then do;
                                                    treeValue73 = 0;
                                                end;
                                                else do;
                                                    if (missing(racm_med_vol_dat_tot_6meses) or racm_med_vol_dat_tot_6meses < 0) then do;
                                                        treeValue73 = 0;
                                                    end;
                                                    else do;
                                                        treeValue73 = 0;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(evol_VOLUMEN_DATOS_MBPS_COR) and evol_VOLUMEN_DATOS_MBPS_COR < 0) then do;
                                            treeValue73 = 0;
                                        end;
                                        else do;
                                            if (not missing(racf_ds_agrup_servicio_tv_catB) and racf_ds_agrup_servicio_tv_catB < 0) then do;
                                                if (missing(evol_MOU_TV_TOTAL_R2) or evol_MOU_TV_TOTAL_R2 < 0) then do;
                                                    if (missing(racm_in_gama_terminal_lev_x_GAMA) or racm_in_gama_terminal_lev_x_GAMA < 0) then do;
                                                        treeValue73 = 0;
                                                    end;
                                                    else do;
                                                        treeValue73 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    treeValue73 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(evol_VOLUMEN_DATOS_MBPS_COR) and evol_VOLUMEN_DATOS_MBPS_COR < 0) then do;
                                                    treeValue73 = 0;
                                                end;
                                                else do;
                                                    if (missing(racf_in_sexo_catP) or racf_in_sexo_catP < 0) then do;
                                                        if (missing(racf_im_media_arpu_total_3mes_cl) or racf_im_media_arpu_total_3mes_cl < 0) then do;
                                                            treeValue73 = 0;
                                                        end;
                                                        else do;
                                                            treeValue73 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (not missing(evol_MOU_TV_OTROS_R2) and evol_MOU_TV_OTROS_R2 < 0) then do;
                                                            treeValue73 = 0;
                                                        end;
                                                        else do;
                                                            treeValue73 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    if (missing(evol_MOU_SALIDA_MOVIL_SLOP_isBAD) or evol_MOU_SALIDA_MOVIL_SLOP_isBAD < 0) then do;
                                        treeValue73 = 0;
                                    end;
                                    else do;
                                        treeValue73 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                treeValue73 = 0;
                            end;
                        end;
                        else do;
                            if (missing(racm_fx_ultimo_acceso_mi_movista) or racm_fx_ultimo_acceso_mi_movista < 0) then do;
                                treeValue73 = 0;
                            end;
                            else do;
                                treeValue73 = 0;
                            end;
                        end;
                    end;
                    else do;
                        if (not missing(racf_ds_tipo_fusion_catB) and racf_ds_tipo_fusion_catB < 0) then do;
                            treeValue73 = 0;
                        end;
                        else do;
                            if (not missing(evol_CA_MOVIL_AVG) and evol_CA_MOVIL_AVG < 0) then do;
                                if (not missing(evol_MOU_SALIDA_MOVIL_R2) and evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                                    treeValue73 = 0;
                                end;
                                else do;
                                    if (missing(racf_ds_tipo_fusion_catB) or racf_ds_tipo_fusion_catB < 0) then do;
                                        treeValue73 = 0;
                                    end;
                                    else do;
                                        treeValue73 = 0;
                                    end;
                                end;
                            end;
                            else do;
                                if (missing(racm_in_gama_terminal_catP) or racm_in_gama_terminal_catP < 0) then do;
                                    if (not missing(racf_co_sub_segmento_catP) and racf_co_sub_segmento_catP < 0) then do;
                                        if (missing(evol_ARPU_FIJO_R2) or evol_ARPU_FIJO_R2 < 0) then do;
                                            treeValue73 = 0;
                                        end;
                                        else do;
                                            treeValue73 = 0;
                                        end;
                                    end;
                                    else do;
                                        if (not missing(evol_ARPU_FIJO_R2) and evol_ARPU_FIJO_R2 < 0) then do;
                                            treeValue73 = 0;
                                        end;
                                        else do;
                                            if (not missing(racf_in_sexo_lev_x_H_) and racf_in_sexo_lev_x_H_ < 0) then do;
                                                treeValue73 = 0;
                                            end;
                                            else do;
                                                treeValue73 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue73 = 0;
                                end;
                            end;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue73 = 0;
            end;
        end;
    end;
    else do;
        treeValue73 = 0;
    end;
end;
else do;
    treeValue73 = 0;
end;

/* Parsing tree 74*/
if (missing(racm_NU_LINEAS_MOVIL_ACTIVAS_CLI) or racm_NU_LINEAS_MOVIL_ACTIVAS_CLI < 0) then do;
    if (missing(racm_ds_modelo_opt_3_catB) or racm_ds_modelo_opt_3_catB < 0) then do;
        if (missing(racm_ds_modelo_opt_2_catB) or racm_ds_modelo_opt_2_catB < 0) then do;
            if (missing(evol_ARPU_TOTAL_SLOP) or evol_ARPU_TOTAL_SLOP < 0) then do;
                if (not missing(evol_AVERIAS_R2) and evol_AVERIAS_R2 < 0) then do;
                    if (not missing(evol_MOU_TV_OTROS_R2) and evol_MOU_TV_OTROS_R2 < 0) then do;
                        treeValue74 = 0;
                    end;
                    else do;
                        treeValue74 = 0;
                    end;
                end;
                else do;
                    if (missing(evol_VOLUMEN_DATOS_MBPS_AVG) or evol_VOLUMEN_DATOS_MBPS_AVG < 0) then do;
                        if (missing(racf_ca_numeraciones) or racf_ca_numeraciones < 0) then do;
                            if (missing(evol_ARPU_FIJO_AVG) or evol_ARPU_FIJO_AVG < 0) then do;
                                if (missing(evol_ARPU_TOTAL_SLOP) or evol_ARPU_TOTAL_SLOP < 0) then do;
                                    if (missing(racf_ca_series_extra) or racf_ca_series_extra < 0) then do;
                                        if (not missing(racf_ds_tipo_fusion_lev_x_FUSION) and racf_ds_tipo_fusion_lev_x_FUSION < 0) then do;
                                            treeValue74 = 0;
                                        end;
                                        else do;
                                            if (missing(evol_MOU_TV_TOTAL_COR) or evol_MOU_TV_TOTAL_COR < 0) then do;
                                                if (not missing(evol_ARPU_MOVIL_AVG) and evol_ARPU_MOVIL_AVG < 0) then do;
                                                    treeValue74 = 0;
                                                end;
                                                else do;
                                                    if (not missing(evol_ARPU_FIJO_COR) and evol_ARPU_FIJO_COR < 0) then do;
                                                        if (missing(racm_in_portfolio_2_catB) or racm_in_portfolio_2_catB < 0) then do;
                                                            treeValue74 = 0;
                                                        end;
                                                        else do;
                                                            treeValue74 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (missing(racm_in_alta_mi_movistar) or racm_in_alta_mi_movistar < 0) then do;
                                                            treeValue74 = 0;
                                                        end;
                                                        else do;
                                                            treeValue74 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                            else do;
                                                if (missing(racm_in_alta_mi_movistar) or racm_in_alta_mi_movistar < 0) then do;
                                                    if (missing(evol_MOU_TV_OTROS_AVG) or evol_MOU_TV_OTROS_AVG < 0) then do;
                                                        treeValue74 = 0;
                                                    end;
                                                    else do;
                                                        treeValue74 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (missing(evol_ARPU_FIJO_AVG) or evol_ARPU_FIJO_AVG < 0) then do;
                                                        treeValue74 = 0;
                                                    end;
                                                    else do;
                                                        treeValue74 = 0;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                    else do;
                                        if (missing(racm_ds_marca_opt_2_lev_NA) or racm_ds_marca_opt_2_lev_NA < 0) then do;
                                            treeValue74 = 0;
                                        end;
                                        else do;
                                            treeValue74 = 0;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue74 = 0;
                                end;
                            end;
                            else do;
                                if (missing(racf_in_toros_isBAD) or racf_in_toros_isBAD < 0) then do;
                                    if (not missing(evol_VOLUMEN_DATOS_MBPS_AVG) and evol_VOLUMEN_DATOS_MBPS_AVG < 0) then do;
                                        treeValue74 = 0;
                                    end;
                                    else do;
                                        if (not missing(racf_co_estado_email_publicidad_) and racf_co_estado_email_publicidad_ < 0) then do;
                                            treeValue74 = 0;
                                        end;
                                        else do;
                                            if (missing(evol_PT_LLAMADAS_AVG) or evol_PT_LLAMADAS_AVG < 0) then do;
                                                treeValue74 = 0;
                                            end;
                                            else do;
                                                treeValue74 = 0;
                                            end;
                                        end;
                                    end;
                                end;
                                else do;
                                    treeValue74 = 0;
                                end;
                            end;
                        end;
                        else do;
                            treeValue74 = 0;
                        end;
                    end;
                    else do;
                        if (not missing(racm_ds_modelo_opt_3_catB) and racm_ds_modelo_opt_3_catB < 0) then do;
                            treeValue74 = 0;
                        end;
                        else do;
                            treeValue74 = 0;
                        end;
                    end;
                end;
            end;
            else do;
                treeValue74 = 0;
            end;
        end;
        else do;
            treeValue74 = 0;
        end;
    end;
    else do;
        treeValue74 = 0;
    end;
end;
else do;
    treeValue74 = 0;
end;

/* Parsing tree 75*/
if (missing(racm_med_arpu_3meses) or racm_med_arpu_3meses < 0) then do;
    if (not missing(evol_AVERIAS_SLOP) and evol_AVERIAS_SLOP < 0) then do;
        treeValue75 = 0;
    end;
    else do;
        if (not missing(evol_MOU_TV_TOTAL_AVG) and evol_MOU_TV_TOTAL_AVG < 0) then do;
            if (not missing(evol_MOU_TV_TOTAL_DEV) and evol_MOU_TV_TOTAL_DEV < 0) then do;
                treeValue75 = 0;
            end;
            else do;
                if (not missing(evol_MOU_TV_PROPIOS_AVG) and evol_MOU_TV_PROPIOS_AVG < 0) then do;
                    treeValue75 = 0;
                end;
                else do;
                    treeValue75 = 0;
                end;
            end;
        end;
        else do;
            if (not missing(racm_pp_fx_ult_canje) and racm_pp_fx_ult_canje < 0) then do;
                if (not missing(evol_VOLUMEN_DATOS_MBPS_COR) and evol_VOLUMEN_DATOS_MBPS_COR < 0) then do;
                    treeValue75 = 0;
                end;
                else do;
                    treeValue75 = 0;
                end;
            end;
            else do;
                if (missing(racm_nu_antiguedad_terminal_2) or racm_nu_antiguedad_terminal_2 < 0) then do;
                    if (missing(evol_MOU_SALIDA_MOVIL_R2) or evol_MOU_SALIDA_MOVIL_R2 < 0) then do;
                        if (missing(racm_in_portfolio_2_catP) or racm_in_portfolio_2_catP < 0) then do;
                            if (not missing(racf_co_subsector_nyp_catB) and racf_co_subsector_nyp_catB < 0) then do;
                                treeValue75 = 0;
                            end;
                            else do;
                                if (not missing(racm_nu_antiguedad_terminal) and racm_nu_antiguedad_terminal < 0) then do;
                                    treeValue75 = 0;
                                end;
                                else do;
                                    if (not missing(evol_PT_LLAMADAS_COR) and evol_PT_LLAMADAS_COR < 0) then do;
                                        treeValue75 = 0;
                                    end;
                                    else do;
                                        if (not missing(racm_in_gama_terminal_actual_lev) and racm_in_gama_terminal_actual_lev < 0) then do;
                                            if (not missing(racf_in_tiene_YOMVI) and racf_in_tiene_YOMVI < 0) then do;
                                                treeValue75 = 0;
                                            end;
                                            else do;
                                                if (missing(racm_ds_marca_opt_catP) or racm_ds_marca_opt_catP < 0) then do;
                                                    treeValue75 = 0;
                                                end;
                                                else do;
                                                    treeValue75 = 0;
                                                end;
                                            end;
                                        end;
                                        else do;
                                            if (not missing(evol_CA_MOVIL_COR) and evol_CA_MOVIL_COR < 0) then do;
                                                if (not missing(evol_CA_BAF_R2) and evol_CA_BAF_R2 < 0) then do;
                                                    treeValue75 = 0;
                                                end;
                                                else do;
                                                    treeValue75 = 0;
                                                end;
                                            end;
                                            else do;
                                                if (not missing(racm_ds_marca_opt_2_lev_x_) and racm_ds_marca_opt_2_lev_x_ < 0) then do;
                                                    if (not missing(racf_ca_partidazo) and racf_ca_partidazo < 0) then do;
                                                        treeValue75 = 0;
                                                    end;
                                                    else do;
                                                        treeValue75 = 0;
                                                    end;
                                                end;
                                                else do;
                                                    if (missing(evol_ARPU_TOTAL_SLOP) or evol_ARPU_TOTAL_SLOP < 0) then do;
                                                        if (not missing(racf_segmento_catP) and racf_segmento_catP < 0) then do;
                                                            treeValue75 = 0;
                                                        end;
                                                        else do;
                                                            treeValue75 = 0;
                                                        end;
                                                    end;
                                                    else do;
                                                        if (not missing(evol_CA_BAF_N) and evol_CA_BAF_N < 0) then do;
                                                            treeValue75 = 0;
                                                        end;
                                                        else do;
                                                            treeValue75 = 0;
                                                        end;
                                                    end;
                                                end;
                                            end;
                                        end;
                                    end;
                                end;
                            end;
                        end;
                        else do;
                            if (missing(racm_ds_marca_opt_catP) or racm_ds_marca_opt_catP < 0) then do;
                                treeValue75 = 0;
                            end;
                            else do;
                                treeValue75 = 0;
                            end;
                        end;
                    end;
                    else do;
                        treeValue75 = 0;
                    end;
                end;
                else do;
                    if (not missing(evol_ARPU_TOTAL_SLOP) and evol_ARPU_TOTAL_SLOP < 0) then do;
                        treeValue75 = 0;
                    end;
                    else do;
                        if (missing(evol_CA_ATENDIDAS_ENTRANTES_R2) or evol_CA_ATENDIDAS_ENTRANTES_R2 < 0) then do;
                            treeValue75 = 0;
                        end;
                        else do;
                            treeValue75 = 0;
                        end;
                    end;
                end;
            end;
        end;
    end;
end;
else do;
    if (not missing(racm_co_plantari_2_catB) and racm_co_plantari_2_catB < 0) then do;
        treeValue75 = 0;
    end;
    else do;
        if (not missing(racf_nu_velocidad_adsl) and racf_nu_velocidad_adsl < 0) then do;
            treeValue75 = 0;
        end;
        else do;
            treeValue75 = 0;
        end;
    end;
end;

/* Getting target probability */
treeValue = sum(treeValue0, treeValue1, treeValue2, treeValue3, treeValue4, treeValue5, treeValue6, treeValue7, treeValue8, treeValue9, treeValue10, treeValue11, treeValue12, treeValue13, treeValue14, treeValue15, treeValue16, treeValue17, treeValue18, treeValue19, treeValue20, treeValue21, treeValue22, treeValue23, treeValue24, treeValue25, treeValue26, treeValue27, treeValue28, treeValue29, treeValue30, treeValue31, treeValue32, treeValue33, treeValue34, treeValue35, treeValue36, treeValue37, treeValue38, treeValue39, treeValue40, treeValue41, treeValue42, treeValue43, treeValue44, treeValue45, treeValue46, treeValue47, treeValue48, treeValue49, treeValue50, treeValue51, treeValue52, treeValue53, treeValue54, treeValue55, treeValue56, treeValue57, treeValue58, treeValue59, treeValue60, treeValue61, treeValue62, treeValue63, treeValue64, treeValue65, treeValue66, treeValue67, treeValue68, treeValue69, treeValue70, treeValue71, treeValue72, treeValue73, treeValue74, treeValue75);
P_TARGET = 1 / (1 + exp(-(treeValue + 0.015242313632246433)));
