0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇐)
↳2 Prolog
↳3 PrologToPiTRSProof (⇐)
↳4 PiTRS
↳5 DependencyPairsProof (⇔)
↳6 PiDP
↳7 DependencyGraphProof (⇔)
↳8 AND
↳9 PiDP
↳10 UsableRulesProof (⇔)
↳11 PiDP
↳12 PiDPToQDPProof (⇐)
↳13 QDP
↳14 NonTerminationProof (⇔)
↳15 NO
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇐)
↳20 QDP
↳21 NonTerminationProof (⇔)
↳22 NO
↳23 PiDP
↳24 UsableRulesProof (⇔)
↳25 PiDP
↳26 PiDPToQDPProof (⇐)
↳27 QDP
↳28 NonTerminationProof (⇔)
↳29 NO
↳30 PiDP
↳31 UsableRulesProof (⇔)
↳32 PiDP
↳33 PiDPToQDPProof (⇐)
↳34 QDP
↳35 NonTerminationProof (⇔)
↳36 NO
↳37 PiDP
↳38 UsableRulesProof (⇔)
↳39 PiDP
↳40 PiDPToQDPProof (⇐)
↳41 QDP
↳42 NonTerminationProof (⇔)
↳43 NO
↳44 PiDP
↳45 UsableRulesProof (⇔)
↳46 PiDP
↳47 PiDPToQDPProof (⇐)
↳48 QDP
↳49 Narrowing (⇐)
↳50 QDP
↳51 Narrowing (⇐)
↳52 QDP
↳53 NonTerminationProof (⇔)
↳54 NO
↳55 PiDP
↳56 UsableRulesProof (⇔)
↳57 PiDP
↳58 PiDPToQDPProof (⇐)
↳59 QDP
↳60 Narrowing (⇐)
↳61 QDP
↳62 Narrowing (⇐)
↳63 QDP
↳64 NonTerminationProof (⇔)
↳65 NO
↳66 PiDP
↳67 UsableRulesProof (⇔)
↳68 PiDP
↳69 PiDPToQDPProof (⇐)
↳70 QDP
↳71 QDPSizeChangeProof (⇔)
↳72 YES
↳73 PiDP
↳74 UsableRulesProof (⇔)
↳75 PiDP
↳76 PiDPToQDPProof (⇐)
↳77 QDP
↳78 Narrowing (⇐)
↳79 QDP
↳80 Narrowing (⇐)
↳81 QDP
↳82 NonTerminationProof (⇔)
↳83 NO
↳84 PiDP
↳85 UsableRulesProof (⇔)
↳86 PiDP
↳87 PiDPToQDPProof (⇔)
↳88 QDP
↳89 QDPSizeChangeProof (⇔)
↳90 YES
↳91 PiDP
↳92 UsableRulesProof (⇔)
↳93 PiDP
↳94 PiDPToQDPProof (⇔)
↳95 QDP
↳96 QDPSizeChangeProof (⇔)
↳97 YES
↳98 PiDP
↳99 UsableRulesProof (⇔)
↳100 PiDP
↳101 PiDPToQDPProof (⇐)
↳102 QDP
↳103 QDPSizeChangeProof (⇔)
↳104 YES
↳105 PiDP
↳106 UsableRulesProof (⇔)
↳107 PiDP
↳108 PiDPToQDPProof (⇐)
↳109 QDP
↳110 QDPSizeChangeProof (⇔)
↳111 YES
↳112 PrologToPiTRSProof (⇐)
↳113 PiTRS
↳114 DependencyPairsProof (⇔)
↳115 PiDP
↳116 DependencyGraphProof (⇔)
↳117 AND
↳118 PiDP
↳119 UsableRulesProof (⇔)
↳120 PiDP
↳121 PiDPToQDPProof (⇐)
↳122 QDP
↳123 NonTerminationProof (⇔)
↳124 NO
↳125 PiDP
↳126 UsableRulesProof (⇔)
↳127 PiDP
↳128 PiDPToQDPProof (⇐)
↳129 QDP
↳130 NonTerminationProof (⇔)
↳131 NO
↳132 PiDP
↳133 UsableRulesProof (⇔)
↳134 PiDP
↳135 PiDPToQDPProof (⇐)
↳136 QDP
↳137 NonTerminationProof (⇔)
↳138 NO
↳139 PiDP
↳140 UsableRulesProof (⇔)
↳141 PiDP
↳142 PiDPToQDPProof (⇐)
↳143 QDP
↳144 NonTerminationProof (⇔)
↳145 NO
↳146 PiDP
↳147 UsableRulesProof (⇔)
↳148 PiDP
↳149 PiDPToQDPProof (⇐)
↳150 QDP
↳151 NonTerminationProof (⇔)
↳152 NO
↳153 PiDP
↳154 UsableRulesProof (⇔)
↳155 PiDP
↳156 PiDPToQDPProof (⇐)
↳157 QDP
↳158 Narrowing (⇐)
↳159 QDP
↳160 Narrowing (⇐)
↳161 QDP
↳162 NonTerminationProof (⇔)
↳163 NO
↳164 PiDP
↳165 UsableRulesProof (⇔)
↳166 PiDP
↳167 PiDPToQDPProof (⇐)
↳168 QDP
↳169 Narrowing (⇐)
↳170 QDP
↳171 Narrowing (⇐)
↳172 QDP
↳173 NonTerminationProof (⇔)
↳174 NO
↳175 PiDP
↳176 UsableRulesProof (⇔)
↳177 PiDP
↳178 PiDPToQDPProof (⇐)
↳179 QDP
↳180 QDPSizeChangeProof (⇔)
↳181 YES
↳182 PiDP
↳183 UsableRulesProof (⇔)
↳184 PiDP
↳185 PiDPToQDPProof (⇐)
↳186 QDP
↳187 Narrowing (⇐)
↳188 QDP
↳189 Narrowing (⇐)
↳190 QDP
↳191 NonTerminationProof (⇔)
↳192 NO
↳193 PiDP
↳194 UsableRulesProof (⇔)
↳195 PiDP
↳196 PiDPToQDPProof (⇔)
↳197 QDP
↳198 QDPSizeChangeProof (⇔)
↳199 YES
↳200 PiDP
↳201 UsableRulesProof (⇔)
↳202 PiDP
↳203 PiDPToQDPProof (⇔)
↳204 QDP
↳205 QDPSizeChangeProof (⇔)
↳206 YES
↳207 PiDP
↳208 UsableRulesProof (⇔)
↳209 PiDP
↳210 PiDPToQDPProof (⇐)
↳211 QDP
↳212 QDPSizeChangeProof (⇔)
↳213 YES
↳214 PiDP
↳215 UsableRulesProof (⇔)
↳216 PiDP
↳217 PiDPToQDPProof (⇐)
↳218 QDP
↳219 QDPSizeChangeProof (⇔)
↳220 YES
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
QS1_IN_GA(cons(T14, []), T9) → U19_GA(T14, T9, qs14_in_a(X12))
QS1_IN_GA(cons(T14, []), T9) → QS14_IN_A(X12)
QS1_IN_GA(cons(T14, []), T9) → U20_GA(T14, T9, qs14_in_a(T17))
U20_GA(T14, T9, qs14_out_a(T17)) → U21_GA(T14, T9, qs14_in_a(X13))
U20_GA(T14, T9, qs14_out_a(T17)) → QS14_IN_A(X13)
U20_GA(T14, T9, qs14_out_a(T17)) → U22_GA(T14, T9, T17, qs14_in_a(T20))
U22_GA(T14, T9, T17, qs14_out_a(T20)) → U23_GA(T14, T9, append23_in_ggga(T17, T14, T20, T9))
U22_GA(T14, T9, T17, qs14_out_a(T20)) → APPEND23_IN_GGGA(T17, T14, T20, T9)
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_GGGA(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GGGA(T46, T47, T48, T50)
QS1_IN_GA(cons(T69, cons(T67, T68)), T9) → U24_GA(T69, T67, T68, T9, less36_in_gg(T67, T69))
QS1_IN_GA(cons(T69, cons(T67, T68)), T9) → LESS36_IN_GG(T67, T69)
LESS36_IN_GG(s(T83), s(T84)) → U2_GG(T83, T84, less36_in_gg(T83, T84))
LESS36_IN_GG(s(T83), s(T84)) → LESS36_IN_GG(T83, T84)
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_GA(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → SPLIT46_IN_GGAA(T68, T69, X93, X94)
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_GGAA(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → LESS36_IN_GG(T110, T112)
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_GGAA(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → SPLIT46_IN_GGAA(T111, T112, X163, X164)
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_GGAA(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → GEQ62_IN_GG(T125, T127)
GEQ62_IN_GG(s(T146), s(T147)) → U7_GG(T146, T147, geq62_in_gg(T146, T147))
GEQ62_IN_GG(s(T146), s(T147)) → GEQ62_IN_GG(T146, T147)
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_GGAA(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → SPLIT46_IN_GGAA(T126, T127, X195, X196)
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_GA(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_GA(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
QS1_IN_AA(cons(T14, []), T9) → U19_AA(T14, T9, qs14_in_a(X12))
QS1_IN_AA(cons(T14, []), T9) → QS14_IN_A(X12)
QS1_IN_AA(cons(T14, []), T9) → U20_AA(T14, T9, qs14_in_a(T17))
U20_AA(T14, T9, qs14_out_a(T17)) → U21_AA(T14, T9, qs14_in_a(X13))
U20_AA(T14, T9, qs14_out_a(T17)) → QS14_IN_A(X13)
U20_AA(T14, T9, qs14_out_a(T17)) → U22_AA(T14, T9, T17, qs14_in_a(T20))
U22_AA(T14, T9, T17, qs14_out_a(T20)) → U23_AA(T14, T9, append23_in_gaga(T17, T14, T20, T9))
U22_AA(T14, T9, T17, qs14_out_a(T20)) → APPEND23_IN_GAGA(T17, T14, T20, T9)
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_GAGA(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GAGA(T46, T47, T48, T50)
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → U24_AA(T69, T67, T68, T9, less36_in_aa(T67, T69))
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → LESS36_IN_AA(T67, T69)
LESS36_IN_AA(s(T83), s(T84)) → U2_AA(T83, T84, less36_in_aa(T83, T84))
LESS36_IN_AA(s(T83), s(T84)) → LESS36_IN_AA(T83, T84)
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → SPLIT46_IN_AAAA(T68, T69, X93, X94)
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_AAAA(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → LESS36_IN_AA(T110, T112)
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_AAAA(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → SPLIT46_IN_AAAA(T111, T112, X163, X164)
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_AAAA(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → GEQ62_IN_AA(T125, T127)
GEQ62_IN_AA(s(T146), s(T147)) → U7_AA(T146, T147, geq62_in_aa(T146, T147))
GEQ62_IN_AA(s(T146), s(T147)) → GEQ62_IN_AA(T146, T147)
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_AAAA(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → SPLIT46_IN_AAAA(T126, T127, X195, X196)
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_AA(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
QS1_IN_AA(cons(T214, cons(T212, T213)), T9) → U30_AA(T214, T212, T213, T9, geq62_in_aa(T212, T214))
QS1_IN_AA(cons(T214, cons(T212, T213)), T9) → GEQ62_IN_AA(T212, T214)
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_AA(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → SPLIT46_IN_AAAA(T213, T214, X323, X324)
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_AA(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_AA(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → QS79_IN_AA(T221, X12)
QS79_IN_AA(cons(T162, T163), X265) → U8_AA(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
QS79_IN_AA(cons(T162, T163), X265) → SPLIT46_IN_AAAA(T163, T162, X261, X262)
QS79_IN_AA(cons(T162, T163), X265) → U9_AA(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_AA(T162, T163, X265, qs79_in_aa(T166, X263))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → QS79_IN_AA(T166, X263)
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_AA(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_AA(T162, T163, X265, qs79_in_aa(T167, X264))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → QS79_IN_AA(T167, X264)
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_AA(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_AA(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_AA(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
U13_AA(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → APPEND94_IN_AAAA(T170, T162, T171, X265)
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_AAAA(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → APPEND94_IN_AAAA(T195, T196, T197, X295)
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_AA(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_AA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_AA(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
U34_AA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → P78_IN_AAAAA(cons(T212, T222), X13, T225, T214, T9)
P78_IN_AAAAA(T90, X13, T154, T69, T9) → U16_AAAAA(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
P78_IN_AAAAA(T90, X13, T154, T69, T9) → QS79_IN_AA(T90, X13)
P78_IN_AAAAA(T90, T157, T154, T69, T9) → U17_AAAAA(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_AAAAA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_AAAAA(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
U17_AAAAA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → APPEND23_IN_AAAA(T154, T69, T157, T9)
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_AAAA(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AAAA(T46, T47, T48, T50)
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_AA(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_AA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_AA(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U28_AA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → P78_IN_AAAAA(T90, X13, T154, T69, T9)
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_GA(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_GA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_GA(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
U28_GA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → P78_IN_AAAGA(T90, X13, T154, T69, T9)
P78_IN_AAAGA(T90, X13, T154, T69, T9) → U16_AAAGA(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
P78_IN_AAAGA(T90, X13, T154, T69, T9) → QS79_IN_AA(T90, X13)
P78_IN_AAAGA(T90, T157, T154, T69, T9) → U17_AAAGA(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_AAAGA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_AAAGA(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
U17_AAAGA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → APPEND23_IN_AGAA(T154, T69, T157, T9)
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_AGAA(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AGAA(T46, T47, T48, T50)
QS1_IN_GA(cons(T214, cons(T212, T213)), T9) → U30_GA(T214, T212, T213, T9, geq62_in_gg(T212, T214))
QS1_IN_GA(cons(T214, cons(T212, T213)), T9) → GEQ62_IN_GG(T212, T214)
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_GA(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → SPLIT46_IN_GGAA(T213, T214, X323, X324)
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_GA(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_GA(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → QS79_IN_AA(T221, X12)
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_GA(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_GA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_GA(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U34_GA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → P78_IN_AAAGA(cons(T212, T222), X13, T225, T214, T9)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
QS1_IN_GA(cons(T14, []), T9) → U19_GA(T14, T9, qs14_in_a(X12))
QS1_IN_GA(cons(T14, []), T9) → QS14_IN_A(X12)
QS1_IN_GA(cons(T14, []), T9) → U20_GA(T14, T9, qs14_in_a(T17))
U20_GA(T14, T9, qs14_out_a(T17)) → U21_GA(T14, T9, qs14_in_a(X13))
U20_GA(T14, T9, qs14_out_a(T17)) → QS14_IN_A(X13)
U20_GA(T14, T9, qs14_out_a(T17)) → U22_GA(T14, T9, T17, qs14_in_a(T20))
U22_GA(T14, T9, T17, qs14_out_a(T20)) → U23_GA(T14, T9, append23_in_ggga(T17, T14, T20, T9))
U22_GA(T14, T9, T17, qs14_out_a(T20)) → APPEND23_IN_GGGA(T17, T14, T20, T9)
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_GGGA(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GGGA(T46, T47, T48, T50)
QS1_IN_GA(cons(T69, cons(T67, T68)), T9) → U24_GA(T69, T67, T68, T9, less36_in_gg(T67, T69))
QS1_IN_GA(cons(T69, cons(T67, T68)), T9) → LESS36_IN_GG(T67, T69)
LESS36_IN_GG(s(T83), s(T84)) → U2_GG(T83, T84, less36_in_gg(T83, T84))
LESS36_IN_GG(s(T83), s(T84)) → LESS36_IN_GG(T83, T84)
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_GA(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → SPLIT46_IN_GGAA(T68, T69, X93, X94)
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_GGAA(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → LESS36_IN_GG(T110, T112)
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_GGAA(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → SPLIT46_IN_GGAA(T111, T112, X163, X164)
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_GGAA(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → GEQ62_IN_GG(T125, T127)
GEQ62_IN_GG(s(T146), s(T147)) → U7_GG(T146, T147, geq62_in_gg(T146, T147))
GEQ62_IN_GG(s(T146), s(T147)) → GEQ62_IN_GG(T146, T147)
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_GGAA(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → SPLIT46_IN_GGAA(T126, T127, X195, X196)
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_GA(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_GA(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
QS1_IN_AA(cons(T14, []), T9) → U19_AA(T14, T9, qs14_in_a(X12))
QS1_IN_AA(cons(T14, []), T9) → QS14_IN_A(X12)
QS1_IN_AA(cons(T14, []), T9) → U20_AA(T14, T9, qs14_in_a(T17))
U20_AA(T14, T9, qs14_out_a(T17)) → U21_AA(T14, T9, qs14_in_a(X13))
U20_AA(T14, T9, qs14_out_a(T17)) → QS14_IN_A(X13)
U20_AA(T14, T9, qs14_out_a(T17)) → U22_AA(T14, T9, T17, qs14_in_a(T20))
U22_AA(T14, T9, T17, qs14_out_a(T20)) → U23_AA(T14, T9, append23_in_gaga(T17, T14, T20, T9))
U22_AA(T14, T9, T17, qs14_out_a(T20)) → APPEND23_IN_GAGA(T17, T14, T20, T9)
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_GAGA(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GAGA(T46, T47, T48, T50)
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → U24_AA(T69, T67, T68, T9, less36_in_aa(T67, T69))
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → LESS36_IN_AA(T67, T69)
LESS36_IN_AA(s(T83), s(T84)) → U2_AA(T83, T84, less36_in_aa(T83, T84))
LESS36_IN_AA(s(T83), s(T84)) → LESS36_IN_AA(T83, T84)
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → SPLIT46_IN_AAAA(T68, T69, X93, X94)
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_AAAA(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → LESS36_IN_AA(T110, T112)
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_AAAA(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → SPLIT46_IN_AAAA(T111, T112, X163, X164)
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_AAAA(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → GEQ62_IN_AA(T125, T127)
GEQ62_IN_AA(s(T146), s(T147)) → U7_AA(T146, T147, geq62_in_aa(T146, T147))
GEQ62_IN_AA(s(T146), s(T147)) → GEQ62_IN_AA(T146, T147)
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_AAAA(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → SPLIT46_IN_AAAA(T126, T127, X195, X196)
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_AA(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
QS1_IN_AA(cons(T214, cons(T212, T213)), T9) → U30_AA(T214, T212, T213, T9, geq62_in_aa(T212, T214))
QS1_IN_AA(cons(T214, cons(T212, T213)), T9) → GEQ62_IN_AA(T212, T214)
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_AA(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → SPLIT46_IN_AAAA(T213, T214, X323, X324)
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_AA(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_AA(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → QS79_IN_AA(T221, X12)
QS79_IN_AA(cons(T162, T163), X265) → U8_AA(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
QS79_IN_AA(cons(T162, T163), X265) → SPLIT46_IN_AAAA(T163, T162, X261, X262)
QS79_IN_AA(cons(T162, T163), X265) → U9_AA(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_AA(T162, T163, X265, qs79_in_aa(T166, X263))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → QS79_IN_AA(T166, X263)
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_AA(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_AA(T162, T163, X265, qs79_in_aa(T167, X264))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → QS79_IN_AA(T167, X264)
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_AA(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_AA(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_AA(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
U13_AA(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → APPEND94_IN_AAAA(T170, T162, T171, X265)
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_AAAA(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → APPEND94_IN_AAAA(T195, T196, T197, X295)
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_AA(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_AA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_AA(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
U34_AA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → P78_IN_AAAAA(cons(T212, T222), X13, T225, T214, T9)
P78_IN_AAAAA(T90, X13, T154, T69, T9) → U16_AAAAA(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
P78_IN_AAAAA(T90, X13, T154, T69, T9) → QS79_IN_AA(T90, X13)
P78_IN_AAAAA(T90, T157, T154, T69, T9) → U17_AAAAA(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_AAAAA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_AAAAA(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
U17_AAAAA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → APPEND23_IN_AAAA(T154, T69, T157, T9)
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_AAAA(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AAAA(T46, T47, T48, T50)
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_AA(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_AA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_AA(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U28_AA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → P78_IN_AAAAA(T90, X13, T154, T69, T9)
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_GA(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_GA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_GA(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
U28_GA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → P78_IN_AAAGA(T90, X13, T154, T69, T9)
P78_IN_AAAGA(T90, X13, T154, T69, T9) → U16_AAAGA(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
P78_IN_AAAGA(T90, X13, T154, T69, T9) → QS79_IN_AA(T90, X13)
P78_IN_AAAGA(T90, T157, T154, T69, T9) → U17_AAAGA(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_AAAGA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_AAAGA(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
U17_AAAGA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → APPEND23_IN_AGAA(T154, T69, T157, T9)
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_AGAA(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AGAA(T46, T47, T48, T50)
QS1_IN_GA(cons(T214, cons(T212, T213)), T9) → U30_GA(T214, T212, T213, T9, geq62_in_gg(T212, T214))
QS1_IN_GA(cons(T214, cons(T212, T213)), T9) → GEQ62_IN_GG(T212, T214)
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_GA(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → SPLIT46_IN_GGAA(T213, T214, X323, X324)
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_GA(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_GA(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → QS79_IN_AA(T221, X12)
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_GA(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_GA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_GA(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U34_GA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → P78_IN_AAAGA(cons(T212, T222), X13, T225, T214, T9)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AGAA(T46, T47, T48, T50)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AGAA(T46, T47, T48, T50)
APPEND23_IN_AGAA(T47) → APPEND23_IN_AGAA(T47)
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AAAA(T46, T47, T48, T50)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AAAA(T46, T47, T48, T50)
APPEND23_IN_AAAA → APPEND23_IN_AAAA
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → APPEND94_IN_AAAA(T195, T196, T197, X295)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → APPEND94_IN_AAAA(T195, T196, T197, X295)
APPEND94_IN_AAAA → APPEND94_IN_AAAA
GEQ62_IN_AA(s(T146), s(T147)) → GEQ62_IN_AA(T146, T147)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
GEQ62_IN_AA(s(T146), s(T147)) → GEQ62_IN_AA(T146, T147)
GEQ62_IN_AA → GEQ62_IN_AA
LESS36_IN_AA(s(T83), s(T84)) → LESS36_IN_AA(T83, T84)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
LESS36_IN_AA(s(T83), s(T84)) → LESS36_IN_AA(T83, T84)
LESS36_IN_AA → LESS36_IN_AA
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_AAAA(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → SPLIT46_IN_AAAA(T111, T112, X163, X164)
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_AAAA(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → SPLIT46_IN_AAAA(T126, T127, X195, X196)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_AAAA(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → SPLIT46_IN_AAAA(T111, T112, X163, X164)
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_AAAA(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → SPLIT46_IN_AAAA(T126, T127, X195, X196)
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
SPLIT46_IN_AAAA → U3_AAAA(less36_in_aa)
U3_AAAA(less36_out_aa(T110)) → SPLIT46_IN_AAAA
SPLIT46_IN_AAAA → U5_AAAA(geq62_in_aa)
U5_AAAA(geq62_out_aa) → SPLIT46_IN_AAAA
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
geq62_in_aa
U2_aa(x0)
U7_aa(x0)
SPLIT46_IN_AAAA → U3_AAAA(less36_out_aa(0))
SPLIT46_IN_AAAA → U3_AAAA(U2_aa(less36_in_aa))
U3_AAAA(less36_out_aa(T110)) → SPLIT46_IN_AAAA
SPLIT46_IN_AAAA → U5_AAAA(geq62_in_aa)
U5_AAAA(geq62_out_aa) → SPLIT46_IN_AAAA
SPLIT46_IN_AAAA → U3_AAAA(less36_out_aa(0))
SPLIT46_IN_AAAA → U3_AAAA(U2_aa(less36_in_aa))
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
geq62_in_aa
U2_aa(x0)
U7_aa(x0)
SPLIT46_IN_AAAA → U5_AAAA(geq62_out_aa)
SPLIT46_IN_AAAA → U5_AAAA(U7_aa(geq62_in_aa))
U3_AAAA(less36_out_aa(T110)) → SPLIT46_IN_AAAA
U5_AAAA(geq62_out_aa) → SPLIT46_IN_AAAA
SPLIT46_IN_AAAA → U3_AAAA(less36_out_aa(0))
SPLIT46_IN_AAAA → U3_AAAA(U2_aa(less36_in_aa))
SPLIT46_IN_AAAA → U5_AAAA(geq62_out_aa)
SPLIT46_IN_AAAA → U5_AAAA(U7_aa(geq62_in_aa))
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
geq62_in_aa
U2_aa(x0)
U7_aa(x0)
QS79_IN_AA(cons(T162, T163), X265) → U9_AA(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → QS79_IN_AA(T166, X263)
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_AA(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → QS79_IN_AA(T167, X264)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
QS79_IN_AA(cons(T162, T163), X265) → U9_AA(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → QS79_IN_AA(T166, X263)
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_AA(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → QS79_IN_AA(T167, X264)
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
QS79_IN_AA → U9_AA(split46_in_aaaa)
U9_AA(split46_out_aaaa) → QS79_IN_AA
U9_AA(split46_out_aaaa) → U11_AA(qs79_in_aa)
U11_AA(qs79_out_aa) → QS79_IN_AA
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
qs79_in_aa → qs79_out_aa
qs79_in_aa → U8_aa(split46_in_aaaa)
qs79_in_aa → U9_aa(split46_in_aaaa)
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U8_aa(split46_out_aaaa) → qs79_out_aa
U9_aa(split46_out_aaaa) → U10_aa(qs79_in_aa)
U9_aa(split46_out_aaaa) → U11_aa(qs79_in_aa)
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U10_aa(qs79_out_aa) → qs79_out_aa
U11_aa(qs79_out_aa) → U12_aa(qs79_in_aa)
U11_aa(qs79_out_aa) → U13_aa(qs79_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
U12_aa(qs79_out_aa) → qs79_out_aa
U13_aa(qs79_out_aa) → U14_aa(append94_in_aaaa)
U14_aa(append94_out_aaaa) → qs79_out_aa
append94_in_aaaa → append94_out_aaaa
append94_in_aaaa → U15_aaaa(append94_in_aaaa)
U15_aaaa(append94_out_aaaa) → append94_out_aaaa
split46_in_aaaa
qs79_in_aa
U3_aaaa(x0)
U5_aaaa(x0)
U8_aa(x0)
U9_aa(x0)
less36_in_aa
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U10_aa(x0)
U11_aa(x0)
U2_aa(x0)
U7_aa(x0)
U12_aa(x0)
U13_aa(x0)
U14_aa(x0)
append94_in_aaaa
U15_aaaa(x0)
QS79_IN_AA → U9_AA(split46_out_aaaa)
QS79_IN_AA → U9_AA(U3_aaaa(less36_in_aa))
QS79_IN_AA → U9_AA(U5_aaaa(geq62_in_aa))
U9_AA(split46_out_aaaa) → QS79_IN_AA
U9_AA(split46_out_aaaa) → U11_AA(qs79_in_aa)
U11_AA(qs79_out_aa) → QS79_IN_AA
QS79_IN_AA → U9_AA(split46_out_aaaa)
QS79_IN_AA → U9_AA(U3_aaaa(less36_in_aa))
QS79_IN_AA → U9_AA(U5_aaaa(geq62_in_aa))
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
qs79_in_aa → qs79_out_aa
qs79_in_aa → U8_aa(split46_in_aaaa)
qs79_in_aa → U9_aa(split46_in_aaaa)
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U8_aa(split46_out_aaaa) → qs79_out_aa
U9_aa(split46_out_aaaa) → U10_aa(qs79_in_aa)
U9_aa(split46_out_aaaa) → U11_aa(qs79_in_aa)
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U10_aa(qs79_out_aa) → qs79_out_aa
U11_aa(qs79_out_aa) → U12_aa(qs79_in_aa)
U11_aa(qs79_out_aa) → U13_aa(qs79_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
U12_aa(qs79_out_aa) → qs79_out_aa
U13_aa(qs79_out_aa) → U14_aa(append94_in_aaaa)
U14_aa(append94_out_aaaa) → qs79_out_aa
append94_in_aaaa → append94_out_aaaa
append94_in_aaaa → U15_aaaa(append94_in_aaaa)
U15_aaaa(append94_out_aaaa) → append94_out_aaaa
split46_in_aaaa
qs79_in_aa
U3_aaaa(x0)
U5_aaaa(x0)
U8_aa(x0)
U9_aa(x0)
less36_in_aa
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U10_aa(x0)
U11_aa(x0)
U2_aa(x0)
U7_aa(x0)
U12_aa(x0)
U13_aa(x0)
U14_aa(x0)
append94_in_aaaa
U15_aaaa(x0)
U9_AA(split46_out_aaaa) → U11_AA(qs79_out_aa)
U9_AA(split46_out_aaaa) → U11_AA(U8_aa(split46_in_aaaa))
U9_AA(split46_out_aaaa) → U11_AA(U9_aa(split46_in_aaaa))
U9_AA(split46_out_aaaa) → QS79_IN_AA
U11_AA(qs79_out_aa) → QS79_IN_AA
QS79_IN_AA → U9_AA(split46_out_aaaa)
QS79_IN_AA → U9_AA(U3_aaaa(less36_in_aa))
QS79_IN_AA → U9_AA(U5_aaaa(geq62_in_aa))
U9_AA(split46_out_aaaa) → U11_AA(qs79_out_aa)
U9_AA(split46_out_aaaa) → U11_AA(U8_aa(split46_in_aaaa))
U9_AA(split46_out_aaaa) → U11_AA(U9_aa(split46_in_aaaa))
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
qs79_in_aa → qs79_out_aa
qs79_in_aa → U8_aa(split46_in_aaaa)
qs79_in_aa → U9_aa(split46_in_aaaa)
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U8_aa(split46_out_aaaa) → qs79_out_aa
U9_aa(split46_out_aaaa) → U10_aa(qs79_in_aa)
U9_aa(split46_out_aaaa) → U11_aa(qs79_in_aa)
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U10_aa(qs79_out_aa) → qs79_out_aa
U11_aa(qs79_out_aa) → U12_aa(qs79_in_aa)
U11_aa(qs79_out_aa) → U13_aa(qs79_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
U12_aa(qs79_out_aa) → qs79_out_aa
U13_aa(qs79_out_aa) → U14_aa(append94_in_aaaa)
U14_aa(append94_out_aaaa) → qs79_out_aa
append94_in_aaaa → append94_out_aaaa
append94_in_aaaa → U15_aaaa(append94_in_aaaa)
U15_aaaa(append94_out_aaaa) → append94_out_aaaa
split46_in_aaaa
qs79_in_aa
U3_aaaa(x0)
U5_aaaa(x0)
U8_aa(x0)
U9_aa(x0)
less36_in_aa
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U10_aa(x0)
U11_aa(x0)
U2_aa(x0)
U7_aa(x0)
U12_aa(x0)
U13_aa(x0)
U14_aa(x0)
append94_in_aaaa
U15_aaaa(x0)
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GAGA(T46, T47, T48, T50)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GAGA(T46, T47, T48, T50)
APPEND23_IN_GAGA(cons(T45, T46), T48) → APPEND23_IN_GAGA(T46, T48)
From the DPs we obtained the following set of size-change graphs:
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → U24_AA(T69, T67, T68, T9, less36_in_aa(T67, T69))
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → U24_AA(T69, T67, T68, T9, less36_in_aa(T67, T69))
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
QS1_IN_AA → U24_AA(less36_in_aa)
U24_AA(less36_out_aa(T67)) → U26_AA(split46_in_aaaa)
U26_AA(split46_out_aaaa) → QS1_IN_AA
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
split46_in_aaaa
U2_aa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U7_aa(x0)
QS1_IN_AA → U24_AA(less36_out_aa(0))
QS1_IN_AA → U24_AA(U2_aa(less36_in_aa))
U24_AA(less36_out_aa(T67)) → U26_AA(split46_in_aaaa)
U26_AA(split46_out_aaaa) → QS1_IN_AA
QS1_IN_AA → U24_AA(less36_out_aa(0))
QS1_IN_AA → U24_AA(U2_aa(less36_in_aa))
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
split46_in_aaaa
U2_aa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U7_aa(x0)
U24_AA(less36_out_aa(y0)) → U26_AA(split46_out_aaaa)
U24_AA(less36_out_aa(y0)) → U26_AA(U3_aaaa(less36_in_aa))
U24_AA(less36_out_aa(y0)) → U26_AA(U5_aaaa(geq62_in_aa))
U26_AA(split46_out_aaaa) → QS1_IN_AA
QS1_IN_AA → U24_AA(less36_out_aa(0))
QS1_IN_AA → U24_AA(U2_aa(less36_in_aa))
U24_AA(less36_out_aa(y0)) → U26_AA(split46_out_aaaa)
U24_AA(less36_out_aa(y0)) → U26_AA(U3_aaaa(less36_in_aa))
U24_AA(less36_out_aa(y0)) → U26_AA(U5_aaaa(geq62_in_aa))
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
split46_in_aaaa
U2_aa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U7_aa(x0)
GEQ62_IN_GG(s(T146), s(T147)) → GEQ62_IN_GG(T146, T147)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
GEQ62_IN_GG(s(T146), s(T147)) → GEQ62_IN_GG(T146, T147)
GEQ62_IN_GG(s(T146), s(T147)) → GEQ62_IN_GG(T146, T147)
From the DPs we obtained the following set of size-change graphs:
LESS36_IN_GG(s(T83), s(T84)) → LESS36_IN_GG(T83, T84)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
LESS36_IN_GG(s(T83), s(T84)) → LESS36_IN_GG(T83, T84)
LESS36_IN_GG(s(T83), s(T84)) → LESS36_IN_GG(T83, T84)
From the DPs we obtained the following set of size-change graphs:
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_GGAA(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → SPLIT46_IN_GGAA(T111, T112, X163, X164)
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_GGAA(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → SPLIT46_IN_GGAA(T126, T127, X195, X196)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_GGAA(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → SPLIT46_IN_GGAA(T111, T112, X163, X164)
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_GGAA(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → SPLIT46_IN_GGAA(T126, T127, X195, X196)
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
SPLIT46_IN_GGAA(cons(T110, T111), T112) → U3_GGAA(T110, T111, T112, less36_in_gg(T110, T112))
U3_GGAA(T110, T111, T112, less36_out_gg(T110, T112)) → SPLIT46_IN_GGAA(T111, T112)
SPLIT46_IN_GGAA(cons(T125, T126), T127) → U5_GGAA(T125, T126, T127, geq62_in_gg(T125, T127))
U5_GGAA(T125, T126, T127, geq62_out_gg(T125, T127)) → SPLIT46_IN_GGAA(T126, T127)
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
less36_in_gg(x0, x1)
geq62_in_gg(x0, x1)
U2_gg(x0, x1, x2)
U7_gg(x0, x1, x2)
From the DPs we obtained the following set of size-change graphs:
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GGGA(T46, T47, T48, T50)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GGGA(T46, T47, T48, T50)
APPEND23_IN_GGGA(cons(T45, T46), T47, T48) → APPEND23_IN_GGGA(T46, T47, T48)
From the DPs we obtained the following set of size-change graphs:
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
QS1_IN_GA(cons(T14, []), T9) → U19_GA(T14, T9, qs14_in_a(X12))
QS1_IN_GA(cons(T14, []), T9) → QS14_IN_A(X12)
QS1_IN_GA(cons(T14, []), T9) → U20_GA(T14, T9, qs14_in_a(T17))
U20_GA(T14, T9, qs14_out_a(T17)) → U21_GA(T14, T9, qs14_in_a(X13))
U20_GA(T14, T9, qs14_out_a(T17)) → QS14_IN_A(X13)
U20_GA(T14, T9, qs14_out_a(T17)) → U22_GA(T14, T9, T17, qs14_in_a(T20))
U22_GA(T14, T9, T17, qs14_out_a(T20)) → U23_GA(T14, T9, append23_in_ggga(T17, T14, T20, T9))
U22_GA(T14, T9, T17, qs14_out_a(T20)) → APPEND23_IN_GGGA(T17, T14, T20, T9)
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_GGGA(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GGGA(T46, T47, T48, T50)
QS1_IN_GA(cons(T69, cons(T67, T68)), T9) → U24_GA(T69, T67, T68, T9, less36_in_gg(T67, T69))
QS1_IN_GA(cons(T69, cons(T67, T68)), T9) → LESS36_IN_GG(T67, T69)
LESS36_IN_GG(s(T83), s(T84)) → U2_GG(T83, T84, less36_in_gg(T83, T84))
LESS36_IN_GG(s(T83), s(T84)) → LESS36_IN_GG(T83, T84)
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_GA(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → SPLIT46_IN_GGAA(T68, T69, X93, X94)
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_GGAA(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → LESS36_IN_GG(T110, T112)
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_GGAA(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → SPLIT46_IN_GGAA(T111, T112, X163, X164)
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_GGAA(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → GEQ62_IN_GG(T125, T127)
GEQ62_IN_GG(s(T146), s(T147)) → U7_GG(T146, T147, geq62_in_gg(T146, T147))
GEQ62_IN_GG(s(T146), s(T147)) → GEQ62_IN_GG(T146, T147)
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_GGAA(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → SPLIT46_IN_GGAA(T126, T127, X195, X196)
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_GA(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_GA(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
QS1_IN_AA(cons(T14, []), T9) → U19_AA(T14, T9, qs14_in_a(X12))
QS1_IN_AA(cons(T14, []), T9) → QS14_IN_A(X12)
QS1_IN_AA(cons(T14, []), T9) → U20_AA(T14, T9, qs14_in_a(T17))
U20_AA(T14, T9, qs14_out_a(T17)) → U21_AA(T14, T9, qs14_in_a(X13))
U20_AA(T14, T9, qs14_out_a(T17)) → QS14_IN_A(X13)
U20_AA(T14, T9, qs14_out_a(T17)) → U22_AA(T14, T9, T17, qs14_in_a(T20))
U22_AA(T14, T9, T17, qs14_out_a(T20)) → U23_AA(T14, T9, append23_in_gaga(T17, T14, T20, T9))
U22_AA(T14, T9, T17, qs14_out_a(T20)) → APPEND23_IN_GAGA(T17, T14, T20, T9)
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_GAGA(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GAGA(T46, T47, T48, T50)
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → U24_AA(T69, T67, T68, T9, less36_in_aa(T67, T69))
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → LESS36_IN_AA(T67, T69)
LESS36_IN_AA(s(T83), s(T84)) → U2_AA(T83, T84, less36_in_aa(T83, T84))
LESS36_IN_AA(s(T83), s(T84)) → LESS36_IN_AA(T83, T84)
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → SPLIT46_IN_AAAA(T68, T69, X93, X94)
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_AAAA(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → LESS36_IN_AA(T110, T112)
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_AAAA(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → SPLIT46_IN_AAAA(T111, T112, X163, X164)
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_AAAA(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → GEQ62_IN_AA(T125, T127)
GEQ62_IN_AA(s(T146), s(T147)) → U7_AA(T146, T147, geq62_in_aa(T146, T147))
GEQ62_IN_AA(s(T146), s(T147)) → GEQ62_IN_AA(T146, T147)
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_AAAA(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → SPLIT46_IN_AAAA(T126, T127, X195, X196)
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_AA(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
QS1_IN_AA(cons(T214, cons(T212, T213)), T9) → U30_AA(T214, T212, T213, T9, geq62_in_aa(T212, T214))
QS1_IN_AA(cons(T214, cons(T212, T213)), T9) → GEQ62_IN_AA(T212, T214)
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_AA(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → SPLIT46_IN_AAAA(T213, T214, X323, X324)
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_AA(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_AA(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → QS79_IN_AA(T221, X12)
QS79_IN_AA(cons(T162, T163), X265) → U8_AA(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
QS79_IN_AA(cons(T162, T163), X265) → SPLIT46_IN_AAAA(T163, T162, X261, X262)
QS79_IN_AA(cons(T162, T163), X265) → U9_AA(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_AA(T162, T163, X265, qs79_in_aa(T166, X263))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → QS79_IN_AA(T166, X263)
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_AA(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_AA(T162, T163, X265, qs79_in_aa(T167, X264))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → QS79_IN_AA(T167, X264)
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_AA(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_AA(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_AA(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
U13_AA(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → APPEND94_IN_AAAA(T170, T162, T171, X265)
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_AAAA(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → APPEND94_IN_AAAA(T195, T196, T197, X295)
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_AA(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_AA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_AA(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
U34_AA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → P78_IN_AAAAA(cons(T212, T222), X13, T225, T214, T9)
P78_IN_AAAAA(T90, X13, T154, T69, T9) → U16_AAAAA(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
P78_IN_AAAAA(T90, X13, T154, T69, T9) → QS79_IN_AA(T90, X13)
P78_IN_AAAAA(T90, T157, T154, T69, T9) → U17_AAAAA(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_AAAAA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_AAAAA(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
U17_AAAAA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → APPEND23_IN_AAAA(T154, T69, T157, T9)
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_AAAA(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AAAA(T46, T47, T48, T50)
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_AA(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_AA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_AA(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U28_AA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → P78_IN_AAAAA(T90, X13, T154, T69, T9)
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_GA(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_GA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_GA(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
U28_GA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → P78_IN_AAAGA(T90, X13, T154, T69, T9)
P78_IN_AAAGA(T90, X13, T154, T69, T9) → U16_AAAGA(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
P78_IN_AAAGA(T90, X13, T154, T69, T9) → QS79_IN_AA(T90, X13)
P78_IN_AAAGA(T90, T157, T154, T69, T9) → U17_AAAGA(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_AAAGA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_AAAGA(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
U17_AAAGA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → APPEND23_IN_AGAA(T154, T69, T157, T9)
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_AGAA(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AGAA(T46, T47, T48, T50)
QS1_IN_GA(cons(T214, cons(T212, T213)), T9) → U30_GA(T214, T212, T213, T9, geq62_in_gg(T212, T214))
QS1_IN_GA(cons(T214, cons(T212, T213)), T9) → GEQ62_IN_GG(T212, T214)
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_GA(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → SPLIT46_IN_GGAA(T213, T214, X323, X324)
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_GA(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_GA(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → QS79_IN_AA(T221, X12)
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_GA(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_GA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_GA(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U34_GA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → P78_IN_AAAGA(cons(T212, T222), X13, T225, T214, T9)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
QS1_IN_GA(cons(T14, []), T9) → U19_GA(T14, T9, qs14_in_a(X12))
QS1_IN_GA(cons(T14, []), T9) → QS14_IN_A(X12)
QS1_IN_GA(cons(T14, []), T9) → U20_GA(T14, T9, qs14_in_a(T17))
U20_GA(T14, T9, qs14_out_a(T17)) → U21_GA(T14, T9, qs14_in_a(X13))
U20_GA(T14, T9, qs14_out_a(T17)) → QS14_IN_A(X13)
U20_GA(T14, T9, qs14_out_a(T17)) → U22_GA(T14, T9, T17, qs14_in_a(T20))
U22_GA(T14, T9, T17, qs14_out_a(T20)) → U23_GA(T14, T9, append23_in_ggga(T17, T14, T20, T9))
U22_GA(T14, T9, T17, qs14_out_a(T20)) → APPEND23_IN_GGGA(T17, T14, T20, T9)
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_GGGA(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GGGA(T46, T47, T48, T50)
QS1_IN_GA(cons(T69, cons(T67, T68)), T9) → U24_GA(T69, T67, T68, T9, less36_in_gg(T67, T69))
QS1_IN_GA(cons(T69, cons(T67, T68)), T9) → LESS36_IN_GG(T67, T69)
LESS36_IN_GG(s(T83), s(T84)) → U2_GG(T83, T84, less36_in_gg(T83, T84))
LESS36_IN_GG(s(T83), s(T84)) → LESS36_IN_GG(T83, T84)
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_GA(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → SPLIT46_IN_GGAA(T68, T69, X93, X94)
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_GGAA(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → LESS36_IN_GG(T110, T112)
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_GGAA(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → SPLIT46_IN_GGAA(T111, T112, X163, X164)
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_GGAA(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → GEQ62_IN_GG(T125, T127)
GEQ62_IN_GG(s(T146), s(T147)) → U7_GG(T146, T147, geq62_in_gg(T146, T147))
GEQ62_IN_GG(s(T146), s(T147)) → GEQ62_IN_GG(T146, T147)
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_GGAA(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → SPLIT46_IN_GGAA(T126, T127, X195, X196)
U24_GA(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_GA(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_GA(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
QS1_IN_AA(cons(T14, []), T9) → U19_AA(T14, T9, qs14_in_a(X12))
QS1_IN_AA(cons(T14, []), T9) → QS14_IN_A(X12)
QS1_IN_AA(cons(T14, []), T9) → U20_AA(T14, T9, qs14_in_a(T17))
U20_AA(T14, T9, qs14_out_a(T17)) → U21_AA(T14, T9, qs14_in_a(X13))
U20_AA(T14, T9, qs14_out_a(T17)) → QS14_IN_A(X13)
U20_AA(T14, T9, qs14_out_a(T17)) → U22_AA(T14, T9, T17, qs14_in_a(T20))
U22_AA(T14, T9, T17, qs14_out_a(T20)) → U23_AA(T14, T9, append23_in_gaga(T17, T14, T20, T9))
U22_AA(T14, T9, T17, qs14_out_a(T20)) → APPEND23_IN_GAGA(T17, T14, T20, T9)
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_GAGA(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GAGA(T46, T47, T48, T50)
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → U24_AA(T69, T67, T68, T9, less36_in_aa(T67, T69))
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → LESS36_IN_AA(T67, T69)
LESS36_IN_AA(s(T83), s(T84)) → U2_AA(T83, T84, less36_in_aa(T83, T84))
LESS36_IN_AA(s(T83), s(T84)) → LESS36_IN_AA(T83, T84)
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → SPLIT46_IN_AAAA(T68, T69, X93, X94)
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_AAAA(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → LESS36_IN_AA(T110, T112)
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_AAAA(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → SPLIT46_IN_AAAA(T111, T112, X163, X164)
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_AAAA(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → GEQ62_IN_AA(T125, T127)
GEQ62_IN_AA(s(T146), s(T147)) → U7_AA(T146, T147, geq62_in_aa(T146, T147))
GEQ62_IN_AA(s(T146), s(T147)) → GEQ62_IN_AA(T146, T147)
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_AAAA(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → SPLIT46_IN_AAAA(T126, T127, X195, X196)
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_AA(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
QS1_IN_AA(cons(T214, cons(T212, T213)), T9) → U30_AA(T214, T212, T213, T9, geq62_in_aa(T212, T214))
QS1_IN_AA(cons(T214, cons(T212, T213)), T9) → GEQ62_IN_AA(T212, T214)
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_AA(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → SPLIT46_IN_AAAA(T213, T214, X323, X324)
U30_AA(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_AA(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_AA(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → QS79_IN_AA(T221, X12)
QS79_IN_AA(cons(T162, T163), X265) → U8_AA(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
QS79_IN_AA(cons(T162, T163), X265) → SPLIT46_IN_AAAA(T163, T162, X261, X262)
QS79_IN_AA(cons(T162, T163), X265) → U9_AA(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_AA(T162, T163, X265, qs79_in_aa(T166, X263))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → QS79_IN_AA(T166, X263)
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_AA(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_AA(T162, T163, X265, qs79_in_aa(T167, X264))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → QS79_IN_AA(T167, X264)
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_AA(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_AA(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_AA(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
U13_AA(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → APPEND94_IN_AAAA(T170, T162, T171, X265)
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_AAAA(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → APPEND94_IN_AAAA(T195, T196, T197, X295)
U32_AA(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_AA(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_AA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_AA(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
U34_AA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → P78_IN_AAAAA(cons(T212, T222), X13, T225, T214, T9)
P78_IN_AAAAA(T90, X13, T154, T69, T9) → U16_AAAAA(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
P78_IN_AAAAA(T90, X13, T154, T69, T9) → QS79_IN_AA(T90, X13)
P78_IN_AAAAA(T90, T157, T154, T69, T9) → U17_AAAAA(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_AAAAA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_AAAAA(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
U17_AAAAA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → APPEND23_IN_AAAA(T154, T69, T157, T9)
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_AAAA(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AAAA(T46, T47, T48, T50)
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_AA(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_AA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_AA(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U28_AA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → P78_IN_AAAAA(T90, X13, T154, T69, T9)
U26_GA(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_GA(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_GA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_GA(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
U28_GA(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → P78_IN_AAAGA(T90, X13, T154, T69, T9)
P78_IN_AAAGA(T90, X13, T154, T69, T9) → U16_AAAGA(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
P78_IN_AAAGA(T90, X13, T154, T69, T9) → QS79_IN_AA(T90, X13)
P78_IN_AAAGA(T90, T157, T154, T69, T9) → U17_AAAGA(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_AAAGA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_AAAGA(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
U17_AAAGA(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → APPEND23_IN_AGAA(T154, T69, T157, T9)
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_AGAA(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AGAA(T46, T47, T48, T50)
QS1_IN_GA(cons(T214, cons(T212, T213)), T9) → U30_GA(T214, T212, T213, T9, geq62_in_gg(T212, T214))
QS1_IN_GA(cons(T214, cons(T212, T213)), T9) → GEQ62_IN_GG(T212, T214)
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_GA(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → SPLIT46_IN_GGAA(T213, T214, X323, X324)
U30_GA(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_GA(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_GA(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → QS79_IN_AA(T221, X12)
U32_GA(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_GA(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_GA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_GA(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U34_GA(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → P78_IN_AAAGA(cons(T212, T222), X13, T225, T214, T9)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AGAA(T46, T47, T48, T50)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND23_IN_AGAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AGAA(T46, T47, T48, T50)
APPEND23_IN_AGAA(T47) → APPEND23_IN_AGAA(T47)
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AAAA(T46, T47, T48, T50)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND23_IN_AAAA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_AAAA(T46, T47, T48, T50)
APPEND23_IN_AAAA → APPEND23_IN_AAAA
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → APPEND94_IN_AAAA(T195, T196, T197, X295)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND94_IN_AAAA(cons(T194, T195), T196, T197, cons(T194, X295)) → APPEND94_IN_AAAA(T195, T196, T197, X295)
APPEND94_IN_AAAA → APPEND94_IN_AAAA
GEQ62_IN_AA(s(T146), s(T147)) → GEQ62_IN_AA(T146, T147)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
GEQ62_IN_AA(s(T146), s(T147)) → GEQ62_IN_AA(T146, T147)
GEQ62_IN_AA → GEQ62_IN_AA
LESS36_IN_AA(s(T83), s(T84)) → LESS36_IN_AA(T83, T84)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
LESS36_IN_AA(s(T83), s(T84)) → LESS36_IN_AA(T83, T84)
LESS36_IN_AA → LESS36_IN_AA
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_AAAA(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → SPLIT46_IN_AAAA(T111, T112, X163, X164)
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_AAAA(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → SPLIT46_IN_AAAA(T126, T127, X195, X196)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
SPLIT46_IN_AAAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_AAAA(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_AAAA(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → SPLIT46_IN_AAAA(T111, T112, X163, X164)
SPLIT46_IN_AAAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_AAAA(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
U5_AAAA(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → SPLIT46_IN_AAAA(T126, T127, X195, X196)
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
SPLIT46_IN_AAAA → U3_AAAA(less36_in_aa)
U3_AAAA(less36_out_aa(T110)) → SPLIT46_IN_AAAA
SPLIT46_IN_AAAA → U5_AAAA(geq62_in_aa)
U5_AAAA(geq62_out_aa) → SPLIT46_IN_AAAA
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
geq62_in_aa
U2_aa(x0)
U7_aa(x0)
SPLIT46_IN_AAAA → U3_AAAA(less36_out_aa(0))
SPLIT46_IN_AAAA → U3_AAAA(U2_aa(less36_in_aa))
U3_AAAA(less36_out_aa(T110)) → SPLIT46_IN_AAAA
SPLIT46_IN_AAAA → U5_AAAA(geq62_in_aa)
U5_AAAA(geq62_out_aa) → SPLIT46_IN_AAAA
SPLIT46_IN_AAAA → U3_AAAA(less36_out_aa(0))
SPLIT46_IN_AAAA → U3_AAAA(U2_aa(less36_in_aa))
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
geq62_in_aa
U2_aa(x0)
U7_aa(x0)
SPLIT46_IN_AAAA → U5_AAAA(geq62_out_aa)
SPLIT46_IN_AAAA → U5_AAAA(U7_aa(geq62_in_aa))
U3_AAAA(less36_out_aa(T110)) → SPLIT46_IN_AAAA
U5_AAAA(geq62_out_aa) → SPLIT46_IN_AAAA
SPLIT46_IN_AAAA → U3_AAAA(less36_out_aa(0))
SPLIT46_IN_AAAA → U3_AAAA(U2_aa(less36_in_aa))
SPLIT46_IN_AAAA → U5_AAAA(geq62_out_aa)
SPLIT46_IN_AAAA → U5_AAAA(U7_aa(geq62_in_aa))
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
geq62_in_aa
U2_aa(x0)
U7_aa(x0)
QS79_IN_AA(cons(T162, T163), X265) → U9_AA(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → QS79_IN_AA(T166, X263)
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_AA(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → QS79_IN_AA(T167, X264)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
QS79_IN_AA(cons(T162, T163), X265) → U9_AA(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → QS79_IN_AA(T166, X263)
U9_AA(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_AA(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_AA(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → QS79_IN_AA(T167, X264)
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
QS79_IN_AA → U9_AA(split46_in_aaaa)
U9_AA(split46_out_aaaa) → QS79_IN_AA
U9_AA(split46_out_aaaa) → U11_AA(qs79_in_aa)
U11_AA(qs79_out_aa) → QS79_IN_AA
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
qs79_in_aa → qs79_out_aa
qs79_in_aa → U8_aa(split46_in_aaaa)
qs79_in_aa → U9_aa(split46_in_aaaa)
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U8_aa(split46_out_aaaa) → qs79_out_aa
U9_aa(split46_out_aaaa) → U10_aa(qs79_in_aa)
U9_aa(split46_out_aaaa) → U11_aa(qs79_in_aa)
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U10_aa(qs79_out_aa) → qs79_out_aa
U11_aa(qs79_out_aa) → U12_aa(qs79_in_aa)
U11_aa(qs79_out_aa) → U13_aa(qs79_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
U12_aa(qs79_out_aa) → qs79_out_aa
U13_aa(qs79_out_aa) → U14_aa(append94_in_aaaa)
U14_aa(append94_out_aaaa) → qs79_out_aa
append94_in_aaaa → append94_out_aaaa
append94_in_aaaa → U15_aaaa(append94_in_aaaa)
U15_aaaa(append94_out_aaaa) → append94_out_aaaa
split46_in_aaaa
qs79_in_aa
U3_aaaa(x0)
U5_aaaa(x0)
U8_aa(x0)
U9_aa(x0)
less36_in_aa
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U10_aa(x0)
U11_aa(x0)
U2_aa(x0)
U7_aa(x0)
U12_aa(x0)
U13_aa(x0)
U14_aa(x0)
append94_in_aaaa
U15_aaaa(x0)
QS79_IN_AA → U9_AA(split46_out_aaaa)
QS79_IN_AA → U9_AA(U3_aaaa(less36_in_aa))
QS79_IN_AA → U9_AA(U5_aaaa(geq62_in_aa))
U9_AA(split46_out_aaaa) → QS79_IN_AA
U9_AA(split46_out_aaaa) → U11_AA(qs79_in_aa)
U11_AA(qs79_out_aa) → QS79_IN_AA
QS79_IN_AA → U9_AA(split46_out_aaaa)
QS79_IN_AA → U9_AA(U3_aaaa(less36_in_aa))
QS79_IN_AA → U9_AA(U5_aaaa(geq62_in_aa))
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
qs79_in_aa → qs79_out_aa
qs79_in_aa → U8_aa(split46_in_aaaa)
qs79_in_aa → U9_aa(split46_in_aaaa)
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U8_aa(split46_out_aaaa) → qs79_out_aa
U9_aa(split46_out_aaaa) → U10_aa(qs79_in_aa)
U9_aa(split46_out_aaaa) → U11_aa(qs79_in_aa)
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U10_aa(qs79_out_aa) → qs79_out_aa
U11_aa(qs79_out_aa) → U12_aa(qs79_in_aa)
U11_aa(qs79_out_aa) → U13_aa(qs79_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
U12_aa(qs79_out_aa) → qs79_out_aa
U13_aa(qs79_out_aa) → U14_aa(append94_in_aaaa)
U14_aa(append94_out_aaaa) → qs79_out_aa
append94_in_aaaa → append94_out_aaaa
append94_in_aaaa → U15_aaaa(append94_in_aaaa)
U15_aaaa(append94_out_aaaa) → append94_out_aaaa
split46_in_aaaa
qs79_in_aa
U3_aaaa(x0)
U5_aaaa(x0)
U8_aa(x0)
U9_aa(x0)
less36_in_aa
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U10_aa(x0)
U11_aa(x0)
U2_aa(x0)
U7_aa(x0)
U12_aa(x0)
U13_aa(x0)
U14_aa(x0)
append94_in_aaaa
U15_aaaa(x0)
U9_AA(split46_out_aaaa) → U11_AA(qs79_out_aa)
U9_AA(split46_out_aaaa) → U11_AA(U8_aa(split46_in_aaaa))
U9_AA(split46_out_aaaa) → U11_AA(U9_aa(split46_in_aaaa))
U9_AA(split46_out_aaaa) → QS79_IN_AA
U11_AA(qs79_out_aa) → QS79_IN_AA
QS79_IN_AA → U9_AA(split46_out_aaaa)
QS79_IN_AA → U9_AA(U3_aaaa(less36_in_aa))
QS79_IN_AA → U9_AA(U5_aaaa(geq62_in_aa))
U9_AA(split46_out_aaaa) → U11_AA(qs79_out_aa)
U9_AA(split46_out_aaaa) → U11_AA(U8_aa(split46_in_aaaa))
U9_AA(split46_out_aaaa) → U11_AA(U9_aa(split46_in_aaaa))
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
qs79_in_aa → qs79_out_aa
qs79_in_aa → U8_aa(split46_in_aaaa)
qs79_in_aa → U9_aa(split46_in_aaaa)
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U8_aa(split46_out_aaaa) → qs79_out_aa
U9_aa(split46_out_aaaa) → U10_aa(qs79_in_aa)
U9_aa(split46_out_aaaa) → U11_aa(qs79_in_aa)
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U10_aa(qs79_out_aa) → qs79_out_aa
U11_aa(qs79_out_aa) → U12_aa(qs79_in_aa)
U11_aa(qs79_out_aa) → U13_aa(qs79_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U7_aa(geq62_out_aa) → geq62_out_aa
U12_aa(qs79_out_aa) → qs79_out_aa
U13_aa(qs79_out_aa) → U14_aa(append94_in_aaaa)
U14_aa(append94_out_aaaa) → qs79_out_aa
append94_in_aaaa → append94_out_aaaa
append94_in_aaaa → U15_aaaa(append94_in_aaaa)
U15_aaaa(append94_out_aaaa) → append94_out_aaaa
split46_in_aaaa
qs79_in_aa
U3_aaaa(x0)
U5_aaaa(x0)
U8_aa(x0)
U9_aa(x0)
less36_in_aa
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U10_aa(x0)
U11_aa(x0)
U2_aa(x0)
U7_aa(x0)
U12_aa(x0)
U13_aa(x0)
U14_aa(x0)
append94_in_aaaa
U15_aaaa(x0)
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GAGA(T46, T47, T48, T50)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND23_IN_GAGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GAGA(T46, T47, T48, T50)
APPEND23_IN_GAGA(cons(T45, T46), T48) → APPEND23_IN_GAGA(T46, T48)
From the DPs we obtained the following set of size-change graphs:
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → U24_AA(T69, T67, T68, T9, less36_in_aa(T67, T69))
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
QS1_IN_AA(cons(T69, cons(T67, T68)), T9) → U24_AA(T69, T67, T68, T9, less36_in_aa(T67, T69))
U24_AA(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_AA(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_AA(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → QS1_IN_AA(cons(T67, T89), X12)
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
QS1_IN_AA → U24_AA(less36_in_aa)
U24_AA(less36_out_aa(T67)) → U26_AA(split46_in_aaaa)
U26_AA(split46_out_aaaa) → QS1_IN_AA
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
split46_in_aaaa
U2_aa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U7_aa(x0)
QS1_IN_AA → U24_AA(less36_out_aa(0))
QS1_IN_AA → U24_AA(U2_aa(less36_in_aa))
U24_AA(less36_out_aa(T67)) → U26_AA(split46_in_aaaa)
U26_AA(split46_out_aaaa) → QS1_IN_AA
QS1_IN_AA → U24_AA(less36_out_aa(0))
QS1_IN_AA → U24_AA(U2_aa(less36_in_aa))
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
split46_in_aaaa
U2_aa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U7_aa(x0)
U24_AA(less36_out_aa(y0)) → U26_AA(split46_out_aaaa)
U24_AA(less36_out_aa(y0)) → U26_AA(U3_aaaa(less36_in_aa))
U24_AA(less36_out_aa(y0)) → U26_AA(U5_aaaa(geq62_in_aa))
U26_AA(split46_out_aaaa) → QS1_IN_AA
QS1_IN_AA → U24_AA(less36_out_aa(0))
QS1_IN_AA → U24_AA(U2_aa(less36_in_aa))
U24_AA(less36_out_aa(y0)) → U26_AA(split46_out_aaaa)
U24_AA(less36_out_aa(y0)) → U26_AA(U3_aaaa(less36_in_aa))
U24_AA(less36_out_aa(y0)) → U26_AA(U5_aaaa(geq62_in_aa))
less36_in_aa → less36_out_aa(0)
less36_in_aa → U2_aa(less36_in_aa)
split46_in_aaaa → split46_out_aaaa
split46_in_aaaa → U3_aaaa(less36_in_aa)
split46_in_aaaa → U5_aaaa(geq62_in_aa)
U2_aa(less36_out_aa(T83)) → less36_out_aa(s(T83))
U3_aaaa(less36_out_aa(T110)) → split46_out_aaaa
U3_aaaa(less36_out_aa(T110)) → U4_aaaa(split46_in_aaaa)
U5_aaaa(geq62_out_aa) → split46_out_aaaa
U5_aaaa(geq62_out_aa) → U6_aaaa(split46_in_aaaa)
U4_aaaa(split46_out_aaaa) → split46_out_aaaa
geq62_in_aa → geq62_out_aa
geq62_in_aa → U7_aa(geq62_in_aa)
U6_aaaa(split46_out_aaaa) → split46_out_aaaa
U7_aa(geq62_out_aa) → geq62_out_aa
less36_in_aa
split46_in_aaaa
U2_aa(x0)
U3_aaaa(x0)
U5_aaaa(x0)
U4_aaaa(x0)
geq62_in_aa
U6_aaaa(x0)
U7_aa(x0)
GEQ62_IN_GG(s(T146), s(T147)) → GEQ62_IN_GG(T146, T147)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
GEQ62_IN_GG(s(T146), s(T147)) → GEQ62_IN_GG(T146, T147)
GEQ62_IN_GG(s(T146), s(T147)) → GEQ62_IN_GG(T146, T147)
From the DPs we obtained the following set of size-change graphs:
LESS36_IN_GG(s(T83), s(T84)) → LESS36_IN_GG(T83, T84)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
LESS36_IN_GG(s(T83), s(T84)) → LESS36_IN_GG(T83, T84)
LESS36_IN_GG(s(T83), s(T84)) → LESS36_IN_GG(T83, T84)
From the DPs we obtained the following set of size-change graphs:
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_GGAA(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → SPLIT46_IN_GGAA(T111, T112, X163, X164)
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_GGAA(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → SPLIT46_IN_GGAA(T126, T127, X195, X196)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
SPLIT46_IN_GGAA(cons(T110, T111), T112, cons(T110, X163), X164) → U3_GGAA(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_GGAA(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → SPLIT46_IN_GGAA(T111, T112, X163, X164)
SPLIT46_IN_GGAA(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_GGAA(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
U5_GGAA(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → SPLIT46_IN_GGAA(T126, T127, X195, X196)
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
SPLIT46_IN_GGAA(cons(T110, T111), T112) → U3_GGAA(T111, T112, less36_in_gg(T110, T112))
U3_GGAA(T111, T112, less36_out_gg) → SPLIT46_IN_GGAA(T111, T112)
SPLIT46_IN_GGAA(cons(T125, T126), T127) → U5_GGAA(T126, T127, geq62_in_gg(T125, T127))
U5_GGAA(T126, T127, geq62_out_gg) → SPLIT46_IN_GGAA(T126, T127)
less36_in_gg(0, s(T78)) → less36_out_gg
less36_in_gg(s(T83), s(T84)) → U2_gg(less36_in_gg(T83, T84))
geq62_in_gg(T136, T136) → geq62_out_gg
geq62_in_gg(s(T141), 0) → geq62_out_gg
geq62_in_gg(s(T146), s(T147)) → U7_gg(geq62_in_gg(T146, T147))
U2_gg(less36_out_gg) → less36_out_gg
U7_gg(geq62_out_gg) → geq62_out_gg
less36_in_gg(x0, x1)
geq62_in_gg(x0, x1)
U2_gg(x0)
U7_gg(x0)
From the DPs we obtained the following set of size-change graphs:
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GGGA(T46, T47, T48, T50)
qs1_in_ga([], []) → qs1_out_ga([], [])
qs1_in_ga(cons(T14, []), T9) → U19_ga(T14, T9, qs14_in_a(X12))
qs14_in_a([]) → qs14_out_a([])
U19_ga(T14, T9, qs14_out_a(X12)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T14, []), T9) → U20_ga(T14, T9, qs14_in_a(T17))
U20_ga(T14, T9, qs14_out_a(T17)) → U21_ga(T14, T9, qs14_in_a(X13))
U21_ga(T14, T9, qs14_out_a(X13)) → qs1_out_ga(cons(T14, []), T9)
U20_ga(T14, T9, qs14_out_a(T17)) → U22_ga(T14, T9, T17, qs14_in_a(T20))
U22_ga(T14, T9, T17, qs14_out_a(T20)) → U23_ga(T14, T9, append23_in_ggga(T17, T14, T20, T9))
append23_in_ggga([], T33, T34, cons(T33, T34)) → append23_out_ggga([], T33, T34, cons(T33, T34))
append23_in_ggga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_ggga(T45, T46, T47, T48, T50, append23_in_ggga(T46, T47, T48, T50))
U1_ggga(T45, T46, T47, T48, T50, append23_out_ggga(T46, T47, T48, T50)) → append23_out_ggga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_ga(T14, T9, append23_out_ggga(T17, T14, T20, T9)) → qs1_out_ga(cons(T14, []), T9)
qs1_in_ga(cons(T69, cons(T67, T68)), T9) → U24_ga(T69, T67, T68, T9, less36_in_gg(T67, T69))
less36_in_gg(0, s(T78)) → less36_out_gg(0, s(T78))
less36_in_gg(s(T83), s(T84)) → U2_gg(T83, T84, less36_in_gg(T83, T84))
U2_gg(T83, T84, less36_out_gg(T83, T84)) → less36_out_gg(s(T83), s(T84))
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U25_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, X93, X94))
split46_in_ggaa([], T97, [], []) → split46_out_ggaa([], T97, [], [])
split46_in_ggaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_ggaa(T110, T111, T112, X163, X164, less36_in_gg(T110, T112))
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_ggaa(T110, T111, T112, X163, X164, less36_out_gg(T110, T112)) → U4_ggaa(T110, T111, T112, X163, X164, split46_in_ggaa(T111, T112, X163, X164))
split46_in_ggaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_ggaa(T125, T126, T127, X195, X196, geq62_in_gg(T125, T127))
geq62_in_gg(T136, T136) → geq62_out_gg(T136, T136)
geq62_in_gg(s(T141), 0) → geq62_out_gg(s(T141), 0)
geq62_in_gg(s(T146), s(T147)) → U7_gg(T146, T147, geq62_in_gg(T146, T147))
U7_gg(T146, T147, geq62_out_gg(T146, T147)) → geq62_out_gg(s(T146), s(T147))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_ggaa(T125, T126, T127, X195, X196, geq62_out_gg(T125, T127)) → U6_ggaa(T125, T126, T127, X195, X196, split46_in_ggaa(T126, T127, X195, X196))
U6_ggaa(T125, T126, T127, X195, X196, split46_out_ggaa(T126, T127, X195, X196)) → split46_out_ggaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_ggaa(T110, T111, T112, X163, X164, split46_out_ggaa(T111, T112, X163, X164)) → split46_out_ggaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, X93, X94)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U24_ga(T69, T67, T68, T9, less36_out_gg(T67, T69)) → U26_ga(T69, T67, T68, T9, split46_in_ggaa(T68, T69, T89, T90))
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U27_ga(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa([], []) → qs1_out_aa([], [])
qs1_in_aa(cons(T14, []), T9) → U19_aa(T14, T9, qs14_in_a(X12))
U19_aa(T14, T9, qs14_out_a(X12)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T14, []), T9) → U20_aa(T14, T9, qs14_in_a(T17))
U20_aa(T14, T9, qs14_out_a(T17)) → U21_aa(T14, T9, qs14_in_a(X13))
U21_aa(T14, T9, qs14_out_a(X13)) → qs1_out_aa(cons(T14, []), T9)
U20_aa(T14, T9, qs14_out_a(T17)) → U22_aa(T14, T9, T17, qs14_in_a(T20))
U22_aa(T14, T9, T17, qs14_out_a(T20)) → U23_aa(T14, T9, append23_in_gaga(T17, T14, T20, T9))
append23_in_gaga([], T33, T34, cons(T33, T34)) → append23_out_gaga([], T33, T34, cons(T33, T34))
append23_in_gaga(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_gaga(T45, T46, T47, T48, T50, append23_in_gaga(T46, T47, T48, T50))
U1_gaga(T45, T46, T47, T48, T50, append23_out_gaga(T46, T47, T48, T50)) → append23_out_gaga(cons(T45, T46), T47, T48, cons(T45, T50))
U23_aa(T14, T9, append23_out_gaga(T17, T14, T20, T9)) → qs1_out_aa(cons(T14, []), T9)
qs1_in_aa(cons(T69, cons(T67, T68)), T9) → U24_aa(T69, T67, T68, T9, less36_in_aa(T67, T69))
less36_in_aa(0, s(T78)) → less36_out_aa(0, s(T78))
less36_in_aa(s(T83), s(T84)) → U2_aa(T83, T84, less36_in_aa(T83, T84))
U2_aa(T83, T84, less36_out_aa(T83, T84)) → less36_out_aa(s(T83), s(T84))
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U25_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, X93, X94))
split46_in_aaaa([], T97, [], []) → split46_out_aaaa([], T97, [], [])
split46_in_aaaa(cons(T110, T111), T112, cons(T110, X163), X164) → U3_aaaa(T110, T111, T112, X163, X164, less36_in_aa(T110, T112))
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U3_aaaa(T110, T111, T112, X163, X164, less36_out_aa(T110, T112)) → U4_aaaa(T110, T111, T112, X163, X164, split46_in_aaaa(T111, T112, X163, X164))
split46_in_aaaa(cons(T125, T126), T127, X195, cons(T125, X196)) → U5_aaaa(T125, T126, T127, X195, X196, geq62_in_aa(T125, T127))
geq62_in_aa(T136, T136) → geq62_out_aa(T136, T136)
geq62_in_aa(s(T141), 0) → geq62_out_aa(s(T141), 0)
geq62_in_aa(s(T146), s(T147)) → U7_aa(T146, T147, geq62_in_aa(T146, T147))
U7_aa(T146, T147, geq62_out_aa(T146, T147)) → geq62_out_aa(s(T146), s(T147))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U5_aaaa(T125, T126, T127, X195, X196, geq62_out_aa(T125, T127)) → U6_aaaa(T125, T126, T127, X195, X196, split46_in_aaaa(T126, T127, X195, X196))
U6_aaaa(T125, T126, T127, X195, X196, split46_out_aaaa(T126, T127, X195, X196)) → split46_out_aaaa(cons(T125, T126), T127, X195, cons(T125, X196))
U4_aaaa(T110, T111, T112, X163, X164, split46_out_aaaa(T111, T112, X163, X164)) → split46_out_aaaa(cons(T110, T111), T112, cons(T110, X163), X164)
U25_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, X93, X94)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U24_aa(T69, T67, T68, T9, less36_out_aa(T67, T69)) → U26_aa(T69, T67, T68, T9, split46_in_aaaa(T68, T69, T89, T90))
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U27_aa(T69, T67, T68, T9, qs1_in_aa(cons(T67, T89), X12))
qs1_in_aa(cons(T214, cons(T212, T213)), T9) → U30_aa(T214, T212, T213, T9, geq62_in_aa(T212, T214))
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U31_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, X323, X324))
U31_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, X323, X324)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U30_aa(T214, T212, T213, T9, geq62_out_aa(T212, T214)) → U32_aa(T214, T212, T213, T9, split46_in_aaaa(T213, T214, T221, T222))
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U33_aa(T214, T212, T213, T9, qs79_in_aa(T221, X12))
qs79_in_aa([], []) → qs79_out_aa([], [])
qs79_in_aa(cons(T162, T163), X265) → U8_aa(T162, T163, X265, split46_in_aaaa(T163, T162, X261, X262))
U8_aa(T162, T163, X265, split46_out_aaaa(T163, T162, X261, X262)) → qs79_out_aa(cons(T162, T163), X265)
qs79_in_aa(cons(T162, T163), X265) → U9_aa(T162, T163, X265, split46_in_aaaa(T163, T162, T166, T167))
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U10_aa(T162, T163, X265, qs79_in_aa(T166, X263))
U10_aa(T162, T163, X265, qs79_out_aa(T166, X263)) → qs79_out_aa(cons(T162, T163), X265)
U9_aa(T162, T163, X265, split46_out_aaaa(T163, T162, T166, T167)) → U11_aa(T162, T163, X265, T167, qs79_in_aa(T166, T170))
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U12_aa(T162, T163, X265, qs79_in_aa(T167, X264))
U12_aa(T162, T163, X265, qs79_out_aa(T167, X264)) → qs79_out_aa(cons(T162, T163), X265)
U11_aa(T162, T163, X265, T167, qs79_out_aa(T166, T170)) → U13_aa(T162, T163, X265, T170, qs79_in_aa(T167, T171))
U13_aa(T162, T163, X265, T170, qs79_out_aa(T167, T171)) → U14_aa(T162, T163, X265, append94_in_aaaa(T170, T162, T171, X265))
append94_in_aaaa([], T184, T185, cons(T184, T185)) → append94_out_aaaa([], T184, T185, cons(T184, T185))
append94_in_aaaa(cons(T194, T195), T196, T197, cons(T194, X295)) → U15_aaaa(T194, T195, T196, T197, X295, append94_in_aaaa(T195, T196, T197, X295))
U15_aaaa(T194, T195, T196, T197, X295, append94_out_aaaa(T195, T196, T197, X295)) → append94_out_aaaa(cons(T194, T195), T196, T197, cons(T194, X295))
U14_aa(T162, T163, X265, append94_out_aaaa(T170, T162, T171, X265)) → qs79_out_aa(cons(T162, T163), X265)
U33_aa(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U32_aa(T214, T212, T213, T9, split46_out_aaaa(T213, T214, T221, T222)) → U34_aa(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_aa(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_aa(T214, T212, T213, T9, p78_in_aaaaa(cons(T212, T222), X13, T225, T214, T9))
p78_in_aaaaa(T90, X13, T154, T69, T9) → U16_aaaaa(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaaa(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaaa(T90, X13, T154, T69, T9)
p78_in_aaaaa(T90, T157, T154, T69, T9) → U17_aaaaa(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaaa(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaaa(T90, T157, T154, T69, T9, append23_in_aaaa(T154, T69, T157, T9))
append23_in_aaaa([], T33, T34, cons(T33, T34)) → append23_out_aaaa([], T33, T34, cons(T33, T34))
append23_in_aaaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_aaaa(T45, T46, T47, T48, T50, append23_in_aaaa(T46, T47, T48, T50))
U1_aaaa(T45, T46, T47, T48, T50, append23_out_aaaa(T46, T47, T48, T50)) → append23_out_aaaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaaa(T90, T157, T154, T69, T9, append23_out_aaaa(T154, T69, T157, T9)) → p78_out_aaaaa(T90, T157, T154, T69, T9)
U35_aa(T214, T212, T213, T9, p78_out_aaaaa(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_aa(cons(T214, cons(T212, T213)), T9)
U27_aa(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U26_aa(T69, T67, T68, T9, split46_out_aaaa(T68, T69, T89, T90)) → U28_aa(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_aa(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_aa(T69, T67, T68, T9, p78_in_aaaaa(T90, X13, T154, T69, T9))
U29_aa(T69, T67, T68, T9, p78_out_aaaaa(T90, X13, T154, T69, T9)) → qs1_out_aa(cons(T69, cons(T67, T68)), T9)
U27_ga(T69, T67, T68, T9, qs1_out_aa(cons(T67, T89), X12)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
U26_ga(T69, T67, T68, T9, split46_out_ggaa(T68, T69, T89, T90)) → U28_ga(T69, T67, T68, T9, T90, qs1_in_aa(cons(T67, T89), T154))
U28_ga(T69, T67, T68, T9, T90, qs1_out_aa(cons(T67, T89), T154)) → U29_ga(T69, T67, T68, T9, p78_in_aaaga(T90, X13, T154, T69, T9))
p78_in_aaaga(T90, X13, T154, T69, T9) → U16_aaaga(T90, X13, T154, T69, T9, qs79_in_aa(T90, X13))
U16_aaaga(T90, X13, T154, T69, T9, qs79_out_aa(T90, X13)) → p78_out_aaaga(T90, X13, T154, T69, T9)
p78_in_aaaga(T90, T157, T154, T69, T9) → U17_aaaga(T90, T157, T154, T69, T9, qs79_in_aa(T90, T157))
U17_aaaga(T90, T157, T154, T69, T9, qs79_out_aa(T90, T157)) → U18_aaaga(T90, T157, T154, T69, T9, append23_in_agaa(T154, T69, T157, T9))
append23_in_agaa([], T33, T34, cons(T33, T34)) → append23_out_agaa([], T33, T34, cons(T33, T34))
append23_in_agaa(cons(T45, T46), T47, T48, cons(T45, T50)) → U1_agaa(T45, T46, T47, T48, T50, append23_in_agaa(T46, T47, T48, T50))
U1_agaa(T45, T46, T47, T48, T50, append23_out_agaa(T46, T47, T48, T50)) → append23_out_agaa(cons(T45, T46), T47, T48, cons(T45, T50))
U18_aaaga(T90, T157, T154, T69, T9, append23_out_agaa(T154, T69, T157, T9)) → p78_out_aaaga(T90, T157, T154, T69, T9)
U29_ga(T69, T67, T68, T9, p78_out_aaaga(T90, X13, T154, T69, T9)) → qs1_out_ga(cons(T69, cons(T67, T68)), T9)
qs1_in_ga(cons(T214, cons(T212, T213)), T9) → U30_ga(T214, T212, T213, T9, geq62_in_gg(T212, T214))
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U31_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, X323, X324))
U31_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, X323, X324)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U30_ga(T214, T212, T213, T9, geq62_out_gg(T212, T214)) → U32_ga(T214, T212, T213, T9, split46_in_ggaa(T213, T214, T221, T222))
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U33_ga(T214, T212, T213, T9, qs79_in_aa(T221, X12))
U33_ga(T214, T212, T213, T9, qs79_out_aa(T221, X12)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
U32_ga(T214, T212, T213, T9, split46_out_ggaa(T213, T214, T221, T222)) → U34_ga(T214, T212, T213, T9, T222, qs79_in_aa(T221, T225))
U34_ga(T214, T212, T213, T9, T222, qs79_out_aa(T221, T225)) → U35_ga(T214, T212, T213, T9, p78_in_aaaga(cons(T212, T222), X13, T225, T214, T9))
U35_ga(T214, T212, T213, T9, p78_out_aaaga(cons(T212, T222), X13, T225, T214, T9)) → qs1_out_ga(cons(T214, cons(T212, T213)), T9)
APPEND23_IN_GGGA(cons(T45, T46), T47, T48, cons(T45, T50)) → APPEND23_IN_GGGA(T46, T47, T48, T50)
APPEND23_IN_GGGA(cons(T45, T46), T47, T48) → APPEND23_IN_GGGA(T46, T47, T48)
From the DPs we obtained the following set of size-change graphs: