<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="9yM7n^o(;Jg1oXpsRpEc">list1</variable>
    <variable id="{b`8K0)_Y`:]iwy/yq})">a</variable>
    <variable id="!X%o1B#]N7:!03!Yq_0v">b</variable>
    <variable id="uPL]~abXe`!z]=T90{bb">sum</variable>
    <variable id="+:dn{W1o;MxJ]?o{((hm">i</variable>
  </variables>
  <block type="when_green_flag" id="1+ugkZgCnPKWgj`!OW^Z" x="-162" y="13">
    <next>
      <block type="variables_set" id="?6x4(BH6ZS@jK8_xZ`@N">
        <field name="VAR" id="9yM7n^o(;Jg1oXpsRpEc">list1</field>
        <value name="VALUE">
          <block type="lists_create_with" id="QG%`5Jv+je@A7+`/|f9p">
            <mutation items="0"></mutation>
          </block>
        </value>
        <next>
          <block type="sensing_askandwait" id="N3y=L=YHG7[z#{#1lwi:">
            <next>
              <block type="variables_set" id="~0Sd_cWphPNT|,cQt^_X">
                <field name="VAR" id="{b`8K0)_Y`:]iwy/yq})">a</field>
                <value name="VALUE">
                  <block type="sensing_answer" id="ZAWuI$`4e.NWHz`C!`Y["></block>
                </value>
                <next>
                  <block type="sensing_askandwait" id="-?p)y2,g-z2ieUNP}CpO">
                    <next>
                      <block type="variables_set" id="%k+?.?Mo+=pLUt6n;p6l">
                        <field name="VAR" id="!X%o1B#]N7:!03!Yq_0v">b</field>
                        <value name="VALUE">
                          <block type="sensing_answer" id="3}g_HwtSF{g+i8g`jlW5"></block>
                        </value>
                        <next>
                          <block type="controls_repeat_ext" id="vZYG4~XUl:ydPO%|tfdV">
                            <value name="TIMES">
                              <shadow type="math_number" id="$/VoS9wzw=@04XoB|e9x">
                                <field name="NUM">10</field>
                              </shadow>
                              <block type="variables_get" id="WV_.b~7f/g,i,pNS~^iA">
                                <field name="VAR" id="!X%o1B#]N7:!03!Yq_0v">b</field>
                              </block>
                            </value>
                            <statement name="DO">
                              <block type="sensing_askandwait" id="Eu*!.tt%?sVx7YbBa^|a">
                                <next>
                                  <block type="lists_setIndex" id="k,^NW(#I+;{T@BHI~`OT">
                                    <mutation at="false"></mutation>
                                    <field name="MODE">INSERT</field>
                                    <field name="WHERE">LAST</field>
                                    <value name="LIST">
                                      <block type="variables_get" id="^@kg,|?c2c{;mi303lq:">
                                        <field name="VAR" id="9yM7n^o(;Jg1oXpsRpEc">list1</field>
                                      </block>
                                    </value>
                                    <value name="TO">
                                      <block type="sensing_answer" id=")6tub8U8g7XtH,WA-Bjx"></block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <next>
                              <block type="variables_set" id="_DI*?vSxry]2pSjGESqu">
                                <field name="VAR" id="uPL]~abXe`!z]=T90{bb">sum</field>
                                <value name="VALUE">
                                  <block type="math_number" id="j0z.JT41{T?.Alw?2t{a">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="KvO#+4Z4|!s^+|gfiu4Q">
                                    <value name="IF0">
                                      <block type="logic_compare" id="zirPpIJJQMwFs;n`A^fl">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="UJ|2!_kic;G}|h8YV*WP">
                                            <field name="VAR" id="{b`8K0)_Y`:]iwy/yq})">a</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="^qM=n/{%VaZKVXA%J4ny">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="controls_forEach" id="}-kN[NB*/-gYBTr(JqoQ">
                                        <field name="VAR" id="+:dn{W1o;MxJ]?o{((hm">i</field>
                                        <value name="LIST">
                                          <block type="variables_get" id="C,I]=jk_N(u1Q,@K[/g5">
                                            <field name="VAR" id="9yM7n^o(;Jg1oXpsRpEc">list1</field>
                                          </block>
                                        </value>
                                        <statement name="DO">
                                          <block type="variables_set" id="?9[,z,R:bWgp8zxh]a.:">
                                            <field name="VAR" id="{b`8K0)_Y`:]iwy/yq})">a</field>
                                            <value name="VALUE">
                                              <block type="math_arithmetic" id="?-S%2%=bS~f+Y!/RGU@m">
                                                <field name="OP">MINUS</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="4/bC!V5tKDtJAv3Twa!E">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="variables_get" id="Fkl*xng-q~B{+mUN_7Sw">
                                                    <field name="VAR" id="{b`8K0)_Y`:]iwy/yq})">a</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="9a!AZ|72C#ZKL@]ggTgU">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="variables_get" id="lYxR:HqVR($KGu?DiM`%">
                                                    <field name="VAR" id="+:dn{W1o;MxJ]?o{((hm">i</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="controls_if" id="~uCRtanu7Rfc200gU5Pb">
                                                <mutation elseif="1"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_compare" id="(Z~l1mCnjvN4%/6P@7]m">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="NP93n[%UmZcVC3R~P#}y">
                                                        <field name="VAR" id="{b`8K0)_Y`:]iwy/yq})">a</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="Bec}QVI$UQ4SS!8y_.C6">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="math_change" id="N%pq2QEH4KebS6,N:n#b">
                                                    <field name="VAR" id="uPL]~abXe`!z]=T90{bb">sum</field>
                                                    <value name="DELTA">
                                                      <shadow type="math_number" id="Rbp=?7h~{=_oyq^qrH+T">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <value name="IF1">
                                                  <block type="logic_compare" id="%*K%@Il8k_k[@Q(3^~8S">
                                                    <field name="OP">LTE</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="3b3#,m(*bEL,.,hG]uo~">
                                                        <field name="VAR" id="{b`8K0)_Y`:]iwy/yq})">a</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="}zo7$RQ:GQ3Z5ao/5C%_">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO1">
                                                  <block type="math_change" id="+h;/!7+/_}X~rnBX-re{">
                                                    <field name="VAR" id="uPL]~abXe`!z]=T90{bb">sum</field>
                                                    <value name="DELTA">
                                                      <shadow type="math_number" id="=0b^XZlI}yLr}o`GwyH7">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                    </value>
                                                    <next>
                                                      <block type="controls_flow_statements" id="6-mj^]T}=)1e3GYQ-O|d">
                                                        <field name="FLOW">BREAK</field>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="text_print" id="FBl^l5k$[syRGR({@XEP">
                                        <value name="TEXT">
                                          <shadow type="text" id="GR$Cy;HXepq!D8Cdt`|a">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="variables_get" id="yX%u5/$[IJfIMM0)q3bP">
                                            <field name="VAR" id="uPL]~abXe`!z]=T90{bb">sum</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>