<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="H8T_~dq3P-EfRnJmNmu}">p</variable>
    <variable id="@Poqfs0Hdbr+N|K!c^~O">n</variable>
    <variable id="iXaR@_x;7YiayC7v9K[U">r</variable>
    <variable id="(}q{`@UGbJ2}_2-30zk,">v</variable>
  </variables>
  <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>
  <block type="variables_set" id="|]5{@0j0lWk;mUdPaChf" x="213" y="163">
    <field name="VAR" id="H8T_~dq3P-EfRnJmNmu}">p</field>
    <value name="VALUE">
      <block type="procedures_callreturn" id="wUs(V$sRLE2kEhjh1s~2">
        <mutation name="input"></mutation>
      </block>
    </value>
    <next>
      <block type="variables_set" id="e`E;tleLtQWLps*@W#q?">
        <field name="VAR" id="@Poqfs0Hdbr+N|K!c^~O">n</field>
        <value name="VALUE">
          <block type="procedures_callreturn" id="TX#+yHv3ua`]/]!i2|[L">
            <mutation name="input"></mutation>
          </block>
        </value>
        <next>
          <block type="variables_set" id="Axuh64)O1pDt7:%@|={2">
            <field name="VAR" id="iXaR@_x;7YiayC7v9K[U">r</field>
            <value name="VALUE">
              <block type="math_number" id="sU?Z%ud~[~GCy7KC:YK-">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="controls_repeat_ext" id="73fh+nLwQJcR{C%I]8a!">
                <value name="TIMES">
                  <shadow type="math_number" id="oF}~|C79dw@p5k/b2^i`">
                    <field name="NUM">10</field>
                  </shadow>
                  <block type="variables_get" id="$I{0^z]h;)Cch{/dzjIN">
                    <field name="VAR" id="@Poqfs0Hdbr+N|K!c^~O">n</field>
                  </block>
                </value>
                <statement name="DO">
                  <block type="variables_set" id="Zd8b^q7zFJ#C{X,FDlm/">
                    <field name="VAR" id="(}q{`@UGbJ2}_2-30zk,">v</field>
                    <value name="VALUE">
                      <block type="procedures_callreturn" id="*dF8CNt%$THT|0gw!Ooh">
                        <mutation name="input"></mutation>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="(scm?z8*Lhf9aAVZwQGC">
                        <value name="IF0">
                          <block type="logic_compare" id="q^{Qj%sASRa}d2~tv?tL">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="variables_get" id="EYAx:#Ud{U`Ba6b!5x.2">
                                <field name="VAR" id="(}q{`@UGbJ2}_2-30zk,">v</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="Y*1e9WjOM;PTJQcZsZ5k">
                                <field name="VAR" id="H8T_~dq3P-EfRnJmNmu}">p</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="math_change" id="!oi^sEmu{0!50=~]F[nt">
                            <field name="VAR" id="iXaR@_x;7YiayC7v9K[U">r</field>
                            <value name="DELTA">
                              <shadow type="math_number" id="U_Z}L~F)g!gN%_DZ|~F#">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="math_arithmetic" id="UD~AI#sA7t|Tn]ofvD.y">
                                <field name="OP">MINUS</field>
                                <value name="A">
                                  <shadow type="math_number" id="dL2]y[XFO?PS9.G|{v?4">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="math_arithmetic" id="a9WBn$/rpNhRGm8Aly6k">
                                    <field name="OP">ADD</field>
                                    <value name="A">
                                      <shadow type="math_number" id="tH^Wf3~(XLEtz1+z**(@">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="$AK,qioV*PSlLf3GC[y8">
                                        <field name="VAR" id="(}q{`@UGbJ2}_2-30zk,">v</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="pG$ET{}9PU~*wjN@CLIK">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="X%jtVb4dQUu#`jAe~3Az">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="zzI3S/^Cu@%xN,=_Px)j">
                                    <field name="VAR" id="H8T_~dq3P-EfRnJmNmu}">p</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="looks_say" id="vMB`,?Y%TDdawcf(`4oD">
                    <value name="TEXT">
                      <block type="variables_get" id="uU6Bd86QCA^dVI81^c(H">
                        <field name="VAR" id="iXaR@_x;7YiayC7v9K[U">r</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>