<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="GTeL2CTlyrL#fB8qk|_P">z</variable>
    <variable id="J?=REahPq}CSb[GU,K7,">r</variable>
    <variable id="F3rvobR3[;v}S~uKrb;=">v</variable>
    <variable id="(/D%m:fu~8xlKz}c(8m,">p</variable>
    <variable id="?Db1-sW-4+-UYV$)]Cy(">i</variable>
    <variable id="O_D5m`RUEh;IWCa_fP!L">c</variable>
    <variable id="fk/5`I9:.){~!XgTQ5L)">coin</variable>
    <variable id="T:c8Zh:o5TlHPrs5AE4U">x</variable>
  </variables>
  <block type="variables_set" id="O(prRa$[6fQkaJac-m7$" x="238" y="13">
    <field name="VAR" id="GTeL2CTlyrL#fB8qk|_P">z</field>
    <value name="VALUE">
      <block type="lists_create_with" id="_vz$SU}$0Tm]83TIg||+">
        <mutation items="5"></mutation>
        <value name="ADD0">
          <block type="math_number" id="a6Jt1n3E4W/.)uEl;YX}">
            <field name="NUM">100</field>
          </block>
        </value>
        <value name="ADD1">
          <block type="math_number" id="v,7,QCyM*g#~-`cERd9l">
            <field name="NUM">50</field>
          </block>
        </value>
        <value name="ADD2">
          <block type="math_number" id="!jC~;ZF*#gnW1jZ|jC9l">
            <field name="NUM">10</field>
          </block>
        </value>
        <value name="ADD3">
          <block type="math_number" id="E3Znr4C*!r)B`4XFA;J~">
            <field name="NUM">5</field>
          </block>
        </value>
        <value name="ADD4">
          <block type="math_number" id="Yk~$m}rp4E.H`vrpiMP@">
            <field name="NUM">1</field>
          </block>
        </value>
      </block>
    </value>
    <next>
      <block type="variables_set" id="(jhm2{H%igI;hGm5zh?b">
        <field name="VAR" id="J?=REahPq}CSb[GU,K7,">r</field>
        <value name="VALUE">
          <block type="lists_create_with" id="{Q[ep%{7HBY,:a*)6e~7">
            <mutation items="5"></mutation>
            <value name="ADD0">
              <block type="math_number" id="GMs@=g/j03S@iCXan7oa">
                <field name="NUM">0</field>
              </block>
            </value>
            <value name="ADD1">
              <block type="math_number" id="imU|U5dE@7Wu++Pk!KNk">
                <field name="NUM">0</field>
              </block>
            </value>
            <value name="ADD2">
              <block type="math_number" id="cVWFEw|$l;7~V=7lEO]X">
                <field name="NUM">0</field>
              </block>
            </value>
            <value name="ADD3">
              <block type="math_number" id="DBBtVyd*w12{*3~/FKm1">
                <field name="NUM">0</field>
              </block>
            </value>
            <value name="ADD4">
              <block type="math_number" id="Cw?hY]VG+7WA6)vMj/$b">
                <field name="NUM">0</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="ne?}5VFs:A.NLr*Fp3D9">
            <field name="VAR" id="F3rvobR3[;v}S~uKrb;=">v</field>
            <value name="VALUE">
              <block type="procedures_callreturn" id="5OS0vLA}$x=;dFZX9$Lh">
                <mutation name="input"></mutation>
              </block>
            </value>
            <next>
              <block type="variables_set" id="4Ro]#nEg0`vc6.0dJ|{8">
                <field name="VAR" id="(/D%m:fu~8xlKz}c(8m,">p</field>
                <value name="VALUE">
                  <block type="math_arithmetic" id="EI4V%b$lPKB_LSd$Y$}a">
                    <field name="OP">MINUS</field>
                    <value name="A">
                      <shadow type="math_number" id="4esTw%oC:eMy^K!*5+vj">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="procedures_callreturn" id="cnbR5.]XQE*EZ=K?xCSZ">
                        <mutation name="input"></mutation>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="1.adn@yeU?KAUp$tb?D1">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="DkayNEl8pM/$Z9H~s?py">
                        <field name="VAR" id="F3rvobR3[;v}S~uKrb;=">v</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_for" id="6,+qY:[H;dZli:+#7DGJ">
                    <field name="VAR" id="?Db1-sW-4+-UYV$)]Cy(">i</field>
                    <value name="FROM">
                      <shadow type="math_number" id="W50CXa?wnfoCb3Pb0:|[">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                    <value name="TO">
                      <shadow type="math_number" id="l/TAVi[TU;(ne_CmkzV!">
                        <field name="NUM">5</field>
                      </shadow>
                    </value>
                    <value name="BY">
                      <shadow type="math_number" id="yF|.IGComvrGIs1=Y.GM">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                    <statement name="DO">
                      <block type="variables_set" id=")QmC*l)0B,Je6KfjW`bP">
                        <field name="VAR" id="O_D5m`RUEh;IWCa_fP!L">c</field>
                        <value name="VALUE">
                          <block type="procedures_callreturn" id="}GlF*(x,,)xY^!tG5;/F">
                            <mutation name="input"></mutation>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="q(zD6yD.w0NR)rg)%0}8">
                            <field name="VAR" id="fk/5`I9:.){~!XgTQ5L)">coin</field>
                            <value name="VALUE">
                              <block type="lists_getIndex" id="^;7qJxG:b]/#)l;8HrpZ">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_START</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="mMq?/]4GNQdASM?0xaZ3">
                                    <field name="VAR" id="GTeL2CTlyrL#fB8qk|_P">z</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="variables_get" id="8sM2nKRM~gthmSNmmKt~">
                                    <field name="VAR" id="?Db1-sW-4+-UYV$)]Cy(">i</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="~l-3Bt^VPeSQ1nyCYBFU">
                                <field name="VAR" id="T:c8Zh:o5TlHPrs5AE4U">x</field>
                                <value name="VALUE">
                                  <block type="math_round" id="hn(B{a-_OnGAaprvN0bF">
                                    <field name="OP">ROUNDDOWN</field>
                                    <value name="NUM">
                                      <shadow type="math_number" id="]~=VnPcM[`t)vLj?ZEn?">
                                        <field name="NUM">3.1</field>
                                      </shadow>
                                      <block type="math_arithmetic" id="1!7b=^ajXX{~5-i|l=qu">
                                        <field name="OP">DIVIDE</field>
                                        <value name="A">
                                          <shadow type="math_number" id="?LL+}Z$BDZE.yz.6S^tx">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id=":h-W12`0G#PhI/dfQ{g(">
                                            <field name="VAR" id="(/D%m:fu~8xlKz}c(8m,">p</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="lg[,W0@D=G+Kp*$vS*lj">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="CVE;Koa=(XXa[??kQk.+">
                                            <field name="VAR" id="fk/5`I9:.){~!XgTQ5L)">coin</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="/b7i3c`GUTmFV0fcyvsR">
                                    <value name="IF0">
                                      <block type="logic_compare" id="?jR|+:,TkeZ0Zb@Jm#1,">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="!P3JT4C?|X1SG!4R!Ddb">
                                            <field name="VAR" id="T:c8Zh:o5TlHPrs5AE4U">x</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="l2Wy~hd_$k#LFKPjfzXz">
                                            <field name="VAR" id="O_D5m`RUEh;IWCa_fP!L">c</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="2NhjwpDAHJvgJ5);K09t">
                                        <field name="VAR" id="T:c8Zh:o5TlHPrs5AE4U">x</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="[^Z%H]Am_+.Scavsq_Fz">
                                            <field name="VAR" id="O_D5m`RUEh;IWCa_fP!L">c</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="lists_setIndex" id="37!yOdD1*w9P+*-Dra*4">
                                        <mutation at="true"></mutation>
                                        <field name="MODE">SET</field>
                                        <field name="WHERE">FROM_START</field>
                                        <value name="LIST">
                                          <block type="variables_get" id="Wkwrd]tA)j4~h0?n*2]^">
                                            <field name="VAR" id="J?=REahPq}CSb[GU,K7,">r</field>
                                          </block>
                                        </value>
                                        <value name="AT">
                                          <block type="variables_get" id="$/EYM{9i1neyDtwd$UG%">
                                            <field name="VAR" id="?Db1-sW-4+-UYV$)]Cy(">i</field>
                                          </block>
                                        </value>
                                        <value name="TO">
                                          <block type="variables_get" id="Y,r*h8#)sj%O4Kk8PAVL">
                                            <field name="VAR" id="T:c8Zh:o5TlHPrs5AE4U">x</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="o#^kI@hTM2oUP%M;r@1x">
                                            <field name="VAR" id="(/D%m:fu~8xlKz}c(8m,">p</field>
                                            <value name="VALUE">
                                              <block type="math_arithmetic" id="FB-r!r[95]R|TGkzrfhy">
                                                <field name="OP">MINUS</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="e6X5m/(1XTw6T[PD|V1w">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="variables_get" id="6H;gE8,441S[o8|21i}H">
                                                    <field name="VAR" id="(/D%m:fu~8xlKz}c(8m,">p</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="]/Z|+wG)arirL4$ALgr$">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="math_arithmetic" id="P/)J,bQQsN?+DkrZ`:~}">
                                                    <field name="OP">MULTIPLY</field>
                                                    <value name="A">
                                                      <shadow type="math_number" id="5~em?!yg4mA)Y`ng~*,=">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="variables_get" id="Ar_XGOi22sWaIascSBs-">
                                                        <field name="VAR" id="fk/5`I9:.){~!XgTQ5L)">coin</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="uu~OMpdFi46.lUW*X?,(">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="variables_get" id="{wV:knX5B.wXX{fPBq%;">
                                                        <field name="VAR" id="T:c8Zh:o5TlHPrs5AE4U">x</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="x,ohaOHI}5+*WR7ay2YZ">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="P6J@ShKAD^MwkI]7z|Za">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="variables_get" id="S|oxanibZ1c]Kk+9xzRX">
                                <field name="VAR" id="(/D%m:fu~8xlKz}c(8m,">p</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="`[PN!xz|4M!%Q)VDlFvQ">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="looks_say" id="0?hio#KcmB~oVZ1By_m.">
                            <value name="TEXT">
                              <block type="text" id="yrML6/_`c7%S+4HR,JNz">
                                <field name="TEXT">無法找零</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="looks_say" id="A`Muw0r8]2:gkeYi}4Id">
                            <value name="TEXT">
                              <block type="lists_split" id="jo~;rZ3UJWi,TwxBys-%">
                                <mutation mode="JOIN"></mutation>
                                <field name="MODE">JOIN</field>
                                <value name="INPUT">
                                  <block type="variables_get" id="lpV;PxorD=/3*i](=vq_">
                                    <field name="VAR" id="J?=REahPq}CSb[GU,K7,">r</field>
                                  </block>
                                </value>
                                <value name="DELIM">
                                  <block type="text" id="o!Qq)LZmM.=[vdq+7Z{4">
                                    <field name="TEXT"> </field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </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>