<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="S[2uw1ku,tKf5W,rqX.(">p</variable>
    <variable id="5LNa6}3D1j0gs^4Z0R!I">n</variable>
    <variable id="yzmV`Y@vFbwu6Du(Od=u">h</variable>
  </variables>
  <block type="variables_set" id="bAweL9+=+06UTFA^%6u`" x="313" y="113">
    <field name="VAR" id="S[2uw1ku,tKf5W,rqX.(">p</field>
    <value name="VALUE">
      <block type="procedures_callreturn" id="6399hoAS6b8|=fJV.n$^">
        <mutation name="input"></mutation>
      </block>
    </value>
    <next>
      <block type="variables_set" id="#(kpMsVM,Wn(XuI.beyj">
        <field name="VAR" id="5LNa6}3D1j0gs^4Z0R!I">n</field>
        <value name="VALUE">
          <block type="procedures_callreturn" id="m49r$5(0*X#o-zC?p0d}">
            <mutation name="input"></mutation>
          </block>
        </value>
        <next>
          <block type="variables_set" id="2#SOC3u=i|k#6b`=(N7G">
            <field name="VAR" id="yzmV`Y@vFbwu6Du(Od=u">h</field>
            <value name="VALUE">
              <block type="math_number" id="T+b{O%)Ub}2Y_Wwch{jQ">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="controls_repeat_ext" id="W;8Ca`QPao/yZnKy%$M?">
                <value name="TIMES">
                  <shadow type="math_number" id="ZpI;PP%s84*5no.)!SAd">
                    <field name="NUM">10</field>
                  </shadow>
                  <block type="variables_get" id="BD`d-[u-AM;OYrJ:y.bb">
                    <field name="VAR" id="5LNa6}3D1j0gs^4Z0R!I">n</field>
                  </block>
                </value>
                <statement name="DO">
                  <block type="controls_if" id="+UzegoFZV#8AfBNF{ow3">
                    <value name="IF0">
                      <block type="logic_compare" id="gSr*2EOacBx6DCl`NPZc">
                        <field name="OP">LTE</field>
                        <value name="A">
                          <block type="variables_get" id="-I}U@8AGfy/~YFTvDyf.">
                            <field name="VAR" id="S[2uw1ku,tKf5W,rqX.(">p</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="fvNv{`)3Rm^s/h]1)lYU">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_flow_statements" id="-iD-_M!),;N),sVahK%3">
                        <field name="FLOW">BREAK</field>
                      </block>
                    </statement>
                    <next>
                      <block type="math_change" id="pCf`nv0;=$b+B(no!`A{">
                        <field name="VAR" id="yzmV`Y@vFbwu6Du(Od=u">h</field>
                        <value name="DELTA">
                          <shadow type="math_number" id="#hQZ7LC)vtqpg`Dz}CJ-">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="variables_set" id="!)Q$+iGHXH[bNLk,y:w1">
                            <field name="VAR" id="S[2uw1ku,tKf5W,rqX.(">p</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="0^8Il?IaVuqt{7a=-fW-">
                                <field name="OP">MINUS</field>
                                <value name="A">
                                  <shadow type="math_number" id="[oRi`g_tWNp!%t$l_Z?K">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="[d#f8ris@D}outt${G]g">
                                    <field name="VAR" id="S[2uw1ku,tKf5W,rqX.(">p</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="x[Cx!Q38FHGOkuf|X)vE">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="procedures_callreturn" id="sH1ksh(.BrcH$YxIQ4Px">
                                    <mutation name="input"></mutation>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="looks_say" id="$Y2,*u[kto6sPRa;Oyyn">
                    <value name="TEXT">
                      <block type="variables_get" id="5)T,_i6$b%7v4w1{y@zE">
                        <field name="VAR" id="yzmV`Y@vFbwu6Du(Od=u">h</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
  <block type="procedures_defreturn" id="r]t*zHPT_NZiaYK5!B1o" x="813" y="88">
    <field name="NAME">input</field>
    <comment pinned="false" h="80" w="160">描述此函式...</comment>
    <statement name="STACK">
      <block type="sensing_askandwait" id="iwl(}Ve6walS4m5-=13L"></block>
    </statement>
    <value name="RETURN">
      <block type="sensing_answer" id="[mg+Ps|0qn3;w^*Dm}(N"></block>
    </value>
  </block>
</xml>