r251 vs r252
......
20672067
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
20682068
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
20692069
}}}}}}}}}
2070
##i=11
2071
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2072
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2073
}}}{{{#!if ty=ty.toString(), ty.length==19
2074
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2075
}}}}}}
2076
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2077
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2078
}}}{{{#!if ty=ty.toString(), ty.length==19
2079
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2080
}}}}}}{{{#!if ty=+ty
2081
}}}}}}
2082
{{{#!if ty>ab
2083
{{{#!if tn-=1, ab+=+("1"+pd)
2084
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2085
}}}}}}
2086
{{{#!if !br
2087
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2088
{{{#if ps=true, tm+="0"
2089
}}}}}}
2090
{{{#!if !ps
2091
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2092
}}}{{{#!if ty=ty.toString(), ty.length==19
2093
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2094
}}}}}}
2095
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2096
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2097
}}}{{{#!if ty=ty.toString(), ty.length==19
2098
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2099
}}}}}}{{{#!if ty=+ty
2100
}}}}}}
2101
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2102
}}}{{{#!if ty>ab
2103
{{{#!if au-=1, ab+=+("1"+pd)
2104
}}}}}}{{{#!if au-=tx, ab-=ty
2105
}}}
2106
{{{#!if (au==0)&&(ab==0)
2107
{{{#!if br=true
2108
}}}}}}}}}
2109
{{{#!if !br
2110
{{{#!if au=au.toString(), ab=ab.toString()
2111
}}}{{{#!if tn="", ps=(au.length==18), ps
2112
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2113
}}}}}}{{{#!if !ps&&(au.length<17)
2114
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2115
}}}}}}{{{#!if ab.length<18
2116
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2117
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2118
}}}}}}}}}
2119
##i=12
2120
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2121
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2122
}}}{{{#!if ty=ty.toString(), ty.length==19
2123
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2124
}}}}}}
2125
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2126
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2127
}}}{{{#!if ty=ty.toString(), ty.length==19
2128
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2129
}}}}}}{{{#!if ty=+ty
2130
}}}}}}
2131
{{{#!if ty>ab
2132
{{{#!if tn-=1, ab+=+("1"+pd)
2133
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2134
}}}}}}
2135
{{{#!if !br
2136
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2137
{{{#if ps=true, tm+="0"
2138
}}}}}}
2139
{{{#!if !ps
2140
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2141
}}}{{{#!if ty=ty.toString(), ty.length==19
2142
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2143
}}}}}}
2144
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2145
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2146
}}}{{{#!if ty=ty.toString(), ty.length==19
2147
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2148
}}}}}}{{{#!if ty=+ty
2149
}}}}}}
2150
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2151
}}}{{{#!if ty>ab
2152
{{{#!if au-=1, ab+=+("1"+pd)
2153
}}}}}}{{{#!if au-=tx, ab-=ty
2154
}}}
2155
{{{#!if (au==0)&&(ab==0)
2156
{{{#!if br=true
2157
}}}}}}}}}
2158
{{{#!if !br
2159
{{{#!if au=au.toString(), ab=ab.toString()
2160
}}}{{{#!if tn="", ps=(au.length==18), ps
2161
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2162
}}}}}}{{{#!if !ps&&(au.length<17)
2163
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2164
}}}}}}{{{#!if ab.length<18
2165
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2166
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2167
}}}}}}}}}
2168
##i=13
2169
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2170
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2171
}}}{{{#!if ty=ty.toString(), ty.length==19
2172
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2173
}}}}}}
2174
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2175
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2176
}}}{{{#!if ty=ty.toString(), ty.length==19
2177
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2178
}}}}}}{{{#!if ty=+ty
2179
}}}}}}
2180
{{{#!if ty>ab
2181
{{{#!if tn-=1, ab+=+("1"+pd)
2182
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2183
}}}}}}
2184
{{{#!if !br
2185
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2186
{{{#if ps=true, tm+="0"
2187
}}}}}}
2188
{{{#!if !ps
2189
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2190
}}}{{{#!if ty=ty.toString(), ty.length==19
2191
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2192
}}}}}}
2193
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2194
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2195
}}}{{{#!if ty=ty.toString(), ty.length==19
2196
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2197
}}}}}}{{{#!if ty=+ty
2198
}}}}}}
2199
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2200
}}}{{{#!if ty>ab
2201
{{{#!if au-=1, ab+=+("1"+pd)
2202
}}}}}}{{{#!if au-=tx, ab-=ty
2203
}}}
2204
{{{#!if (au==0)&&(ab==0)
2205
{{{#!if br=true
2206
}}}}}}}}}
2207
{{{#!if !br
2208
{{{#!if au=au.toString(), ab=ab.toString()
2209
}}}{{{#!if tn="", ps=(au.length==18), ps
2210
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2211
}}}}}}{{{#!if !ps&&(au.length<17)
2212
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2213
}}}}}}{{{#!if ab.length<18
2214
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2215
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2216
}}}}}}}}}
2217
##i=14
2218
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2219
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2220
}}}{{{#!if ty=ty.toString(), ty.length==19
2221
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2222
}}}}}}
2223
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2224
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2225
}}}{{{#!if ty=ty.toString(), ty.length==19
2226
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2227
}}}}}}{{{#!if ty=+ty
2228
}}}}}}
2229
{{{#!if ty>ab
2230
{{{#!if tn-=1, ab+=+("1"+pd)
2231
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2232
}}}}}}
2233
{{{#!if !br
2234
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2235
{{{#if ps=true, tm+="0"
2236
}}}}}}
2237
{{{#!if !ps
2238
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2239
}}}{{{#!if ty=ty.toString(), ty.length==19
2240
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2241
}}}}}}
2242
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2243
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2244
}}}{{{#!if ty=ty.toString(), ty.length==19
2245
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2246
}}}}}}{{{#!if ty=+ty
2247
}}}}}}
2248
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2249
}}}{{{#!if ty>ab
2250
{{{#!if au-=1, ab+=+("1"+pd)
2251
}}}}}}{{{#!if au-=tx, ab-=ty
2252
}}}
2253
{{{#!if (au==0)&&(ab==0)
2254
{{{#!if br=true
2255
}}}}}}}}}
2256
{{{#!if !br
2257
{{{#!if au=au.toString(), ab=ab.toString()
2258
}}}{{{#!if tn="", ps=(au.length==18), ps
2259
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2260
}}}}}}{{{#!if !ps&&(au.length<17)
2261
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2262
}}}}}}{{{#!if ab.length<18
2263
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2264
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2265
}}}}}}}}}
2266
##i=15
2267
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2268
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2269
}}}{{{#!if ty=ty.toString(), ty.length==19
2270
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2271
}}}}}}
2272
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2273
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2274
}}}{{{#!if ty=ty.toString(), ty.length==19
2275
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2276
}}}}}}{{{#!if ty=+ty
2277
}}}}}}
2278
{{{#!if ty>ab
2279
{{{#!if tn-=1, ab+=+("1"+pd)
2280
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2281
}}}}}}
2282
{{{#!if !br
2283
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2284
{{{#if ps=true, tm+="0"
2285
}}}}}}
2286
{{{#!if !ps
2287
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2288
}}}{{{#!if ty=ty.toString(), ty.length==19
2289
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2290
}}}}}}
2291
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2292
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2293
}}}{{{#!if ty=ty.toString(), ty.length==19
2294
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2295
}}}}}}{{{#!if ty=+ty
2296
}}}}}}
2297
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2298
}}}{{{#!if ty>ab
2299
{{{#!if au-=1, ab+=+("1"+pd)
2300
}}}}}}{{{#!if au-=tx, ab-=ty
2301
}}}
2302
{{{#!if (au==0)&&(ab==0)
2303
{{{#!if br=true
2304
}}}}}}}}}
2305
{{{#!if !br
2306
{{{#!if au=au.toString(), ab=ab.toString()
2307
}}}{{{#!if tn="", ps=(au.length==18), ps
2308
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2309
}}}}}}{{{#!if !ps&&(au.length<17)
2310
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2311
}}}}}}{{{#!if ab.length<18
2312
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2313
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2314
}}}}}}}}}
2315
##i=16
2316
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2317
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2318
}}}{{{#!if ty=ty.toString(), ty.length==19
2319
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2320
}}}}}}
2321
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2322
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2323
}}}{{{#!if ty=ty.toString(), ty.length==19
2324
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2325
}}}}}}{{{#!if ty=+ty
2326
}}}}}}
2327
{{{#!if ty>ab
2328
{{{#!if tn-=1, ab+=+("1"+pd)
2329
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2330
}}}}}}
2331
{{{#!if !br
2332
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2333
{{{#if ps=true, tm+="0"
2334
}}}}}}
2335
{{{#!if !ps
2336
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2337
}}}{{{#!if ty=ty.toString(), ty.length==19
2338
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2339
}}}}}}
2340
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2341
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2342
}}}{{{#!if ty=ty.toString(), ty.length==19
2343
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2344
}}}}}}{{{#!if ty=+ty
2345
}}}}}}
2346
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2347
}}}{{{#!if ty>ab
2348
{{{#!if au-=1, ab+=+("1"+pd)
2349
}}}}}}{{{#!if au-=tx, ab-=ty
2350
}}}
2351
{{{#!if (au==0)&&(ab==0)
2352
{{{#!if br=true
2353
}}}}}}}}}
2354
{{{#!if !br
2355
{{{#!if au=au.toString(), ab=ab.toString()
2356
}}}{{{#!if tn="", ps=(au.length==18), ps
2357
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2358
}}}}}}{{{#!if !ps&&(au.length<17)
2359
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2360
}}}}}}{{{#!if ab.length<18
2361
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2362
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2363
}}}}}}}}}
2364
##i=17
2365
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2366
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2367
}}}{{{#!if ty=ty.toString(), ty.length==19
2368
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2369
}}}}}}
2370
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2371
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2372
}}}{{{#!if ty=ty.toString(), ty.length==19
2373
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2374
}}}}}}{{{#!if ty=+ty
2375
}}}}}}
2376
{{{#!if ty>ab
2377
{{{#!if tn-=1, ab+=+("1"+pd)
2378
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2379
}}}}}}
2380
{{{#!if !br
2381
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2382
{{{#if ps=true, tm+="0"
2383
}}}}}}
2384
{{{#!if !ps
2385
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2386
}}}{{{#!if ty=ty.toString(), ty.length==19
2387
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2388
}}}}}}
2389
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2390
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2391
}}}{{{#!if ty=ty.toString(), ty.length==19
2392
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2393
}}}}}}{{{#!if ty=+ty
2394
}}}}}}
2395
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2396
}}}{{{#!if ty>ab
2397
{{{#!if au-=1, ab+=+("1"+pd)
2398
}}}}}}{{{#!if au-=tx, ab-=ty
2399
}}}
2400
{{{#!if (au==0)&&(ab==0)
2401
{{{#!if br=true
2402
}}}}}}}}}
2403
{{{#!if !br
2404
{{{#!if au=au.toString(), ab=ab.toString()
2405
}}}{{{#!if tn="", ps=(au.length==18), ps
2406
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2407
}}}}}}{{{#!if !ps&&(au.length<17)
2408
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2409
}}}}}}{{{#!if ab.length<18
2410
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2411
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2412
}}}}}}}}}
2413
##i=18
2414
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2415
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2416
}}}{{{#!if ty=ty.toString(), ty.length==19
2417
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2418
}}}}}}
2419
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2420
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2421
}}}{{{#!if ty=ty.toString(), ty.length==19
2422
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2423
}}}}}}{{{#!if ty=+ty
2424
}}}}}}
2425
{{{#!if ty>ab
2426
{{{#!if tn-=1, ab+=+("1"+pd)
2427
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2428
}}}}}}
2429
{{{#!if !br
2430
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2431
{{{#if ps=true, tm+="0"
2432
}}}}}}
2433
{{{#!if !ps
2434
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2435
}}}{{{#!if ty=ty.toString(), ty.length==19
2436
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2437
}}}}}}
2438
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2439
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2440
}}}{{{#!if ty=ty.toString(), ty.length==19
2441
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2442
}}}}}}{{{#!if ty=+ty
2443
}}}}}}
2444
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2445
}}}{{{#!if ty>ab
2446
{{{#!if au-=1, ab+=+("1"+pd)
2447
}}}}}}{{{#!if au-=tx, ab-=ty
2448
}}}
2449
{{{#!if (au==0)&&(ab==0)
2450
{{{#!if br=true
2451
}}}}}}}}}
2452
{{{#!if !br
2453
{{{#!if au=au.toString(), ab=ab.toString()
2454
}}}{{{#!if tn="", ps=(au.length==18), ps
2455
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2456
}}}}}}{{{#!if !ps&&(au.length<17)
2457
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2458
}}}}}}{{{#!if ab.length<18
2459
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2460
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2461
}}}}}}}}}
2462
##i=19
2463
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2464
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2465
}}}{{{#!if ty=ty.toString(), ty.length==19
2466
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2467
}}}}}}
2468
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2469
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2470
}}}{{{#!if ty=ty.toString(), ty.length==19
2471
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2472
}}}}}}{{{#!if ty=+ty
2473
}}}}}}
2474
{{{#!if ty>ab
2475
{{{#!if tn-=1, ab+=+("1"+pd)
2476
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2477
}}}}}}
2478
{{{#!if !br
2479
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2480
{{{#if ps=true, tm+="0"
2481
}}}}}}
2482
{{{#!if !ps
2483
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2484
}}}{{{#!if ty=ty.toString(), ty.length==19
2485
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2486
}}}}}}
2487
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2488
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2489
}}}{{{#!if ty=ty.toString(), ty.length==19
2490
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2491
}}}}}}{{{#!if ty=+ty
2492
}}}}}}
2493
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2494
}}}{{{#!if ty>ab
2495
{{{#!if au-=1, ab+=+("1"+pd)
2496
}}}}}}{{{#!if au-=tx, ab-=ty
2497
}}}
2498
{{{#!if (au==0)&&(ab==0)
2499
{{{#!if br=true
2500
}}}}}}}}}
2501
{{{#!if !br
2502
{{{#!if au=au.toString(), ab=ab.toString()
2503
}}}{{{#!if tn="", ps=(au.length==18), ps
2504
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2505
}}}}}}{{{#!if !ps&&(au.length<17)
2506
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2507
}}}}}}{{{#!if ab.length<18
2508
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2509
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2510
}}}}}}}}}
2511
##i=20
2512
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2513
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2514
}}}{{{#!if ty=ty.toString(), ty.length==19
2515
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2516
}}}}}}
2517
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2518
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2519
}}}{{{#!if ty=ty.toString(), ty.length==19
2520
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2521
}}}}}}{{{#!if ty=+ty
2522
}}}}}}
2523
{{{#!if ty>ab
2524
{{{#!if tn-=1, ab+=+("1"+pd)
2525
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2526
}}}}}}
2527
{{{#!if !br
2528
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2529
{{{#if ps=true, tm+="0"
2530
}}}}}}
2531
{{{#!if !ps
2532
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2533
}}}{{{#!if ty=ty.toString(), ty.length==19
2534
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2535
}}}}}}
2536
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2537
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2538
}}}{{{#!if ty=ty.toString(), ty.length==19
2539
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2540
}}}}}}{{{#!if ty=+ty
2541
}}}}}}
2542
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2543
}}}{{{#!if ty>ab
2544
{{{#!if au-=1, ab+=+("1"+pd)
2545
}}}}}}{{{#!if au-=tx, ab-=ty
2546
}}}
2547
{{{#!if (au==0)&&(ab==0)
2548
{{{#!if br=true
2549
}}}}}}}}}
2550
{{{#!if !br
2551
{{{#!if au=au.toString(), ab=ab.toString()
2552
}}}{{{#!if tn="", ps=(au.length==18), ps
2553
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2554
}}}}}}{{{#!if !ps&&(au.length<17)
2555
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2556
}}}}}}{{{#!if ab.length<18
2557
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2558
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2559
}}}}}}}}}
2560
##i=21
2561
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2562
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2563
}}}{{{#!if ty=ty.toString(), ty.length==19
2564
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2565
}}}}}}
2566
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2567
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2568
}}}{{{#!if ty=ty.toString(), ty.length==19
2569
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2570
}}}}}}{{{#!if ty=+ty
2571
}}}}}}
2572
{{{#!if ty>ab
2573
{{{#!if tn-=1, ab+=+("1"+pd)
2574
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2575
}}}}}}
2576
{{{#!if !br
2577
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2578
{{{#if ps=true, tm+="0"
2579
}}}}}}
2580
{{{#!if !ps
2581
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2582
}}}{{{#!if ty=ty.toString(), ty.length==19
2583
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2584
}}}}}}
2585
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2586
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2587
}}}{{{#!if ty=ty.toString(), ty.length==19
2588
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2589
}}}}}}{{{#!if ty=+ty
2590
}}}}}}
2591
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2592
}}}{{{#!if ty>ab
2593
{{{#!if au-=1, ab+=+("1"+pd)
2594
}}}}}}{{{#!if au-=tx, ab-=ty
2595
}}}
2596
{{{#!if (au==0)&&(ab==0)
2597
{{{#!if br=true
2598
}}}}}}}}}
2599
{{{#!if !br
2600
{{{#!if au=au.toString(), ab=ab.toString()
2601
}}}{{{#!if tn="", ps=(au.length==18), ps
2602
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2603
}}}}}}{{{#!if !ps&&(au.length<17)
2604
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2605
}}}}}}{{{#!if ab.length<18
2606
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2607
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2608
}}}}}}}}}
2609
##i=22
2610
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2611
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2612
}}}{{{#!if ty=ty.toString(), ty.length==19
2613
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2614
}}}}}}
2615
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2616
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2617
}}}{{{#!if ty=ty.toString(), ty.length==19
2618
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2619
}}}}}}{{{#!if ty=+ty
2620
}}}}}}
2621
{{{#!if ty>ab
2622
{{{#!if tn-=1, ab+=+("1"+pd)
2623
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2624
}}}}}}
2625
{{{#!if !br
2626
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2627
{{{#if ps=true, tm+="0"
2628
}}}}}}
2629
{{{#!if !ps
2630
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2631
}}}{{{#!if ty=ty.toString(), ty.length==19
2632
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2633
}}}}}}
2634
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2635
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2636
}}}{{{#!if ty=ty.toString(), ty.length==19
2637
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2638
}}}}}}{{{#!if ty=+ty
2639
}}}}}}
2640
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2641
}}}{{{#!if ty>ab
2642
{{{#!if au-=1, ab+=+("1"+pd)
2643
}}}}}}{{{#!if au-=tx, ab-=ty
2644
}}}
2645
{{{#!if (au==0)&&(ab==0)
2646
{{{#!if br=true
2647
}}}}}}}}}
2648
{{{#!if !br
2649
{{{#!if au=au.toString(), ab=ab.toString()
2650
}}}{{{#!if tn="", ps=(au.length==18), ps
2651
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2652
}}}}}}{{{#!if !ps&&(au.length<17)
2653
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2654
}}}}}}{{{#!if ab.length<18
2655
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2656
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2657
}}}}}}}}}
2658
##i=23
2659
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2660
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2661
}}}{{{#!if ty=ty.toString(), ty.length==19
2662
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2663
}}}}}}
2664
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2665
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2666
}}}{{{#!if ty=ty.toString(), ty.length==19
2667
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2668
}}}}}}{{{#!if ty=+ty
2669
}}}}}}
2670
{{{#!if ty>ab
2671
{{{#!if tn-=1, ab+=+("1"+pd)
2672
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2673
}}}}}}
2674
{{{#!if !br
2675
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2676
{{{#if ps=true, tm+="0"
2677
}}}}}}
2678
{{{#!if !ps
2679
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2680
}}}{{{#!if ty=ty.toString(), ty.length==19
2681
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2682
}}}}}}
2683
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2684
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2685
}}}{{{#!if ty=ty.toString(), ty.length==19
2686
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2687
}}}}}}{{{#!if ty=+ty
2688
}}}}}}
2689
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2690
}}}{{{#!if ty>ab
2691
{{{#!if au-=1, ab+=+("1"+pd)
2692
}}}}}}{{{#!if au-=tx, ab-=ty
2693
}}}
2694
{{{#!if (au==0)&&(ab==0)
2695
{{{#!if br=true
2696
}}}}}}}}}
2697
{{{#!if !br
2698
{{{#!if au=au.toString(), ab=ab.toString()
2699
}}}{{{#!if tn="", ps=(au.length==18), ps
2700
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2701
}}}}}}{{{#!if !ps&&(au.length<17)
2702
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2703
}}}}}}{{{#!if ab.length<18
2704
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2705
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2706
}}}}}}}}}
2707
##i=24
2708
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2709
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2710
}}}{{{#!if ty=ty.toString(), ty.length==19
2711
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2712
}}}}}}
2713
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2714
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2715
}}}{{{#!if ty=ty.toString(), ty.length==19
2716
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2717
}}}}}}{{{#!if ty=+ty
2718
}}}}}}
2719
{{{#!if ty>ab
2720
{{{#!if tn-=1, ab+=+("1"+pd)
2721
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2722
}}}}}}
2723
{{{#!if !br
2724
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2725
{{{#if ps=true, tm+="0"
2726
}}}}}}
2727
{{{#!if !ps
2728
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2729
}}}{{{#!if ty=ty.toString(), ty.length==19
2730
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2731
}}}}}}
2732
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2733
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2734
}}}{{{#!if ty=ty.toString(), ty.length==19
2735
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2736
}}}}}}{{{#!if ty=+ty
2737
}}}}}}
2738
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2739
}}}{{{#!if ty>ab
2740
{{{#!if au-=1, ab+=+("1"+pd)
2741
}}}}}}{{{#!if au-=tx, ab-=ty
2742
}}}
2743
{{{#!if (au==0)&&(ab==0)
2744
{{{#!if br=true
2745
}}}}}}}}}
2746
{{{#!if !br
2747
{{{#!if au=au.toString(), ab=ab.toString()
2748
}}}{{{#!if tn="", ps=(au.length==18), ps
2749
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2750
}}}}}}{{{#!if !ps&&(au.length<17)
2751
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2752
}}}}}}{{{#!if ab.length<18
2753
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2754
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2755
}}}}}}}}}
2756
##i=25
2757
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2758
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2759
}}}{{{#!if ty=ty.toString(), ty.length==19
2760
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2761
}}}}}}
2762
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2763
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2764
}}}{{{#!if ty=ty.toString(), ty.length==19
2765
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2766
}}}}}}{{{#!if ty=+ty
2767
}}}}}}
2768
{{{#!if ty>ab
2769
{{{#!if tn-=1, ab+=+("1"+pd)
2770
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2771
}}}}}}
2772
{{{#!if !br
2773
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2774
{{{#if ps=true, tm+="0"
2775
}}}}}}
2776
{{{#!if !ps
2777
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2778
}}}{{{#!if ty=ty.toString(), ty.length==19
2779
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2780
}}}}}}
2781
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2782
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2783
}}}{{{#!if ty=ty.toString(), ty.length==19
2784
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2785
}}}}}}{{{#!if ty=+ty
2786
}}}}}}
2787
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2788
}}}{{{#!if ty>ab
2789
{{{#!if au-=1, ab+=+("1"+pd)
2790
}}}}}}{{{#!if au-=tx, ab-=ty
2791
}}}
2792
{{{#!if (au==0)&&(ab==0)
2793
{{{#!if br=true
2794
}}}}}}}}}
2795
{{{#!if !br
2796
{{{#!if au=au.toString(), ab=ab.toString()
2797
}}}{{{#!if tn="", ps=(au.length==18), ps
2798
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2799
}}}}}}{{{#!if !ps&&(au.length<17)
2800
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2801
}}}}}}{{{#!if ab.length<18
2802
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2803
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2804
}}}}}}}}}
2805
##i=26
2806
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2807
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2808
}}}{{{#!if ty=ty.toString(), ty.length==19
2809
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2810
}}}}}}
2811
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2812
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2813
}}}{{{#!if ty=ty.toString(), ty.length==19
2814
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2815
}}}}}}{{{#!if ty=+ty
2816
}}}}}}
2817
{{{#!if ty>ab
2818
{{{#!if tn-=1, ab+=+("1"+pd)
2819
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2820
}}}}}}
2821
{{{#!if !br
2822
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2823
{{{#if ps=true, tm+="0"
2824
}}}}}}
2825
{{{#!if !ps
2826
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2827
}}}{{{#!if ty=ty.toString(), ty.length==19
2828
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2829
}}}}}}
2830
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2831
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2832
}}}{{{#!if ty=ty.toString(), ty.length==19
2833
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2834
}}}}}}{{{#!if ty=+ty
2835
}}}}}}
2836
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2837
}}}{{{#!if ty>ab
2838
{{{#!if au-=1, ab+=+("1"+pd)
2839
}}}}}}{{{#!if au-=tx, ab-=ty
2840
}}}
2841
{{{#!if (au==0)&&(ab==0)
2842
{{{#!if br=true
2843
}}}}}}}}}
2844
{{{#!if !br
2845
{{{#!if au=au.toString(), ab=ab.toString()
2846
}}}{{{#!if tn="", ps=(au.length==18), ps
2847
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2848
}}}}}}{{{#!if !ps&&(au.length<17)
2849
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2850
}}}}}}{{{#!if ab.length<18
2851
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2852
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2853
}}}}}}}}}
2854
##i=27
2855
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2856
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2857
}}}{{{#!if ty=ty.toString(), ty.length==19
2858
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2859
}}}}}}
2860
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2861
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2862
}}}{{{#!if ty=ty.toString(), ty.length==19
2863
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2864
}}}}}}{{{#!if ty=+ty
2865
}}}}}}
2866
{{{#!if ty>ab
2867
{{{#!if tn-=1, ab+=+("1"+pd)
2868
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2869
}}}}}}
2870
{{{#!if !br
2871
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2872
{{{#if ps=true, tm+="0"
2873
}}}}}}
2874
{{{#!if !ps
2875
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2876
}}}{{{#!if ty=ty.toString(), ty.length==19
2877
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2878
}}}}}}
2879
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2880
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2881
}}}{{{#!if ty=ty.toString(), ty.length==19
2882
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2883
}}}}}}{{{#!if ty=+ty
2884
}}}}}}
2885
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2886
}}}{{{#!if ty>ab
2887
{{{#!if au-=1, ab+=+("1"+pd)
2888
}}}}}}{{{#!if au-=tx, ab-=ty
2889
}}}
2890
{{{#!if (au==0)&&(ab==0)
2891
{{{#!if br=true
2892
}}}}}}}}}
2893
{{{#!if !br
2894
{{{#!if au=au.toString(), ab=ab.toString()
2895
}}}{{{#!if tn="", ps=(au.length==18), ps
2896
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2897
}}}}}}{{{#!if !ps&&(au.length<17)
2898
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2899
}}}}}}{{{#!if ab.length<18
2900
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2901
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2902
}}}}}}}}}
2903
##i=28
2904
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2905
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2906
}}}{{{#!if ty=ty.toString(), ty.length==19
2907
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2908
}}}}}}
2909
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2910
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2911
}}}{{{#!if ty=ty.toString(), ty.length==19
2912
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2913
}}}}}}{{{#!if ty=+ty
2914
}}}}}}
2915
{{{#!if ty>ab
2916
{{{#!if tn-=1, ab+=+("1"+pd)
2917
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2918
}}}}}}
2919
{{{#!if !br
2920
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2921
{{{#if ps=true, tm+="0"
2922
}}}}}}
2923
{{{#!if !ps
2924
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2925
}}}{{{#!if ty=ty.toString(), ty.length==19
2926
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2927
}}}}}}
2928
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2929
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2930
}}}{{{#!if ty=ty.toString(), ty.length==19
2931
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2932
}}}}}}{{{#!if ty=+ty
2933
}}}}}}
2934
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2935
}}}{{{#!if ty>ab
2936
{{{#!if au-=1, ab+=+("1"+pd)
2937
}}}}}}{{{#!if au-=tx, ab-=ty
2938
}}}
2939
{{{#!if (au==0)&&(ab==0)
2940
{{{#!if br=true
2941
}}}}}}}}}
2942
{{{#!if !br
2943
{{{#!if au=au.toString(), ab=ab.toString()
2944
}}}{{{#!if tn="", ps=(au.length==18), ps
2945
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2946
}}}}}}{{{#!if !ps&&(au.length<17)
2947
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2948
}}}}}}{{{#!if ab.length<18
2949
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2950
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
2951
}}}}}}}}}
2952
##i=29
2953
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
2954
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
2955
}}}{{{#!if ty=ty.toString(), ty.length==19
2956
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2957
}}}}}}
2958
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
2959
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
2960
}}}{{{#!if ty=ty.toString(), ty.length==19
2961
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2962
}}}}}}{{{#!if ty=+ty
2963
}}}}}}
2964
{{{#!if ty>ab
2965
{{{#!if tn-=1, ab+=+("1"+pd)
2966
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
2967
}}}}}}
2968
{{{#!if !br
2969
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
2970
{{{#if ps=true, tm+="0"
2971
}}}}}}
2972
{{{#!if !ps
2973
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
2974
}}}{{{#!if ty=ty.toString(), ty.length==19
2975
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2976
}}}}}}
2977
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
2978
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
2979
}}}{{{#!if ty=ty.toString(), ty.length==19
2980
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
2981
}}}}}}{{{#!if ty=+ty
2982
}}}}}}
2983
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
2984
}}}{{{#!if ty>ab
2985
{{{#!if au-=1, ab+=+("1"+pd)
2986
}}}}}}{{{#!if au-=tx, ab-=ty
2987
}}}
2988
{{{#!if (au==0)&&(ab==0)
2989
{{{#!if br=true
2990
}}}}}}}}}
2991
{{{#!if !br
2992
{{{#!if au=au.toString(), ab=ab.toString()
2993
}}}{{{#!if tn="", ps=(au.length==18), ps
2994
{{{#!if tn=au.substr(0,1), au=substr(1,17)
2995
}}}}}}{{{#!if !ps&&(au.length<17)
2996
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
2997
}}}}}}{{{#!if ab.length<18
2998
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
2999
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3000
}}}}}}}}}
3001
##i=30
3002
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3003
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3004
}}}{{{#!if ty=ty.toString(), ty.length==19
3005
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3006
}}}}}}
3007
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3008
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3009
}}}{{{#!if ty=ty.toString(), ty.length==19
3010
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3011
}}}}}}{{{#!if ty=+ty
3012
}}}}}}
3013
{{{#!if ty>ab
3014
{{{#!if tn-=1, ab+=+("1"+pd)
3015
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3016
}}}}}}
3017
{{{#!if !br
3018
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3019
{{{#if ps=true, tm+="0"
3020
}}}}}}
3021
{{{#!if !ps
3022
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3023
}}}{{{#!if ty=ty.toString(), ty.length==19
3024
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3025
}}}}}}
3026
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3027
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3028
}}}{{{#!if ty=ty.toString(), ty.length==19
3029
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3030
}}}}}}{{{#!if ty=+ty
3031
}}}}}}
3032
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3033
}}}{{{#!if ty>ab
3034
{{{#!if au-=1, ab+=+("1"+pd)
3035
}}}}}}{{{#!if au-=tx, ab-=ty
3036
}}}
3037
{{{#!if (au==0)&&(ab==0)
3038
{{{#!if br=true
3039
}}}}}}}}}
3040
{{{#!if !br
3041
{{{#!if au=au.toString(), ab=ab.toString()
3042
}}}{{{#!if tn="", ps=(au.length==18), ps
3043
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3044
}}}}}}{{{#!if !ps&&(au.length<17)
3045
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3046
}}}}}}{{{#!if ab.length<18
3047
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3048
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3049
}}}}}}}}}
3050
##i=31
3051
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3052
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3053
}}}{{{#!if ty=ty.toString(), ty.length==19
3054
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3055
}}}}}}
3056
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3057
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3058
}}}{{{#!if ty=ty.toString(), ty.length==19
3059
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3060
}}}}}}{{{#!if ty=+ty
3061
}}}}}}
3062
{{{#!if ty>ab
3063
{{{#!if tn-=1, ab+=+("1"+pd)
3064
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3065
}}}}}}
3066
{{{#!if !br
3067
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3068
{{{#if ps=true, tm+="0"
3069
}}}}}}
3070
{{{#!if !ps
3071
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3072
}}}{{{#!if ty=ty.toString(), ty.length==19
3073
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3074
}}}}}}
3075
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3076
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3077
}}}{{{#!if ty=ty.toString(), ty.length==19
3078
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3079
}}}}}}{{{#!if ty=+ty
3080
}}}}}}
3081
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3082
}}}{{{#!if ty>ab
3083
{{{#!if au-=1, ab+=+("1"+pd)
3084
}}}}}}{{{#!if au-=tx, ab-=ty
3085
}}}
3086
{{{#!if (au==0)&&(ab==0)
3087
{{{#!if br=true
3088
}}}}}}}}}
3089
{{{#!if !br
3090
{{{#!if au=au.toString(), ab=ab.toString()
3091
}}}{{{#!if tn="", ps=(au.length==18), ps
3092
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3093
}}}}}}{{{#!if !ps&&(au.length<17)
3094
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3095
}}}}}}{{{#!if ab.length<18
3096
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3097
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3098
}}}}}}}}}
3099
##i=32
3100
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3101
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3102
}}}{{{#!if ty=ty.toString(), ty.length==19
3103
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3104
}}}}}}
3105
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3106
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3107
}}}{{{#!if ty=ty.toString(), ty.length==19
3108
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3109
}}}}}}{{{#!if ty=+ty
3110
}}}}}}
3111
{{{#!if ty>ab
3112
{{{#!if tn-=1, ab+=+("1"+pd)
3113
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3114
}}}}}}
3115
{{{#!if !br
3116
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3117
{{{#if ps=true, tm+="0"
3118
}}}}}}
3119
{{{#!if !ps
3120
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3121
}}}{{{#!if ty=ty.toString(), ty.length==19
3122
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3123
}}}}}}
3124
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3125
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3126
}}}{{{#!if ty=ty.toString(), ty.length==19
3127
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3128
}}}}}}{{{#!if ty=+ty
3129
}}}}}}
3130
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3131
}}}{{{#!if ty>ab
3132
{{{#!if au-=1, ab+=+("1"+pd)
3133
}}}}}}{{{#!if au-=tx, ab-=ty
3134
}}}
3135
{{{#!if (au==0)&&(ab==0)
3136
{{{#!if br=true
3137
}}}}}}}}}
3138
{{{#!if !br
3139
{{{#!if au=au.toString(), ab=ab.toString()
3140
}}}{{{#!if tn="", ps=(au.length==18), ps
3141
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3142
}}}}}}{{{#!if !ps&&(au.length<17)
3143
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3144
}}}}}}{{{#!if ab.length<18
3145
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3146
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3147
}}}}}}}}}
3148
##i=33
3149
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3150
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3151
}}}{{{#!if ty=ty.toString(), ty.length==19
3152
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3153
}}}}}}
3154
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3155
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3156
}}}{{{#!if ty=ty.toString(), ty.length==19
3157
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3158
}}}}}}{{{#!if ty=+ty
3159
}}}}}}
3160
{{{#!if ty>ab
3161
{{{#!if tn-=1, ab+=+("1"+pd)
3162
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3163
}}}}}}
3164
{{{#!if !br
3165
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3166
{{{#if ps=true, tm+="0"
3167
}}}}}}
3168
{{{#!if !ps
3169
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3170
}}}{{{#!if ty=ty.toString(), ty.length==19
3171
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3172
}}}}}}
3173
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3174
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3175
}}}{{{#!if ty=ty.toString(), ty.length==19
3176
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3177
}}}}}}{{{#!if ty=+ty
3178
}}}}}}
3179
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3180
}}}{{{#!if ty>ab
3181
{{{#!if au-=1, ab+=+("1"+pd)
3182
}}}}}}{{{#!if au-=tx, ab-=ty
3183
}}}
3184
{{{#!if (au==0)&&(ab==0)
3185
{{{#!if br=true
3186
}}}}}}}}}
3187
{{{#!if !br
3188
{{{#!if au=au.toString(), ab=ab.toString()
3189
}}}{{{#!if tn="", ps=(au.length==18), ps
3190
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3191
}}}}}}{{{#!if !ps&&(au.length<17)
3192
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3193
}}}}}}{{{#!if ab.length<18
3194
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3195
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3196
}}}}}}}}}
3197
##i=34
3198
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3199
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3200
}}}{{{#!if ty=ty.toString(), ty.length==19
3201
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3202
}}}}}}
3203
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3204
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3205
}}}{{{#!if ty=ty.toString(), ty.length==19
3206
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3207
}}}}}}{{{#!if ty=+ty
3208
}}}}}}
3209
{{{#!if ty>ab
3210
{{{#!if tn-=1, ab+=+("1"+pd)
3211
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3212
}}}}}}
3213
{{{#!if !br
3214
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3215
{{{#if ps=true, tm+="0"
3216
}}}}}}
3217
{{{#!if !ps
3218
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3219
}}}{{{#!if ty=ty.toString(), ty.length==19
3220
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3221
}}}}}}
3222
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3223
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3224
}}}{{{#!if ty=ty.toString(), ty.length==19
3225
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3226
}}}}}}{{{#!if ty=+ty
3227
}}}}}}
3228
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3229
}}}{{{#!if ty>ab
3230
{{{#!if au-=1, ab+=+("1"+pd)
3231
}}}}}}{{{#!if au-=tx, ab-=ty
3232
}}}
3233
{{{#!if (au==0)&&(ab==0)
3234
{{{#!if br=true
3235
}}}}}}}}}
3236
{{{#!if !br
3237
{{{#!if au=au.toString(), ab=ab.toString()
3238
}}}{{{#!if tn="", ps=(au.length==18), ps
3239
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3240
}}}}}}{{{#!if !ps&&(au.length<17)
3241
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3242
}}}}}}{{{#!if ab.length<18
3243
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3244
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3245
}}}}}}}}}
3246
##i=35
3247
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3248
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3249
}}}{{{#!if ty=ty.toString(), ty.length==19
3250
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3251
}}}}}}
3252
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3253
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3254
}}}{{{#!if ty=ty.toString(), ty.length==19
3255
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3256
}}}}}}{{{#!if ty=+ty
3257
}}}}}}
3258
{{{#!if ty>ab
3259
{{{#!if tn-=1, ab+=+("1"+pd)
3260
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3261
}}}}}}
3262
{{{#!if !br
3263
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3264
{{{#if ps=true, tm+="0"
3265
}}}}}}
3266
{{{#!if !ps
3267
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3268
}}}{{{#!if ty=ty.toString(), ty.length==19
3269
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3270
}}}}}}
3271
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3272
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3273
}}}{{{#!if ty=ty.toString(), ty.length==19
3274
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3275
}}}}}}{{{#!if ty=+ty
3276
}}}}}}
3277
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3278
}}}{{{#!if ty>ab
3279
{{{#!if au-=1, ab+=+("1"+pd)
3280
}}}}}}{{{#!if au-=tx, ab-=ty
3281
}}}
3282
{{{#!if (au==0)&&(ab==0)
3283
{{{#!if br=true
3284
}}}}}}}}}
3285
{{{#!if !br
3286
{{{#!if au=au.toString(), ab=ab.toString()
3287
}}}{{{#!if tn="", ps=(au.length==18), ps
3288
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3289
}}}}}}{{{#!if !ps&&(au.length<17)
3290
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3291
}}}}}}{{{#!if ab.length<18
3292
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3293
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3294
}}}}}}}}}
3295
##i=36
3296
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3297
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3298
}}}{{{#!if ty=ty.toString(), ty.length==19
3299
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3300
}}}}}}
3301
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3302
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3303
}}}{{{#!if ty=ty.toString(), ty.length==19
3304
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3305
}}}}}}{{{#!if ty=+ty
3306
}}}}}}
3307
{{{#!if ty>ab
3308
{{{#!if tn-=1, ab+=+("1"+pd)
3309
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3310
}}}}}}
3311
{{{#!if !br
3312
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3313
{{{#if ps=true, tm+="0"
3314
}}}}}}
3315
{{{#!if !ps
3316
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3317
}}}{{{#!if ty=ty.toString(), ty.length==19
3318
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3319
}}}}}}
3320
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3321
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3322
}}}{{{#!if ty=ty.toString(), ty.length==19
3323
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3324
}}}}}}{{{#!if ty=+ty
3325
}}}}}}
3326
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3327
}}}{{{#!if ty>ab
3328
{{{#!if au-=1, ab+=+("1"+pd)
3329
}}}}}}{{{#!if au-=tx, ab-=ty
3330
}}}
3331
{{{#!if (au==0)&&(ab==0)
3332
{{{#!if br=true
3333
}}}}}}}}}
3334
{{{#!if !br
3335
{{{#!if au=au.toString(), ab=ab.toString()
3336
}}}{{{#!if tn="", ps=(au.length==18), ps
3337
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3338
}}}}}}{{{#!if !ps&&(au.length<17)
3339
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3340
}}}}}}{{{#!if ab.length<18
3341
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3342
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3343
}}}}}}}}}
3344
##i=37
3345
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3346
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3347
}}}{{{#!if ty=ty.toString(), ty.length==19
3348
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3349
}}}}}}
3350
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3351
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3352
}}}{{{#!if ty=ty.toString(), ty.length==19
3353
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3354
}}}}}}{{{#!if ty=+ty
3355
}}}}}}
3356
{{{#!if ty>ab
3357
{{{#!if tn-=1, ab+=+("1"+pd)
3358
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3359
}}}}}}
3360
{{{#!if !br
3361
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3362
{{{#if ps=true, tm+="0"
3363
}}}}}}
3364
{{{#!if !ps
3365
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3366
}}}{{{#!if ty=ty.toString(), ty.length==19
3367
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3368
}}}}}}
3369
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3370
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3371
}}}{{{#!if ty=ty.toString(), ty.length==19
3372
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3373
}}}}}}{{{#!if ty=+ty
3374
}}}}}}
3375
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3376
}}}{{{#!if ty>ab
3377
{{{#!if au-=1, ab+=+("1"+pd)
3378
}}}}}}{{{#!if au-=tx, ab-=ty
3379
}}}
3380
{{{#!if (au==0)&&(ab==0)
3381
{{{#!if br=true
3382
}}}}}}}}}
3383
{{{#!if !br
3384
{{{#!if au=au.toString(), ab=ab.toString()
3385
}}}{{{#!if tn="", ps=(au.length==18), ps
3386
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3387
}}}}}}{{{#!if !ps&&(au.length<17)
3388
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3389
}}}}}}{{{#!if ab.length<18
3390
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3391
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3392
}}}}}}}}}
3393
##i=38
3394
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3395
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3396
}}}{{{#!if ty=ty.toString(), ty.length==19
3397
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3398
}}}}}}
3399
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3400
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3401
}}}{{{#!if ty=ty.toString(), ty.length==19
3402
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3403
}}}}}}{{{#!if ty=+ty
3404
}}}}}}
3405
{{{#!if ty>ab
3406
{{{#!if tn-=1, ab+=+("1"+pd)
3407
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3408
}}}}}}
3409
{{{#!if !br
3410
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3411
{{{#if ps=true, tm+="0"
3412
}}}}}}
3413
{{{#!if !ps
3414
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3415
}}}{{{#!if ty=ty.toString(), ty.length==19
3416
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3417
}}}}}}
3418
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3419
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3420
}}}{{{#!if ty=ty.toString(), ty.length==19
3421
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3422
}}}}}}{{{#!if ty=+ty
3423
}}}}}}
3424
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3425
}}}{{{#!if ty>ab
3426
{{{#!if au-=1, ab+=+("1"+pd)
3427
}}}}}}{{{#!if au-=tx, ab-=ty
3428
}}}
3429
{{{#!if (au==0)&&(ab==0)
3430
{{{#!if br=true
3431
}}}}}}}}}
3432
{{{#!if !br
3433
{{{#!if au=au.toString(), ab=ab.toString()
3434
}}}{{{#!if tn="", ps=(au.length==18), ps
3435
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3436
}}}}}}{{{#!if !ps&&(au.length<17)
3437
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3438
}}}}}}{{{#!if ab.length<18
3439
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3440
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3441
}}}}}}}}}
3442
##i=39
3443
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3444
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3445
}}}{{{#!if ty=ty.toString(), ty.length==19
3446
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3447
}}}}}}
3448
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3449
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3450
}}}{{{#!if ty=ty.toString(), ty.length==19
3451
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3452
}}}}}}{{{#!if ty=+ty
3453
}}}}}}
3454
{{{#!if ty>ab
3455
{{{#!if tn-=1, ab+=+("1"+pd)
3456
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3457
}}}}}}
3458
{{{#!if !br
3459
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3460
{{{#if ps=true, tm+="0"
3461
}}}}}}
3462
{{{#!if !ps
3463
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3464
}}}{{{#!if ty=ty.toString(), ty.length==19
3465
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3466
}}}}}}
3467
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3468
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3469
}}}{{{#!if ty=ty.toString(), ty.length==19
3470
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3471
}}}}}}{{{#!if ty=+ty
3472
}}}}}}
3473
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3474
}}}{{{#!if ty>ab
3475
{{{#!if au-=1, ab+=+("1"+pd)
3476
}}}}}}{{{#!if au-=tx, ab-=ty
3477
}}}
3478
{{{#!if (au==0)&&(ab==0)
3479
{{{#!if br=true
3480
}}}}}}}}}
3481
{{{#!if !br
3482
{{{#!if au=au.toString(), ab=ab.toString()
3483
}}}{{{#!if tn="", ps=(au.length==18), ps
3484
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3485
}}}}}}{{{#!if !ps&&(au.length<17)
3486
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3487
}}}}}}{{{#!if ab.length<18
3488
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3489
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3490
}}}}}}}}}
3491
##i=40
3492
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3493
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3494
}}}{{{#!if ty=ty.toString(), ty.length==19
3495
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3496
}}}}}}
3497
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3498
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3499
}}}{{{#!if ty=ty.toString(), ty.length==19
3500
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3501
}}}}}}{{{#!if ty=+ty
3502
}}}}}}
3503
{{{#!if ty>ab
3504
{{{#!if tn-=1, ab+=+("1"+pd)
3505
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3506
}}}}}}
3507
{{{#!if !br
3508
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3509
{{{#if ps=true, tm+="0"
3510
}}}}}}
3511
{{{#!if !ps
3512
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3513
}}}{{{#!if ty=ty.toString(), ty.length==19
3514
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3515
}}}}}}
3516
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3517
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3518
}}}{{{#!if ty=ty.toString(), ty.length==19
3519
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3520
}}}}}}{{{#!if ty=+ty
3521
}}}}}}
3522
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3523
}}}{{{#!if ty>ab
3524
{{{#!if au-=1, ab+=+("1"+pd)
3525
}}}}}}{{{#!if au-=tx, ab-=ty
3526
}}}
3527
{{{#!if (au==0)&&(ab==0)
3528
{{{#!if br=true
3529
}}}}}}}}}
3530
{{{#!if !br
3531
{{{#!if au=au.toString(), ab=ab.toString()
3532
}}}{{{#!if tn="", ps=(au.length==18), ps
3533
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3534
}}}}}}{{{#!if !ps&&(au.length<17)
3535
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3536
}}}}}}{{{#!if ab.length<18
3537
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3538
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3539
}}}}}}}}}
3540
##i=41
3541
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3542
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3543
}}}{{{#!if ty=ty.toString(), ty.length==19
3544
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3545
}}}}}}
3546
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3547
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3548
}}}{{{#!if ty=ty.toString(), ty.length==19
3549
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3550
}}}}}}{{{#!if ty=+ty
3551
}}}}}}
3552
{{{#!if ty>ab
3553
{{{#!if tn-=1, ab+=+("1"+pd)
3554
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3555
}}}}}}
3556
{{{#!if !br
3557
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3558
{{{#if ps=true, tm+="0"
3559
}}}}}}
3560
{{{#!if !ps
3561
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3562
}}}{{{#!if ty=ty.toString(), ty.length==19
3563
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3564
}}}}}}
3565
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3566
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3567
}}}{{{#!if ty=ty.toString(), ty.length==19
3568
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3569
}}}}}}{{{#!if ty=+ty
3570
}}}}}}
3571
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3572
}}}{{{#!if ty>ab
3573
{{{#!if au-=1, ab+=+("1"+pd)
3574
}}}}}}{{{#!if au-=tx, ab-=ty
3575
}}}
3576
{{{#!if (au==0)&&(ab==0)
3577
{{{#!if br=true
3578
}}}}}}}}}
3579
{{{#!if !br
3580
{{{#!if au=au.toString(), ab=ab.toString()
3581
}}}{{{#!if tn="", ps=(au.length==18), ps
3582
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3583
}}}}}}{{{#!if !ps&&(au.length<17)
3584
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3585
}}}}}}{{{#!if ab.length<18
3586
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3587
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3588
}}}}}}}}}
3589
##i=42
3590
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3591
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3592
}}}{{{#!if ty=ty.toString(), ty.length==19
3593
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3594
}}}}}}
3595
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3596
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3597
}}}{{{#!if ty=ty.toString(), ty.length==19
3598
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3599
}}}}}}{{{#!if ty=+ty
3600
}}}}}}
3601
{{{#!if ty>ab
3602
{{{#!if tn-=1, ab+=+("1"+pd)
3603
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3604
}}}}}}
3605
{{{#!if !br
3606
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3607
{{{#if ps=true, tm+="0"
3608
}}}}}}
3609
{{{#!if !ps
3610
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3611
}}}{{{#!if ty=ty.toString(), ty.length==19
3612
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3613
}}}}}}
3614
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3615
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3616
}}}{{{#!if ty=ty.toString(), ty.length==19
3617
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3618
}}}}}}{{{#!if ty=+ty
3619
}}}}}}
3620
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3621
}}}{{{#!if ty>ab
3622
{{{#!if au-=1, ab+=+("1"+pd)
3623
}}}}}}{{{#!if au-=tx, ab-=ty
3624
}}}
3625
{{{#!if (au==0)&&(ab==0)
3626
{{{#!if br=true
3627
}}}}}}}}}
3628
{{{#!if !br
3629
{{{#!if au=au.toString(), ab=ab.toString()
3630
}}}{{{#!if tn="", ps=(au.length==18), ps
3631
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3632
}}}}}}{{{#!if !ps&&(au.length<17)
3633
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3634
}}}}}}{{{#!if ab.length<18
3635
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3636
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3637
}}}}}}}}}
3638
##i=43
3639
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3640
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3641
}}}{{{#!if ty=ty.toString(), ty.length==19
3642
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3643
}}}}}}
3644
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3645
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3646
}}}{{{#!if ty=ty.toString(), ty.length==19
3647
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3648
}}}}}}{{{#!if ty=+ty
3649
}}}}}}
3650
{{{#!if ty>ab
3651
{{{#!if tn-=1, ab+=+("1"+pd)
3652
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3653
}}}}}}
3654
{{{#!if !br
3655
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3656
{{{#if ps=true, tm+="0"
3657
}}}}}}
3658
{{{#!if !ps
3659
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3660
}}}{{{#!if ty=ty.toString(), ty.length==19
3661
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3662
}}}}}}
3663
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3664
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3665
}}}{{{#!if ty=ty.toString(), ty.length==19
3666
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3667
}}}}}}{{{#!if ty=+ty
3668
}}}}}}
3669
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3670
}}}{{{#!if ty>ab
3671
{{{#!if au-=1, ab+=+("1"+pd)
3672
}}}}}}{{{#!if au-=tx, ab-=ty
3673
}}}
3674
{{{#!if (au==0)&&(ab==0)
3675
{{{#!if br=true
3676
}}}}}}}}}
3677
{{{#!if !br
3678
{{{#!if au=au.toString(), ab=ab.toString()
3679
}}}{{{#!if tn="", ps=(au.length==18), ps
3680
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3681
}}}}}}{{{#!if !ps&&(au.length<17)
3682
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3683
}}}}}}{{{#!if ab.length<18
3684
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3685
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3686
}}}}}}}}}
3687
##i=44
3688
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3689
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3690
}}}{{{#!if ty=ty.toString(), ty.length==19
3691
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3692
}}}}}}
3693
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3694
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3695
}}}{{{#!if ty=ty.toString(), ty.length==19
3696
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3697
}}}}}}{{{#!if ty=+ty
3698
}}}}}}
3699
{{{#!if ty>ab
3700
{{{#!if tn-=1, ab+=+("1"+pd)
3701
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3702
}}}}}}
3703
{{{#!if !br
3704
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3705
{{{#if ps=true, tm+="0"
3706
}}}}}}
3707
{{{#!if !ps
3708
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3709
}}}{{{#!if ty=ty.toString(), ty.length==19
3710
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3711
}}}}}}
3712
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3713
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3714
}}}{{{#!if ty=ty.toString(), ty.length==19
3715
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3716
}}}}}}{{{#!if ty=+ty
3717
}}}}}}
3718
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3719
}}}{{{#!if ty>ab
3720
{{{#!if au-=1, ab+=+("1"+pd)
3721
}}}}}}{{{#!if au-=tx, ab-=ty
3722
}}}
3723
{{{#!if (au==0)&&(ab==0)
3724
{{{#!if br=true
3725
}}}}}}}}}
3726
{{{#!if !br
3727
{{{#!if au=au.toString(), ab=ab.toString()
3728
}}}{{{#!if tn="", ps=(au.length==18), ps
3729
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3730
}}}}}}{{{#!if !ps&&(au.length<17)
3731
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3732
}}}}}}{{{#!if ab.length<18
3733
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3734
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3735
}}}}}}}}}
3736
##i=45
3737
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3738
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3739
}}}{{{#!if ty=ty.toString(), ty.length==19
3740
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3741
}}}}}}
3742
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3743
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3744
}}}{{{#!if ty=ty.toString(), ty.length==19
3745
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3746
}}}}}}{{{#!if ty=+ty
3747
}}}}}}
3748
{{{#!if ty>ab
3749
{{{#!if tn-=1, ab+=+("1"+pd)
3750
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3751
}}}}}}
3752
{{{#!if !br
3753
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3754
{{{#if ps=true, tm+="0"
3755
}}}}}}
3756
{{{#!if !ps
3757
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3758
}}}{{{#!if ty=ty.toString(), ty.length==19
3759
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3760
}}}}}}
3761
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3762
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3763
}}}{{{#!if ty=ty.toString(), ty.length==19
3764
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3765
}}}}}}{{{#!if ty=+ty
3766
}}}}}}
3767
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3768
}}}{{{#!if ty>ab
3769
{{{#!if au-=1, ab+=+("1"+pd)
3770
}}}}}}{{{#!if au-=tx, ab-=ty
3771
}}}
3772
{{{#!if (au==0)&&(ab==0)
3773
{{{#!if br=true
3774
}}}}}}}}}
3775
{{{#!if !br
3776
{{{#!if au=au.toString(), ab=ab.toString()
3777
}}}{{{#!if tn="", ps=(au.length==18), ps
3778
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3779
}}}}}}{{{#!if !ps&&(au.length<17)
3780
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3781
}}}}}}{{{#!if ab.length<18
3782
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3783
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3784
}}}}}}}}}
3785
##i=46
3786
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3787
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3788
}}}{{{#!if ty=ty.toString(), ty.length==19
3789
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3790
}}}}}}
3791
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3792
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3793
}}}{{{#!if ty=ty.toString(), ty.length==19
3794
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3795
}}}}}}{{{#!if ty=+ty
3796
}}}}}}
3797
{{{#!if ty>ab
3798
{{{#!if tn-=1, ab+=+("1"+pd)
3799
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3800
}}}}}}
3801
{{{#!if !br
3802
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3803
{{{#if ps=true, tm+="0"
3804
}}}}}}
3805
{{{#!if !ps
3806
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3807
}}}{{{#!if ty=ty.toString(), ty.length==19
3808
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3809
}}}}}}
3810
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3811
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3812
}}}{{{#!if ty=ty.toString(), ty.length==19
3813
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3814
}}}}}}{{{#!if ty=+ty
3815
}}}}}}
3816
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3817
}}}{{{#!if ty>ab
3818
{{{#!if au-=1, ab+=+("1"+pd)
3819
}}}}}}{{{#!if au-=tx, ab-=ty
3820
}}}
3821
{{{#!if (au==0)&&(ab==0)
3822
{{{#!if br=true
3823
}}}}}}}}}
3824
{{{#!if !br
3825
{{{#!if au=au.toString(), ab=ab.toString()
3826
}}}{{{#!if tn="", ps=(au.length==18), ps
3827
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3828
}}}}}}{{{#!if !ps&&(au.length<17)
3829
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3830
}}}}}}{{{#!if ab.length<18
3831
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3832
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3833
}}}}}}}}}
3834
##i=47
3835
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3836
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3837
}}}{{{#!if ty=ty.toString(), ty.length==19
3838
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3839
}}}}}}
3840
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3841
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3842
}}}{{{#!if ty=ty.toString(), ty.length==19
3843
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3844
}}}}}}{{{#!if ty=+ty
3845
}}}}}}
3846
{{{#!if ty>ab
3847
{{{#!if tn-=1, ab+=+("1"+pd)
3848
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3849
}}}}}}
3850
{{{#!if !br
3851
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3852
{{{#if ps=true, tm+="0"
3853
}}}}}}
3854
{{{#!if !ps
3855
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3856
}}}{{{#!if ty=ty.toString(), ty.length==19
3857
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3858
}}}}}}
3859
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3860
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3861
}}}{{{#!if ty=ty.toString(), ty.length==19
3862
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3863
}}}}}}{{{#!if ty=+ty
3864
}}}}}}
3865
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3866
}}}{{{#!if ty>ab
3867
{{{#!if au-=1, ab+=+("1"+pd)
3868
}}}}}}{{{#!if au-=tx, ab-=ty
3869
}}}
3870
{{{#!if (au==0)&&(ab==0)
3871
{{{#!if br=true
3872
}}}}}}}}}
3873
{{{#!if !br
3874
{{{#!if au=au.toString(), ab=ab.toString()
3875
}}}{{{#!if tn="", ps=(au.length==18), ps
3876
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3877
}}}}}}{{{#!if !ps&&(au.length<17)
3878
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3879
}}}}}}{{{#!if ab.length<18
3880
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3881
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3882
}}}}}}}}}
3883
##i=48
3884
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3885
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3886
}}}{{{#!if ty=ty.toString(), ty.length==19
3887
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3888
}}}}}}
3889
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3890
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3891
}}}{{{#!if ty=ty.toString(), ty.length==19
3892
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3893
}}}}}}{{{#!if ty=+ty
3894
}}}}}}
3895
{{{#!if ty>ab
3896
{{{#!if tn-=1, ab+=+("1"+pd)
3897
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3898
}}}}}}
3899
{{{#!if !br
3900
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3901
{{{#if ps=true, tm+="0"
3902
}}}}}}
3903
{{{#!if !ps
3904
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3905
}}}{{{#!if ty=ty.toString(), ty.length==19
3906
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3907
}}}}}}
3908
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3909
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3910
}}}{{{#!if ty=ty.toString(), ty.length==19
3911
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3912
}}}}}}{{{#!if ty=+ty
3913
}}}}}}
3914
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3915
}}}{{{#!if ty>ab
3916
{{{#!if au-=1, ab+=+("1"+pd)
3917
}}}}}}{{{#!if au-=tx, ab-=ty
3918
}}}
3919
{{{#!if (au==0)&&(ab==0)
3920
{{{#!if br=true
3921
}}}}}}}}}
3922
{{{#!if !br
3923
{{{#!if au=au.toString(), ab=ab.toString()
3924
}}}{{{#!if tn="", ps=(au.length==18), ps
3925
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3926
}}}}}}{{{#!if !ps&&(au.length<17)
3927
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3928
}}}}}}{{{#!if ab.length<18
3929
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3930
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3931
}}}}}}}}}
3932
##i=49
3933
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3934
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3935
}}}{{{#!if ty=ty.toString(), ty.length==19
3936
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3937
}}}}}}
3938
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3939
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3940
}}}{{{#!if ty=ty.toString(), ty.length==19
3941
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3942
}}}}}}{{{#!if ty=+ty
3943
}}}}}}
3944
{{{#!if ty>ab
3945
{{{#!if tn-=1, ab+=+("1"+pd)
3946
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3947
}}}}}}
3948
{{{#!if !br
3949
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3950
{{{#if ps=true, tm+="0"
3951
}}}}}}
3952
{{{#!if !ps
3953
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
3954
}}}{{{#!if ty=ty.toString(), ty.length==19
3955
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3956
}}}}}}
3957
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
3958
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
3959
}}}{{{#!if ty=ty.toString(), ty.length==19
3960
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3961
}}}}}}{{{#!if ty=+ty
3962
}}}}}}
3963
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
3964
}}}{{{#!if ty>ab
3965
{{{#!if au-=1, ab+=+("1"+pd)
3966
}}}}}}{{{#!if au-=tx, ab-=ty
3967
}}}
3968
{{{#!if (au==0)&&(ab==0)
3969
{{{#!if br=true
3970
}}}}}}}}}
3971
{{{#!if !br
3972
{{{#!if au=au.toString(), ab=ab.toString()
3973
}}}{{{#!if tn="", ps=(au.length==18), ps
3974
{{{#!if tn=au.substr(0,1), au=substr(1,17)
3975
}}}}}}{{{#!if !ps&&(au.length<17)
3976
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
3977
}}}}}}{{{#!if ab.length<18
3978
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
3979
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
3980
}}}}}}}}}
3981
##i=50
3982
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
3983
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
3984
}}}{{{#!if ty=ty.toString(), ty.length==19
3985
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3986
}}}}}}
3987
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
3988
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
3989
}}}{{{#!if ty=ty.toString(), ty.length==19
3990
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
3991
}}}}}}{{{#!if ty=+ty
3992
}}}}}}
3993
{{{#!if ty>ab
3994
{{{#!if tn-=1, ab+=+("1"+pd)
3995
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
3996
}}}}}}
3997
{{{#!if !br
3998
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
3999
{{{#if ps=true, tm+="0"
4000
}}}}}}
4001
{{{#!if !ps
4002
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4003
}}}{{{#!if ty=ty.toString(), ty.length==19
4004
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4005
}}}}}}
4006
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4007
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4008
}}}{{{#!if ty=ty.toString(), ty.length==19
4009
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4010
}}}}}}{{{#!if ty=+ty
4011
}}}}}}
4012
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4013
}}}{{{#!if ty>ab
4014
{{{#!if au-=1, ab+=+("1"+pd)
4015
}}}}}}{{{#!if au-=tx, ab-=ty
4016
}}}
4017
{{{#!if (au==0)&&(ab==0)
4018
{{{#!if br=true
4019
}}}}}}}}}
4020
{{{#!if !br
4021
{{{#!if au=au.toString(), ab=ab.toString()
4022
}}}{{{#!if tn="", ps=(au.length==18), ps
4023
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4024
}}}}}}{{{#!if !ps&&(au.length<17)
4025
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4026
}}}}}}{{{#!if ab.length<18
4027
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4028
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4029
}}}}}}}}}
4030
##i=51
4031
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4032
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4033
}}}{{{#!if ty=ty.toString(), ty.length==19
4034
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4035
}}}}}}
4036
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4037
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4038
}}}{{{#!if ty=ty.toString(), ty.length==19
4039
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4040
}}}}}}{{{#!if ty=+ty
4041
}}}}}}
4042
{{{#!if ty>ab
4043
{{{#!if tn-=1, ab+=+("1"+pd)
4044
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4045
}}}}}}
4046
{{{#!if !br
4047
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4048
{{{#if ps=true, tm+="0"
4049
}}}}}}
4050
{{{#!if !ps
4051
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4052
}}}{{{#!if ty=ty.toString(), ty.length==19
4053
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4054
}}}}}}
4055
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4056
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4057
}}}{{{#!if ty=ty.toString(), ty.length==19
4058
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4059
}}}}}}{{{#!if ty=+ty
4060
}}}}}}
4061
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4062
}}}{{{#!if ty>ab
4063
{{{#!if au-=1, ab+=+("1"+pd)
4064
}}}}}}{{{#!if au-=tx, ab-=ty
4065
}}}
4066
{{{#!if (au==0)&&(ab==0)
4067
{{{#!if br=true
4068
}}}}}}}}}
4069
{{{#!if !br
4070
{{{#!if au=au.toString(), ab=ab.toString()
4071
}}}{{{#!if tn="", ps=(au.length==18), ps
4072
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4073
}}}}}}{{{#!if !ps&&(au.length<17)
4074
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4075
}}}}}}{{{#!if ab.length<18
4076
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4077
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4078
}}}}}}}}}
4079
##i=52
4080
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4081
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4082
}}}{{{#!if ty=ty.toString(), ty.length==19
4083
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4084
}}}}}}
4085
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4086
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4087
}}}{{{#!if ty=ty.toString(), ty.length==19
4088
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4089
}}}}}}{{{#!if ty=+ty
4090
}}}}}}
4091
{{{#!if ty>ab
4092
{{{#!if tn-=1, ab+=+("1"+pd)
4093
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4094
}}}}}}
4095
{{{#!if !br
4096
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4097
{{{#if ps=true, tm+="0"
4098
}}}}}}
4099
{{{#!if !ps
4100
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4101
}}}{{{#!if ty=ty.toString(), ty.length==19
4102
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4103
}}}}}}
4104
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4105
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4106
}}}{{{#!if ty=ty.toString(), ty.length==19
4107
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4108
}}}}}}{{{#!if ty=+ty
4109
}}}}}}
4110
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4111
}}}{{{#!if ty>ab
4112
{{{#!if au-=1, ab+=+("1"+pd)
4113
}}}}}}{{{#!if au-=tx, ab-=ty
4114
}}}
4115
{{{#!if (au==0)&&(ab==0)
4116
{{{#!if br=true
4117
}}}}}}}}}
4118
{{{#!if !br
4119
{{{#!if au=au.toString(), ab=ab.toString()
4120
}}}{{{#!if tn="", ps=(au.length==18), ps
4121
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4122
}}}}}}{{{#!if !ps&&(au.length<17)
4123
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4124
}}}}}}{{{#!if ab.length<18
4125
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4126
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4127
}}}}}}}}}
4128
##i=53
4129
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4130
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4131
}}}{{{#!if ty=ty.toString(), ty.length==19
4132
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4133
}}}}}}
4134
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4135
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4136
}}}{{{#!if ty=ty.toString(), ty.length==19
4137
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4138
}}}}}}{{{#!if ty=+ty
4139
}}}}}}
4140
{{{#!if ty>ab
4141
{{{#!if tn-=1, ab+=+("1"+pd)
4142
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4143
}}}}}}
4144
{{{#!if !br
4145
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4146
{{{#if ps=true, tm+="0"
4147
}}}}}}
4148
{{{#!if !ps
4149
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4150
}}}{{{#!if ty=ty.toString(), ty.length==19
4151
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4152
}}}}}}
4153
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4154
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4155
}}}{{{#!if ty=ty.toString(), ty.length==19
4156
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4157
}}}}}}{{{#!if ty=+ty
4158
}}}}}}
4159
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4160
}}}{{{#!if ty>ab
4161
{{{#!if au-=1, ab+=+("1"+pd)
4162
}}}}}}{{{#!if au-=tx, ab-=ty
4163
}}}
4164
{{{#!if (au==0)&&(ab==0)
4165
{{{#!if br=true
4166
}}}}}}}}}
4167
{{{#!if !br
4168
{{{#!if au=au.toString(), ab=ab.toString()
4169
}}}{{{#!if tn="", ps=(au.length==18), ps
4170
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4171
}}}}}}{{{#!if !ps&&(au.length<17)
4172
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4173
}}}}}}{{{#!if ab.length<18
4174
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4175
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4176
}}}}}}}}}
4177
##i=54
4178
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4179
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4180
}}}{{{#!if ty=ty.toString(), ty.length==19
4181
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4182
}}}}}}
4183
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4184
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4185
}}}{{{#!if ty=ty.toString(), ty.length==19
4186
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4187
}}}}}}{{{#!if ty=+ty
4188
}}}}}}
4189
{{{#!if ty>ab
4190
{{{#!if tn-=1, ab+=+("1"+pd)
4191
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4192
}}}}}}
4193
{{{#!if !br
4194
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4195
{{{#if ps=true, tm+="0"
4196
}}}}}}
4197
{{{#!if !ps
4198
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4199
}}}{{{#!if ty=ty.toString(), ty.length==19
4200
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4201
}}}}}}
4202
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4203
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4204
}}}{{{#!if ty=ty.toString(), ty.length==19
4205
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4206
}}}}}}{{{#!if ty=+ty
4207
}}}}}}
4208
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4209
}}}{{{#!if ty>ab
4210
{{{#!if au-=1, ab+=+("1"+pd)
4211
}}}}}}{{{#!if au-=tx, ab-=ty
4212
}}}
4213
{{{#!if (au==0)&&(ab==0)
4214
{{{#!if br=true
4215
}}}}}}}}}
4216
{{{#!if !br
4217
{{{#!if au=au.toString(), ab=ab.toString()
4218
}}}{{{#!if tn="", ps=(au.length==18), ps
4219
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4220
}}}}}}{{{#!if !ps&&(au.length<17)
4221
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4222
}}}}}}{{{#!if ab.length<18
4223
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4224
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4225
}}}}}}}}}
4226
##i=55
4227
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4228
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4229
}}}{{{#!if ty=ty.toString(), ty.length==19
4230
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4231
}}}}}}
4232
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4233
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4234
}}}{{{#!if ty=ty.toString(), ty.length==19
4235
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4236
}}}}}}{{{#!if ty=+ty
4237
}}}}}}
4238
{{{#!if ty>ab
4239
{{{#!if tn-=1, ab+=+("1"+pd)
4240
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4241
}}}}}}
4242
{{{#!if !br
4243
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4244
{{{#if ps=true, tm+="0"
4245
}}}}}}
4246
{{{#!if !ps
4247
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4248
}}}{{{#!if ty=ty.toString(), ty.length==19
4249
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4250
}}}}}}
4251
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4252
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4253
}}}{{{#!if ty=ty.toString(), ty.length==19
4254
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4255
}}}}}}{{{#!if ty=+ty
4256
}}}}}}
4257
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4258
}}}{{{#!if ty>ab
4259
{{{#!if au-=1, ab+=+("1"+pd)
4260
}}}}}}{{{#!if au-=tx, ab-=ty
4261
}}}
4262
{{{#!if (au==0)&&(ab==0)
4263
{{{#!if br=true
4264
}}}}}}}}}
4265
{{{#!if !br
4266
{{{#!if au=au.toString(), ab=ab.toString()
4267
}}}{{{#!if tn="", ps=(au.length==18), ps
4268
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4269
}}}}}}{{{#!if !ps&&(au.length<17)
4270
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4271
}}}}}}{{{#!if ab.length<18
4272
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4273
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4274
}}}}}}}}}
4275
##i=56
4276
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4277
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4278
}}}{{{#!if ty=ty.toString(), ty.length==19
4279
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4280
}}}}}}
4281
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4282
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4283
}}}{{{#!if ty=ty.toString(), ty.length==19
4284
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4285
}}}}}}{{{#!if ty=+ty
4286
}}}}}}
4287
{{{#!if ty>ab
4288
{{{#!if tn-=1, ab+=+("1"+pd)
4289
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4290
}}}}}}
4291
{{{#!if !br
4292
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4293
{{{#if ps=true, tm+="0"
4294
}}}}}}
4295
{{{#!if !ps
4296
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4297
}}}{{{#!if ty=ty.toString(), ty.length==19
4298
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4299
}}}}}}
4300
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4301
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4302
}}}{{{#!if ty=ty.toString(), ty.length==19
4303
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4304
}}}}}}{{{#!if ty=+ty
4305
}}}}}}
4306
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4307
}}}{{{#!if ty>ab
4308
{{{#!if au-=1, ab+=+("1"+pd)
4309
}}}}}}{{{#!if au-=tx, ab-=ty
4310
}}}
4311
{{{#!if (au==0)&&(ab==0)
4312
{{{#!if br=true
4313
}}}}}}}}}
4314
{{{#!if !br
4315
{{{#!if au=au.toString(), ab=ab.toString()
4316
}}}{{{#!if tn="", ps=(au.length==18), ps
4317
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4318
}}}}}}{{{#!if !ps&&(au.length<17)
4319
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4320
}}}}}}{{{#!if ab.length<18
4321
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4322
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4323
}}}}}}}}}
4324
##i=57
4325
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4326
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4327
}}}{{{#!if ty=ty.toString(), ty.length==19
4328
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4329
}}}}}}
4330
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4331
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4332
}}}{{{#!if ty=ty.toString(), ty.length==19
4333
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4334
}}}}}}{{{#!if ty=+ty
4335
}}}}}}
4336
{{{#!if ty>ab
4337
{{{#!if tn-=1, ab+=+("1"+pd)
4338
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4339
}}}}}}
4340
{{{#!if !br
4341
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4342
{{{#if ps=true, tm+="0"
4343
}}}}}}
4344
{{{#!if !ps
4345
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4346
}}}{{{#!if ty=ty.toString(), ty.length==19
4347
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4348
}}}}}}
4349
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4350
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4351
}}}{{{#!if ty=ty.toString(), ty.length==19
4352
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4353
}}}}}}{{{#!if ty=+ty
4354
}}}}}}
4355
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4356
}}}{{{#!if ty>ab
4357
{{{#!if au-=1, ab+=+("1"+pd)
4358
}}}}}}{{{#!if au-=tx, ab-=ty
4359
}}}
4360
{{{#!if (au==0)&&(ab==0)
4361
{{{#!if br=true
4362
}}}}}}}}}
4363
{{{#!if !br
4364
{{{#!if au=au.toString(), ab=ab.toString()
4365
}}}{{{#!if tn="", ps=(au.length==18), ps
4366
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4367
}}}}}}{{{#!if !ps&&(au.length<17)
4368
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4369
}}}}}}{{{#!if ab.length<18
4370
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4371
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4372
}}}}}}}}}
4373
##i=58
4374
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4375
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4376
}}}{{{#!if ty=ty.toString(), ty.length==19
4377
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4378
}}}}}}
4379
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4380
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4381
}}}{{{#!if ty=ty.toString(), ty.length==19
4382
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4383
}}}}}}{{{#!if ty=+ty
4384
}}}}}}
4385
{{{#!if ty>ab
4386
{{{#!if tn-=1, ab+=+("1"+pd)
4387
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4388
}}}}}}
4389
{{{#!if !br
4390
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4391
{{{#if ps=true, tm+="0"
4392
}}}}}}
4393
{{{#!if !ps
4394
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4395
}}}{{{#!if ty=ty.toString(), ty.length==19
4396
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4397
}}}}}}
4398
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4399
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4400
}}}{{{#!if ty=ty.toString(), ty.length==19
4401
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4402
}}}}}}{{{#!if ty=+ty
4403
}}}}}}
4404
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4405
}}}{{{#!if ty>ab
4406
{{{#!if au-=1, ab+=+("1"+pd)
4407
}}}}}}{{{#!if au-=tx, ab-=ty
4408
}}}
4409
{{{#!if (au==0)&&(ab==0)
4410
{{{#!if br=true
4411
}}}}}}}}}
4412
{{{#!if !br
4413
{{{#!if au=au.toString(), ab=ab.toString()
4414
}}}{{{#!if tn="", ps=(au.length==18), ps
4415
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4416
}}}}}}{{{#!if !ps&&(au.length<17)
4417
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4418
}}}}}}{{{#!if ab.length<18
4419
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4420
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4421
}}}}}}}}}
4422
##i=59
4423
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4424
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4425
}}}{{{#!if ty=ty.toString(), ty.length==19
4426
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4427
}}}}}}
4428
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4429
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4430
}}}{{{#!if ty=ty.toString(), ty.length==19
4431
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4432
}}}}}}{{{#!if ty=+ty
4433
}}}}}}
4434
{{{#!if ty>ab
4435
{{{#!if tn-=1, ab+=+("1"+pd)
4436
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4437
}}}}}}
4438
{{{#!if !br
4439
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4440
{{{#if ps=true, tm+="0"
4441
}}}}}}
4442
{{{#!if !ps
4443
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4444
}}}{{{#!if ty=ty.toString(), ty.length==19
4445
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4446
}}}}}}
4447
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4448
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4449
}}}{{{#!if ty=ty.toString(), ty.length==19
4450
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4451
}}}}}}{{{#!if ty=+ty
4452
}}}}}}
4453
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4454
}}}{{{#!if ty>ab
4455
{{{#!if au-=1, ab+=+("1"+pd)
4456
}}}}}}{{{#!if au-=tx, ab-=ty
4457
}}}
4458
{{{#!if (au==0)&&(ab==0)
4459
{{{#!if br=true
4460
}}}}}}}}}
4461
{{{#!if !br
4462
{{{#!if au=au.toString(), ab=ab.toString()
4463
}}}{{{#!if tn="", ps=(au.length==18), ps
4464
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4465
}}}}}}{{{#!if !ps&&(au.length<17)
4466
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4467
}}}}}}{{{#!if ab.length<18
4468
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4469
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4470
}}}}}}}}}
4471
##i=60
4472
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4473
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4474
}}}{{{#!if ty=ty.toString(), ty.length==19
4475
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4476
}}}}}}
4477
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4478
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4479
}}}{{{#!if ty=ty.toString(), ty.length==19
4480
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4481
}}}}}}{{{#!if ty=+ty
4482
}}}}}}
4483
{{{#!if ty>ab
4484
{{{#!if tn-=1, ab+=+("1"+pd)
4485
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4486
}}}}}}
4487
{{{#!if !br
4488
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4489
{{{#if ps=true, tm+="0"
4490
}}}}}}
4491
{{{#!if !ps
4492
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4493
}}}{{{#!if ty=ty.toString(), ty.length==19
4494
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4495
}}}}}}
4496
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4497
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4498
}}}{{{#!if ty=ty.toString(), ty.length==19
4499
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4500
}}}}}}{{{#!if ty=+ty
4501
}}}}}}
4502
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4503
}}}{{{#!if ty>ab
4504
{{{#!if au-=1, ab+=+("1"+pd)
4505
}}}}}}{{{#!if au-=tx, ab-=ty
4506
}}}
4507
{{{#!if (au==0)&&(ab==0)
4508
{{{#!if br=true
4509
}}}}}}}}}
4510
{{{#!if !br
4511
{{{#!if au=au.toString(), ab=ab.toString()
4512
}}}{{{#!if tn="", ps=(au.length==18), ps
4513
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4514
}}}}}}{{{#!if !ps&&(au.length<17)
4515
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4516
}}}}}}{{{#!if ab.length<18
4517
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4518
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4519
}}}}}}}}}
4520
##i=61
4521
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4522
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4523
}}}{{{#!if ty=ty.toString(), ty.length==19
4524
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4525
}}}}}}
4526
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4527
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4528
}}}{{{#!if ty=ty.toString(), ty.length==19
4529
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4530
}}}}}}{{{#!if ty=+ty
4531
}}}}}}
4532
{{{#!if ty>ab
4533
{{{#!if tn-=1, ab+=+("1"+pd)
4534
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4535
}}}}}}
4536
{{{#!if !br
4537
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4538
{{{#if ps=true, tm+="0"
4539
}}}}}}
4540
{{{#!if !ps
4541
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4542
}}}{{{#!if ty=ty.toString(), ty.length==19
4543
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4544
}}}}}}
4545
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4546
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4547
}}}{{{#!if ty=ty.toString(), ty.length==19
4548
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4549
}}}}}}{{{#!if ty=+ty
4550
}}}}}}
4551
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4552
}}}{{{#!if ty>ab
4553
{{{#!if au-=1, ab+=+("1"+pd)
4554
}}}}}}{{{#!if au-=tx, ab-=ty
4555
}}}
4556
{{{#!if (au==0)&&(ab==0)
4557
{{{#!if br=true
4558
}}}}}}}}}
4559
{{{#!if !br
4560
{{{#!if au=au.toString(), ab=ab.toString()
4561
}}}{{{#!if tn="", ps=(au.length==18), ps
4562
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4563
}}}}}}{{{#!if !ps&&(au.length<17)
4564
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4565
}}}}}}{{{#!if ab.length<18
4566
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4567
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4568
}}}}}}}}}
4569
##i=62
4570
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4571
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4572
}}}{{{#!if ty=ty.toString(), ty.length==19
4573
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4574
}}}}}}
4575
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4576
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4577
}}}{{{#!if ty=ty.toString(), ty.length==19
4578
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4579
}}}}}}{{{#!if ty=+ty
4580
}}}}}}
4581
{{{#!if ty>ab
4582
{{{#!if tn-=1, ab+=+("1"+pd)
4583
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4584
}}}}}}
4585
{{{#!if !br
4586
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4587
{{{#if ps=true, tm+="0"
4588
}}}}}}
4589
{{{#!if !ps
4590
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4591
}}}{{{#!if ty=ty.toString(), ty.length==19
4592
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4593
}}}}}}
4594
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4595
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4596
}}}{{{#!if ty=ty.toString(), ty.length==19
4597
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4598
}}}}}}{{{#!if ty=+ty
4599
}}}}}}
4600
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4601
}}}{{{#!if ty>ab
4602
{{{#!if au-=1, ab+=+("1"+pd)
4603
}}}}}}{{{#!if au-=tx, ab-=ty
4604
}}}
4605
{{{#!if (au==0)&&(ab==0)
4606
{{{#!if br=true
4607
}}}}}}}}}
4608
{{{#!if !br
4609
{{{#!if au=au.toString(), ab=ab.toString()
4610
}}}{{{#!if tn="", ps=(au.length==18), ps
4611
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4612
}}}}}}{{{#!if !ps&&(au.length<17)
4613
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4614
}}}}}}{{{#!if ab.length<18
4615
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4616
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4617
}}}}}}}}}
4618
##i=63
4619
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4620
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4621
}}}{{{#!if ty=ty.toString(), ty.length==19
4622
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4623
}}}}}}
4624
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4625
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4626
}}}{{{#!if ty=ty.toString(), ty.length==19
4627
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4628
}}}}}}{{{#!if ty=+ty
4629
}}}}}}
4630
{{{#!if ty>ab
4631
{{{#!if tn-=1, ab+=+("1"+pd)
4632
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4633
}}}}}}
4634
{{{#!if !br
4635
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4636
{{{#if ps=true, tm+="0"
4637
}}}}}}
4638
{{{#!if !ps
4639
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4640
}}}{{{#!if ty=ty.toString(), ty.length==19
4641
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4642
}}}}}}
4643
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4644
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4645
}}}{{{#!if ty=ty.toString(), ty.length==19
4646
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4647
}}}}}}{{{#!if ty=+ty
4648
}}}}}}
4649
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4650
}}}{{{#!if ty>ab
4651
{{{#!if au-=1, ab+=+("1"+pd)
4652
}}}}}}{{{#!if au-=tx, ab-=ty
4653
}}}
4654
{{{#!if (au==0)&&(ab==0)
4655
{{{#!if br=true
4656
}}}}}}}}}
4657
{{{#!if !br
4658
{{{#!if au=au.toString(), ab=ab.toString()
4659
}}}{{{#!if tn="", ps=(au.length==18), ps
4660
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4661
}}}}}}{{{#!if !ps&&(au.length<17)
4662
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4663
}}}}}}{{{#!if ab.length<18
4664
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4665
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4666
}}}}}}}}}
4667
##i=64
4668
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4669
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4670
}}}{{{#!if ty=ty.toString(), ty.length==19
4671
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4672
}}}}}}
4673
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4674
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4675
}}}{{{#!if ty=ty.toString(), ty.length==19
4676
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4677
}}}}}}{{{#!if ty=+ty
4678
}}}}}}
4679
{{{#!if ty>ab
4680
{{{#!if tn-=1, ab+=+("1"+pd)
4681
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4682
}}}}}}
4683
{{{#!if !br
4684
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4685
{{{#if ps=true, tm+="0"
4686
}}}}}}
4687
{{{#!if !ps
4688
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4689
}}}{{{#!if ty=ty.toString(), ty.length==19
4690
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4691
}}}}}}
4692
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4693
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4694
}}}{{{#!if ty=ty.toString(), ty.length==19
4695
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4696
}}}}}}{{{#!if ty=+ty
4697
}}}}}}
4698
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4699
}}}{{{#!if ty>ab
4700
{{{#!if au-=1, ab+=+("1"+pd)
4701
}}}}}}{{{#!if au-=tx, ab-=ty
4702
}}}
4703
{{{#!if (au==0)&&(ab==0)
4704
{{{#!if br=true
4705
}}}}}}}}}
4706
{{{#!if !br
4707
{{{#!if au=au.toString(), ab=ab.toString()
4708
}}}{{{#!if tn="", ps=(au.length==18), ps
4709
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4710
}}}}}}{{{#!if !ps&&(au.length<17)
4711
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4712
}}}}}}{{{#!if ab.length<18
4713
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4714
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4715
}}}}}}}}}
4716
##i=65
4717
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4718
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4719
}}}{{{#!if ty=ty.toString(), ty.length==19
4720
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4721
}}}}}}
4722
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4723
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4724
}}}{{{#!if ty=ty.toString(), ty.length==19
4725
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4726
}}}}}}{{{#!if ty=+ty
4727
}}}}}}
4728
{{{#!if ty>ab
4729
{{{#!if tn-=1, ab+=+("1"+pd)
4730
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4731
}}}}}}
4732
{{{#!if !br
4733
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4734
{{{#if ps=true, tm+="0"
4735
}}}}}}
4736
{{{#!if !ps
4737
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4738
}}}{{{#!if ty=ty.toString(), ty.length==19
4739
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4740
}}}}}}
4741
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4742
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4743
}}}{{{#!if ty=ty.toString(), ty.length==19
4744
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4745
}}}}}}{{{#!if ty=+ty
4746
}}}}}}
4747
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4748
}}}{{{#!if ty>ab
4749
{{{#!if au-=1, ab+=+("1"+pd)
4750
}}}}}}{{{#!if au-=tx, ab-=ty
4751
}}}
4752
{{{#!if (au==0)&&(ab==0)
4753
{{{#!if br=true
4754
}}}}}}}}}
4755
{{{#!if !br
4756
{{{#!if au=au.toString(), ab=ab.toString()
4757
}}}{{{#!if tn="", ps=(au.length==18), ps
4758
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4759
}}}}}}{{{#!if !ps&&(au.length<17)
4760
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4761
}}}}}}{{{#!if ab.length<18
4762
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4763
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4764
}}}}}}}}}
4765
##i=66
4766
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4767
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4768
}}}{{{#!if ty=ty.toString(), ty.length==19
4769
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4770
}}}}}}
4771
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4772
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4773
}}}{{{#!if ty=ty.toString(), ty.length==19
4774
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4775
}}}}}}{{{#!if ty=+ty
4776
}}}}}}
4777
{{{#!if ty>ab
4778
{{{#!if tn-=1, ab+=+("1"+pd)
4779
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4780
}}}}}}
4781
{{{#!if !br
4782
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4783
{{{#if ps=true, tm+="0"
4784
}}}}}}
4785
{{{#!if !ps
4786
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4787
}}}{{{#!if ty=ty.toString(), ty.length==19
4788
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4789
}}}}}}
4790
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4791
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4792
}}}{{{#!if ty=ty.toString(), ty.length==19
4793
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4794
}}}}}}{{{#!if ty=+ty
4795
}}}}}}
4796
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4797
}}}{{{#!if ty>ab
4798
{{{#!if au-=1, ab+=+("1"+pd)
4799
}}}}}}{{{#!if au-=tx, ab-=ty
4800
}}}
4801
{{{#!if (au==0)&&(ab==0)
4802
{{{#!if br=true
4803
}}}}}}}}}
4804
{{{#!if !br
4805
{{{#!if au=au.toString(), ab=ab.toString()
4806
}}}{{{#!if tn="", ps=(au.length==18), ps
4807
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4808
}}}}}}{{{#!if !ps&&(au.length<17)
4809
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4810
}}}}}}{{{#!if ab.length<18
4811
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4812
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4813
}}}}}}}}}
4814
##i=67
4815
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4816
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4817
}}}{{{#!if ty=ty.toString(), ty.length==19
4818
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4819
}}}}}}
4820
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4821
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4822
}}}{{{#!if ty=ty.toString(), ty.length==19
4823
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4824
}}}}}}{{{#!if ty=+ty
4825
}}}}}}
4826
{{{#!if ty>ab
4827
{{{#!if tn-=1, ab+=+("1"+pd)
4828
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4829
}}}}}}
4830
{{{#!if !br
4831
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4832
{{{#if ps=true, tm+="0"
4833
}}}}}}
4834
{{{#!if !ps
4835
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4836
}}}{{{#!if ty=ty.toString(), ty.length==19
4837
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4838
}}}}}}
4839
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4840
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4841
}}}{{{#!if ty=ty.toString(), ty.length==19
4842
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4843
}}}}}}{{{#!if ty=+ty
4844
}}}}}}
4845
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4846
}}}{{{#!if ty>ab
4847
{{{#!if au-=1, ab+=+("1"+pd)
4848
}}}}}}{{{#!if au-=tx, ab-=ty
4849
}}}
4850
{{{#!if (au==0)&&(ab==0)
4851
{{{#!if br=true
4852
}}}}}}}}}
4853
{{{#!if !br
4854
{{{#!if au=au.toString(), ab=ab.toString()
4855
}}}{{{#!if tn="", ps=(au.length==18), ps
4856
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4857
}}}}}}{{{#!if !ps&&(au.length<17)
4858
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4859
}}}}}}{{{#!if ab.length<18
4860
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4861
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4862
}}}}}}}}}
4863
##i=68
4864
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4865
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4866
}}}{{{#!if ty=ty.toString(), ty.length==19
4867
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4868
}}}}}}
4869
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4870
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4871
}}}{{{#!if ty=ty.toString(), ty.length==19
4872
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4873
}}}}}}{{{#!if ty=+ty
4874
}}}}}}
4875
{{{#!if ty>ab
4876
{{{#!if tn-=1, ab+=+("1"+pd)
4877
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4878
}}}}}}
4879
{{{#!if !br
4880
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4881
{{{#if ps=true, tm+="0"
4882
}}}}}}
4883
{{{#!if !ps
4884
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4885
}}}{{{#!if ty=ty.toString(), ty.length==19
4886
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4887
}}}}}}
4888
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4889
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4890
}}}{{{#!if ty=ty.toString(), ty.length==19
4891
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4892
}}}}}}{{{#!if ty=+ty
4893
}}}}}}
4894
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4895
}}}{{{#!if ty>ab
4896
{{{#!if au-=1, ab+=+("1"+pd)
4897
}}}}}}{{{#!if au-=tx, ab-=ty
4898
}}}
4899
{{{#!if (au==0)&&(ab==0)
4900
{{{#!if br=true
4901
}}}}}}}}}
4902
{{{#!if !br
4903
{{{#!if au=au.toString(), ab=ab.toString()
4904
}}}{{{#!if tn="", ps=(au.length==18), ps
4905
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4906
}}}}}}{{{#!if !ps&&(au.length<17)
4907
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4908
}}}}}}{{{#!if ab.length<18
4909
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4910
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4911
}}}}}}}}}
4912
##i=69
4913
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4914
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4915
}}}{{{#!if ty=ty.toString(), ty.length==19
4916
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4917
}}}}}}
4918
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4919
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4920
}}}{{{#!if ty=ty.toString(), ty.length==19
4921
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4922
}}}}}}{{{#!if ty=+ty
4923
}}}}}}
4924
{{{#!if ty>ab
4925
{{{#!if tn-=1, ab+=+("1"+pd)
4926
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4927
}}}}}}
4928
{{{#!if !br
4929
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4930
{{{#if ps=true, tm+="0"
4931
}}}}}}
4932
{{{#!if !ps
4933
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4934
}}}{{{#!if ty=ty.toString(), ty.length==19
4935
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4936
}}}}}}
4937
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4938
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4939
}}}{{{#!if ty=ty.toString(), ty.length==19
4940
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4941
}}}}}}{{{#!if ty=+ty
4942
}}}}}}
4943
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4944
}}}{{{#!if ty>ab
4945
{{{#!if au-=1, ab+=+("1"+pd)
4946
}}}}}}{{{#!if au-=tx, ab-=ty
4947
}}}
4948
{{{#!if (au==0)&&(ab==0)
4949
{{{#!if br=true
4950
}}}}}}}}}
4951
{{{#!if !br
4952
{{{#!if au=au.toString(), ab=ab.toString()
4953
}}}{{{#!if tn="", ps=(au.length==18), ps
4954
{{{#!if tn=au.substr(0,1), au=substr(1,17)
4955
}}}}}}{{{#!if !ps&&(au.length<17)
4956
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
4957
}}}}}}{{{#!if ab.length<18
4958
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
4959
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
4960
}}}}}}}}}
4961
##i=70
4962
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
4963
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
4964
}}}{{{#!if ty=ty.toString(), ty.length==19
4965
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4966
}}}}}}
4967
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
4968
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
4969
}}}{{{#!if ty=ty.toString(), ty.length==19
4970
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4971
}}}}}}{{{#!if ty=+ty
4972
}}}}}}
4973
{{{#!if ty>ab
4974
{{{#!if tn-=1, ab+=+("1"+pd)
4975
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
4976
}}}}}}
4977
{{{#!if !br
4978
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
4979
{{{#if ps=true, tm+="0"
4980
}}}}}}
4981
{{{#!if !ps
4982
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
4983
}}}{{{#!if ty=ty.toString(), ty.length==19
4984
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4985
}}}}}}
4986
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
4987
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
4988
}}}{{{#!if ty=ty.toString(), ty.length==19
4989
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
4990
}}}}}}{{{#!if ty=+ty
4991
}}}}}}
4992
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
4993
}}}{{{#!if ty>ab
4994
{{{#!if au-=1, ab+=+("1"+pd)
4995
}}}}}}{{{#!if au-=tx, ab-=ty
4996
}}}
4997
{{{#!if (au==0)&&(ab==0)
4998
{{{#!if br=true
4999
}}}}}}}}}
5000
{{{#!if !br
5001
{{{#!if au=au.toString(), ab=ab.toString()
5002
}}}{{{#!if tn="", ps=(au.length==18), ps
5003
{{{#!if tn=au.substr(0,1), au=substr(1,17)
5004
}}}}}}{{{#!if !ps&&(au.length<17)
5005
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
5006
}}}}}}{{{#!if ab.length<18
5007
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
5008
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
5009
}}}}}}}}}
5010
##i=71
5011
{{{#!if au=+au, ab=+ab, tz=0, !br&&(tn!="")
5012
{{{#!if tn+=pd, tn=+tn, tz=tn/bu, tx=bu*tz, ty=bb*tz
5013
}}}{{{#!if ty=ty.toString(), ty.length==19
5014
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
5015
}}}}}}
5016
{{{#!if ty=+ty, (tx>tn)||((tx==tn)&&(ty>0))
5017
{{{#!if tz-=1, tx=bu*tz, ty=bb*tz
5018
}}}{{{#!if ty=ty.toString(), ty.length==19
5019
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
5020
}}}}}}{{{#!if ty=+ty
5021
}}}}}}
5022
{{{#!if ty>ab
5023
{{{#!if tn-=1, ab+=+("1"+pd)
5024
}}}}}}{{{#!if au+=(tn-tx), ab-=ty, tn=""
5025
}}}}}}
5026
{{{#!if !br
5027
{{{#if ps=false, (au<bu)||((au==bu)&&(ab<bb))
5028
{{{#if ps=true, tm+="0"
5029
}}}}}}
5030
{{{#!if !ps
5031
{{{#!if tw=au/bu, tx=bu*tw, ty=bb*tw
5032
}}}{{{#!if ty=ty.toString(), ty.length==19
5033
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
5034
}}}}}}
5035
{{{#!if ty=+ty, (tx>au)||((tx==au)&&(ty>ab))
5036
{{{#!if tw-=1, tx=bu*tw, ty=bb*tw
5037
}}}{{{#!if ty=ty.toString(), ty.length==19
5038
{{{#!if tx+=+(ty.substr(0,1)), ty=ty.substr(1,18)
5039
}}}}}}{{{#!if ty=+ty
5040
}}}}}}
5041
{{{#!if tw+=tz, tw=tw.toString(), tm+=tw
5042
}}}{{{#!if ty>ab
5043
{{{#!if au-=1, ab+=+("1"+pd)
5044
}}}}}}{{{#!if au-=tx, ab-=ty
5045
}}}
5046
{{{#!if (au==0)&&(ab==0)
5047
{{{#!if br=true
5048
}}}}}}}}}
5049
{{{#!if !br
5050
{{{#!if au=au.toString(), ab=ab.toString()
5051
}}}{{{#!if tn="", ps=(au.length==18), ps
5052
{{{#!if tn=au.substr(0,1), au=substr(1,17)
5053
}}}}}}{{{#!if !ps&&(au.length<17)
5054
{{{#!if au=pd+au, au=au.substr(au.length-17,17)
5055
}}}}}}{{{#!if ab.length<18
5056
{{{#!if ab=pd+ab, ab=ab.substr(ab.length-18,18)
5057
}}}}}}{{{#!if au+=ab.substr(0,1), ab=ab.substr(1,17)+"0"
5058
}}}}}}}}}
20705059
20715060
##rs 매기기
20725061
......