[Protra-users 113] 売買単位の正確性向上について

Back to archive index

hirosi tanak****@m4*****
2008年 10月 27日 (月) 22:15:28 JST


サンプルプログラムでは、売買単位が正確に把握されませんので、独立して、
作ってみました。
ただし、銘柄が結構変動するので、随時、メンテが必要です。
// Tanilib.pt -- 株式銘柄毎の売買単位を求める
def Tani(code)
num = 0
if code == 1000
num = 1000
elsif code == 1001
num = 1000
elsif code == 1002
num = 1000
elsif code == 1003
num = 1000
elsif code == 1004
num = 1000
elsif code == 1005
num = 1000
elsif code == 1009
num = 1000
elsif code == 1010
num = 1000
elsif code == 1101
num = 1000
elsif code == 1102
num = 1000
elsif code == 1103
num = 1000
elsif code == 1104
num = 1000
elsif code == 1105
num = 1000
elsif code == 1106
num = 1000
elsif code == 1107
num = 1000
elsif code == 1108
num = 1000
elsif code == 1109
num = 1000
elsif code == 1111
num = 1000
elsif code == 1112
num = 1000
elsif code == 1113
num = 1000
elsif code == 1114
num = 1000
elsif code == 1115
num = 1000
elsif code == 1116
num = 1000
elsif code == 1117
num = 1000
elsif code == 1118
num = 1000
elsif code == 1119
num = 1000
elsif code == 1120
num = 1000
elsif code == 1121
num = 1000
elsif code == 1122
num = 1000
elsif code == 1123
num = 1000
elsif code == 1125
num = 1000
elsif code == 1126
num = 1000
elsif code == 1127
num = 1000
elsif code == 1128
num = 1000
elsif code == 1129
num = 1000
elsif code == 1130
num = 1000
elsif code == 1131
num = 1000
elsif code == 1132
num = 1000
elsif code == 1133
num = 1000
elsif code == 1134
num = 1000
elsif code == 1135
num = 1000
elsif code == 1136
num = 1000
elsif code == 1137
num = 1000
elsif code == 1138
num = 1000
elsif code == 1139
num = 1000
elsif code == 1140
num = 1000
elsif code == 1141
num = 1000
elsif code == 1142
num = 1000
elsif code == 1143
num = 1000
elsif code == 1301
num = 1000
elsif code == 1305
num = 100
elsif code == 1306
num = 100
elsif code == 1308
num = 1000
elsif code == 1309
num = 1
elsif code == 1310
num = 100
elsif code == 1311
num = 100
elsif code == 1312
num = 1
elsif code == 1313
num = 10
elsif code == 1314
num = 100
elsif code == 1316
num = 100
elsif code == 1317
num = 100
elsif code == 1318
num = 100
elsif code == 1319
num = 1000
elsif code == 1320
num = 10
elsif code == 1321
num = 10
elsif code == 1322
num = 10
elsif code == 1323
num = 100
elsif code == 1324
num = 100
elsif code == 1325
num = 100
elsif code == 1326
num = 1
elsif code == 1327
num = 1
elsif code == 1328
num = 10
elsif code == 1329
num = 10
elsif code == 1330
num = 10
elsif code == 1331
num = 1000
elsif code == 1332
num = 100
elsif code == 1334
num = 1000
elsif code == 1340
num = 100
elsif code == 1341
num = 10
elsif code == 1342
num = 100
elsif code == 1343
num = 10
elsif code == 1344
num = 10
elsif code == 1345
num = 100
elsif code == 1352
num = 1000
elsif code == 1376
num = 1000
elsif code == 1377
num = 100
elsif code == 1378
num = 100
elsif code == 1379
num = 100
elsif code == 1380
num = 1000
elsif code == 1381
num = 1000
elsif code == 1382
num = 1
elsif code == 1400
num = 1
elsif code == 1401
num = 1
elsif code == 1405
num = 100
elsif code == 1407
num = 100
elsif code == 1408
num = 1
elsif code == 1412
num = 1
elsif code == 1414
num = 100
elsif code == 1416
num = 1000
elsif code == 1491
num = 100
elsif code == 1503
num = 500
elsif code == 1514
num = 100
elsif code == 1515
num = 1000
elsif code == 1518
num = 1000
elsif code == 1605
num = 1
elsif code == 1610
num = 100
elsif code == 1612
num = 1000
elsif code == 1613
num = 100
elsif code == 1615
num = 100
elsif code == 1617
num = 1
elsif code == 1618
num = 1
elsif code == 1619
num = 1
elsif code == 1620
num = 1
elsif code == 1621
num = 1
elsif code == 1622
num = 1
elsif code == 1623
num = 1
elsif code == 1624
num = 1
elsif code == 1625
num = 1
elsif code == 1626
num = 1
elsif code == 1627
num = 1
elsif code == 1628
num = 1
elsif code == 1629
num = 1
elsif code == 1630
num = 1
elsif code == 1631
num = 1
elsif code == 1632
num = 1
elsif code == 1633
num = 1
elsif code == 1634
num = 1
elsif code == 1635
num = 1
elsif code == 1636
num = 1
elsif code == 1637
num = 1
elsif code == 1638
num = 1
elsif code == 1639
num = 1
elsif code == 1640
num = 1
elsif code == 1641
num = 1
elsif code == 1642
num = 1
elsif code == 1643
num = 1
elsif code == 1644
num = 1
elsif code == 1645
num = 1
elsif code == 1646
num = 1
elsif code == 1647
num = 1
elsif code == 1648
num = 1
elsif code == 1649
num = 1
elsif code == 1650
num = 1
elsif code == 1661
num = 1000
elsif code == 1662
num = 100
elsif code == 1701
num = 1000
elsif code == 1702
num = 1000
elsif code == 1710
num = 100
elsif code == 1711
num = 1
elsif code == 1712
num = 1
elsif code == 1716
num = 100
elsif code == 1717
num = 100
elsif code == 1718
num = 1000
elsif code == 1719
num = 100
elsif code == 1720
num = 100
elsif code == 1721
num = 1000
elsif code == 1722
num = 100
elsif code == 1723
num = 100
elsif code == 1724
num = 1000
elsif code == 1725
num = 100
elsif code == 1726
num = 1000
elsif code == 1728
num = 1000
elsif code == 1729
num = 1000
elsif code == 1730
num = 1000
elsif code == 1731
num = 1
elsif code == 1734
num = 1000
elsif code == 1735
num = 1000
elsif code == 1736
num = 1000
elsif code == 1737
num = 1000
elsif code == 1738
num = 1000
elsif code == 1739
num = 1
elsif code == 1741
num = 100
elsif code == 1742
num = 500
elsif code == 1743
num = 1000
elsif code == 1744
num = 1000
elsif code == 1747
num = 1000
elsif code == 1748
num = 1000
elsif code == 1750
num = 1000
elsif code == 1751
num = 100
elsif code == 1753
num = 1
elsif code == 1754
num = 100
elsif code == 1756
num = 1000
elsif code == 1757
num = 100
elsif code == 1758
num = 1000
elsif code == 1761
num = 1000
elsif code == 1762
num = 100
elsif code == 1763
num = 500
elsif code == 1764
num = 1000
elsif code == 1766
num = 100
elsif code == 1767
num = 1000
elsif code == 1768
num = 1000
elsif code == 1770
num = 1000
elsif code == 1771
num = 1000
elsif code == 1773
num = 1000
elsif code == 1774
num = 1000
elsif code == 1775
num = 1000
elsif code == 1776
num = 1000
elsif code == 1777
num = 1000
elsif code == 1778
num = 1000
elsif code == 1779
num = 1000
elsif code == 1780
num = 500
elsif code == 1781
num = 1000
elsif code == 1782
num = 1000
elsif code == 1783
num = 1000
elsif code == 1786
num = 100
elsif code == 1787
num = 1000
elsif code == 1788
num = 1000
elsif code == 1789
num = 100
elsif code == 1790
num = 1000
elsif code == 1792
num = 1000
elsif code == 1793
num = 1000
elsif code == 1795
num = 1000
elsif code == 1798
num = 1000
elsif code == 1799
num = 1000
elsif code == 1801
num = 1000
elsif code == 1802
num = 1000
elsif code == 1803
num = 1000
elsif code == 1805
num = 500
elsif code == 1807
num = 1000
elsif code == 1808
num = 500
elsif code == 1810
num = 1000
elsif code == 1811
num = 1000
elsif code == 1812
num = 1000
elsif code == 1813
num = 100
elsif code == 1814
num = 1000
elsif code == 1815
num = 1000
elsif code == 1816
num = 1000
elsif code == 1819
num = 1000
elsif code == 1820
num = 1000
elsif code == 1821
num = 100
elsif code == 1822
num = 1000
elsif code == 1824
num = 1000
elsif code == 1826
num = 1000
elsif code == 1827
num = 500
elsif code == 1828
num = 1000
elsif code == 1832
num = 1000
elsif code == 1833
num = 1000
elsif code == 1834
num = 500
elsif code == 1835
num = 1000
elsif code == 1839
num = 1000
elsif code == 1840
num = 100
elsif code == 1841
num = 100
elsif code == 1844
num = 100
elsif code == 1846
num = 1000
elsif code == 1847
num = 1000
elsif code == 1848
num = 1000
elsif code == 1850
num = 1000
elsif code == 1852
num = 1000
elsif code == 1853
num = 1000
elsif code == 1854
num = 100
elsif code == 1858
num = 1000
elsif code == 1860
num = 1000
elsif code == 1861
num = 1000
elsif code == 1862
num = 100
elsif code == 1863
num = 1000
elsif code == 1865
num = 500
elsif code == 1866
num = 1000
elsif code == 1867
num = 1000
elsif code == 1868
num = 1000
elsif code == 1869
num = 1000
elsif code == 1870
num = 1000
elsif code == 1871
num = 100
elsif code == 1872
num = 1000
elsif code == 1873
num = 1000
elsif code == 1875
num = 1000
elsif code == 1877
num = 1000
elsif code == 1878
num = 100
elsif code == 1879
num = 100
elsif code == 1880
num = 100
elsif code == 1881
num = 1000
elsif code == 1882
num = 1000
elsif code == 1883
num = 1000
elsif code == 1884
num = 1000
elsif code == 1885
num = 1000
elsif code == 1888
num = 1000
elsif code == 1889
num = 1000
elsif code == 1890
num = 1000
elsif code == 1892
num = 1000
elsif code == 1893
num = 1000
elsif code == 1895
num = 1000
elsif code == 1896
num = 1000
elsif code == 1897
num = 1000
elsif code == 1898
num = 1000
elsif code == 1899
num = 1000
elsif code == 1900
num = 1000
elsif code == 1902
num = 1000
elsif code == 1904
num = 1000
elsif code == 1905
num = 1000
elsif code == 1906
num = 1000
elsif code == 1907
num = 100
elsif code == 1908
num = 1
elsif code == 1911
num = 1000
elsif code == 1913
num = 1000
elsif code == 1914
num = 100
elsif code == 1916
num = 1000
elsif code == 1919
num = 1000
elsif code == 1921
num = 1000
elsif code == 1924
num = 1000
elsif code == 1925
num = 1000
elsif code == 1926
num = 100
elsif code == 1928
num = 1000
elsif code == 1929
num = 1000
elsif code == 1930
num = 1000
elsif code == 1931
num = 1000
elsif code == 1932
num = 1000
elsif code == 1933
num = 1000
elsif code == 1934
num = 1000
elsif code == 1935
num = 1000
elsif code == 1936
num = 100
elsif code == 1937
num = 1000
elsif code == 1938
num = 1000
elsif code == 1939
num = 1000
elsif code == 1940
num = 1000
elsif code == 1941
num = 100
elsif code == 1942
num = 1000
elsif code == 1943
num = 1000
elsif code == 1944
num = 1000
elsif code == 1945
num = 1000
elsif code == 1946
num = 1000
elsif code == 1948
num = 1000
elsif code == 1949
num = 100
elsif code == 1950
num = 1000
elsif code == 1951
num = 1000
elsif code == 1952
num = 100
elsif code == 1954
num = 1000
elsif code == 1955
num = 1000
elsif code == 1956
num = 1000
elsif code == 1957
num = 1000
elsif code == 1959
num = 1000
elsif code == 1960
num = 1000
elsif code == 1961
num = 1000
elsif code == 1963
num = 1000
elsif code == 1964
num = 1000
elsif code == 1965
num = 100
elsif code == 1966
num = 500
elsif code == 1967
num = 1000
elsif code == 1968
num = 1000
elsif code == 1969
num = 1000
elsif code == 1970
num = 1000
elsif code == 1971
num = 1000
elsif code == 1972
num = 1000
elsif code == 1973
num = 100
elsif code == 1975
num = 1000
elsif code == 1976
num = 1000
elsif code == 1978
num = 1000
elsif code == 1979
num = 100
elsif code == 1980
num = 1000
elsif code == 1981
num = 1000
elsif code == 1982
num = 1000
elsif code == 1983
num = 1000
elsif code == 1984
num = 1000
elsif code == 1985
num = 1000
elsif code == 1986
num = 100
elsif code == 1987
num = 1000
elsif code == 1988
num = 100
elsif code == 1989
num = 1000
elsif code == 1990
num = 1000
elsif code == 1991
num = 100
elsif code == 1992
num = 1000
elsif code == 1994
num = 1000
elsif code == 1995
num = 1000
elsif code == 1997
num = 1000
elsif code == 1998
num = 100
elsif code == 1999
num = 1000
elsif code == 2001
num = 1000
elsif code == 2002
num = 500
elsif code == 2003
num = 1000
elsif code == 2004
num = 1000
elsif code == 2006
num = 1000
elsif code == 2007
num = 1000
elsif code == 2008
num = 1000
elsif code == 2009
num = 100
elsif code == 2051
num = 1000
elsif code == 2052
num = 1000
elsif code == 2053
num = 1000
elsif code == 2055
num = 1000
elsif code == 2056
num = 1000
elsif code == 2057
num = 1000
elsif code == 2058
num = 1000
elsif code == 2059
num = 100
elsif code == 2107
num = 1000
elsif code == 2108
num = 1000
elsif code == 2109
num = 1000
elsif code == 2112
num = 1000
elsif code == 2113
num = 1000
elsif code == 2114
num = 1000
elsif code == 2116
num = 1000
elsif code == 2120
num = 1
elsif code == 2121
num = 1
elsif code == 2122
num = 1
elsif code == 2123
num = 100
elsif code == 2124
num = 1
elsif code == 2127
num = 1
elsif code == 2128
num = 1
elsif code == 2131
num = 1
elsif code == 2132
num = 1
elsif code == 2133
num = 1
elsif code == 2134
num = 1
elsif code == 2135
num = 1000
elsif code == 2136
num = 1
elsif code == 2137
num = 1
elsif code == 2138
num = 1
elsif code == 2140
num = 1
elsif code == 2142
num = 1
elsif code == 2144
num = 1
elsif code == 2145
num = 1
elsif code == 2146
num = 10
elsif code == 2147
num = 1
elsif code == 2148
num = 1
elsif code == 2149
num = 100
elsif code == 2150
num = 1
elsif code == 2151
num = 100
elsif code == 2152
num = 100
elsif code == 2153
num = 10
elsif code == 2154
num = 1
elsif code == 2155
num = 1
elsif code == 2156
num = 1000
elsif code == 2157
num = 1
elsif code == 2158
num = 10
elsif code == 2159
num = 100
elsif code == 2160
num = 1000
elsif code == 2162
num = 1
elsif code == 2163
num = 100
elsif code == 2164
num = 1
elsif code == 2165
num = 100
elsif code == 2166
num = 1
elsif code == 2167
num = 1
elsif code == 2168
num = 1
elsif code == 2169
num = 1
elsif code == 2170
num = 1
elsif code == 2172
num = 100
elsif code == 2173
num = 1
elsif code == 2174
num = 1
elsif code == 2175
num = 1
elsif code == 2176
num = 1
elsif code == 2177
num = 100
elsif code == 2178
num = 100
elsif code == 2179
num = 1
elsif code == 2180
num = 100
elsif code == 2181
num = 100
elsif code == 2182
num = 100
elsif code == 2201
num = 1000
elsif code == 2202
num = 1000
elsif code == 2204
num = 1000
elsif code == 2206
num = 1000
elsif code == 2207
num = 100
elsif code == 2208
num = 1000
elsif code == 2209
num = 1000
elsif code == 2211
num = 1000
elsif code == 2212
num = 1000
elsif code == 2215
num = 1000
elsif code == 2216
num = 1000
elsif code == 2217
num = 1000
elsif code == 2218
num = 1000
elsif code == 2220
num = 100
elsif code == 2221
num = 100
elsif code == 2222
num = 100
elsif code == 2224
num = 100
elsif code == 2226
num = 100
elsif code == 2227
num = 100
elsif code == 2228
num = 1
elsif code == 2261
num = 1000
elsif code == 2262
num = 500
elsif code == 2264
num = 1000
elsif code == 2266
num = 1000
elsif code == 2267
num = 100
elsif code == 2268
num = 1000
elsif code == 2281
num = 1000
elsif code == 2282
num = 1000
elsif code == 2284
num = 1000
elsif code == 2286
num = 1000
elsif code == 2288
num = 1000
elsif code == 2289
num = 1000
elsif code == 2290
num = 500
elsif code == 2291
num = 1000
elsif code == 2292
num = 500
elsif code == 2293
num = 1000
elsif code == 2294
num = 100
elsif code == 2300
num = 100
elsif code == 2301
num = 100
elsif code == 2303
num = 1
elsif code == 2304
num = 1
elsif code == 2305
num = 100
elsif code == 2306
num = 100
elsif code == 2307
num = 1000
elsif code == 2309
num = 10
elsif code == 2310
num = 1
elsif code == 2311
num = 1
elsif code == 2315
num = 1
elsif code == 2316
num = 1
elsif code == 2317
num = 1
elsif code == 2318
num = 1
elsif code == 2321
num = 1
elsif code == 2322
num = 100
elsif code == 2323
num = 1
elsif code == 2324
num = 1
elsif code == 2325
num = 1
elsif code == 2326
num = 1
elsif code == 2327
num = 100
elsif code == 2328
num = 100
elsif code == 2329
num = 100
elsif code == 2330
num = 1
elsif code == 2331
num = 100
elsif code == 2332
num = 100
elsif code == 2333
num = 1
elsif code == 2335
num = 100
elsif code == 2337
num = 1
elsif code == 2338
num = 1
elsif code == 2340
num = 100
elsif code == 2341
num = 100
elsif code == 2342
num = 1000
elsif code == 2344
num = 100
elsif code == 2345
num = 1
elsif code == 2347
num = 1
elsif code == 2349
num = 100
elsif code == 2350
num = 1
elsif code == 2351
num = 1
elsif code == 2352
num = 1
elsif code == 2353
num = 1
elsif code == 2354
num = 100
elsif code == 2355
num = 1
elsif code == 2356
num = 1
elsif code == 2359
num = 100
elsif code == 2360
num = 1
elsif code == 2361
num = 1
elsif code == 2362
num = 1000
elsif code == 2363
num = 1
elsif code == 2366
num = 1000
elsif code == 2369
num = 1
elsif code == 2370
num = 1
elsif code == 2371
num = 1
elsif code == 2372
num = 1
elsif code == 2373
num = 1
elsif code == 2374
num = 1
elsif code == 2375
num = 100
elsif code == 2376
num = 100
elsif code == 2377
num = 1
elsif code == 2378
num = 100
elsif code == 2379
num = 1
elsif code == 2383
num = 1
elsif code == 2384
num = 1
elsif code == 2385
num = 1
elsif code == 2386
num = 100
elsif code == 2387
num = 1
elsif code == 2388
num = 1
elsif code == 2389
num = 1
elsif code == 2391
num = 1
elsif code == 2392
num = 1
elsif code == 2393
num = 1
elsif code == 2394
num = 1
elsif code == 2395
num = 100
elsif code == 2396
num = 1
elsif code == 2397
num = 1
elsif code == 2398
num = 100
elsif code == 2399
num = 1
elsif code == 2400
num = 1
elsif code == 2402
num = 100
elsif code == 2403
num = 1
elsif code == 2404
num = 1
elsif code == 2405
num = 10
elsif code == 2406
num = 1
elsif code == 2408
num = 1000
elsif code == 2409
num = 1
elsif code == 2410
num = 1
elsif code == 2411
num = 1
elsif code == 2412
num = 1
elsif code == 2413
num = 1
elsif code == 2414
num = 100
elsif code == 2415
num = 1
elsif code == 2416
num = 1
elsif code == 2417
num = 100
elsif code == 2418
num = 1
elsif code == 2419
num = 1
elsif code == 2420
num = 1
elsif code == 2421
num = 1
elsif code == 2423
num = 1
elsif code == 2425
num = 1
elsif code == 2426
num = 1
elsif code == 2427
num = 1
elsif code == 2428
num = 1
elsif code == 2429
num = 1
elsif code == 2430
num = 1
elsif code == 2431
num = 100
elsif code == 2432
num = 1
elsif code == 2433
num = 100
elsif code == 2434
num = 100
elsif code == 2435
num = 100
elsif code == 2436
num = 100
elsif code == 2437
num = 1
elsif code == 2438
num = 1
elsif code == 2440
num = 1
elsif code == 2444
num = 1
elsif code == 2445
num = 100
elsif code == 2446
num = 1
elsif code == 2447
num = 1
elsif code == 2448
num = 1
elsif code == 2449
num = 100
elsif code == 2450
num = 1
elsif code == 2451
num = 1000
elsif code == 2453
num = 1
elsif code == 2454
num = 1
elsif code == 2458
num = 1
elsif code == 2459
num = 1
elsif code == 2460
num = 1
elsif code == 2461
num = 1
elsif code == 2462
num = 1
elsif code == 2463
num = 1
elsif code == 2464
num = 1
elsif code == 2465
num = 1
elsif code == 2466
num = 1
elsif code == 2467
num = 1
elsif code == 2468
num = 1
elsif code == 2469
num = 100
elsif code == 2471
num = 1
elsif code == 2473
num = 100
elsif code == 2475
num = 1
elsif code == 2476
num = 1
elsif code == 2477
num = 1
elsif code == 2478
num = 1
elsif code == 2479
num = 1
elsif code == 2480
num = 100
elsif code == 2481
num = 100
elsif code == 2483
num = 1
elsif code == 2484
num = 1
elsif code == 2485
num = 1
elsif code == 2486
num = 1
elsif code == 2487
num = 100
elsif code == 2488
num = 1
elsif code == 2489
num = 1
elsif code == 2490
num = 1
elsif code == 2491
num = 1
elsif code == 2492
num = 1
elsif code == 2493
num = 1
elsif code == 2495
num = 1
elsif code == 2496
num = 1
elsif code == 2497
num = 1
elsif code == 2498
num = 100
elsif code == 2499
num = 1
elsif code == 2501
num = 1000
elsif code == 2502
num = 100
elsif code == 2503
num = 1000
elsif code == 2531
num = 1000
elsif code == 2533
num = 1000
elsif code == 2536
num = 1000
elsif code == 2538
num = 1000
elsif code == 2540
num = 1000
elsif code == 2551
num = 1000
elsif code == 2572
num = 100
elsif code == 2573
num = 1000
elsif code == 2576
num = 100
elsif code == 2578
num = 100
elsif code == 2579
num = 100
elsif code == 2580
num = 1
elsif code == 2589
num = 100
elsif code == 2590
num = 100
elsif code == 2591
num = 1000
elsif code == 2593
num = 100
elsif code == 2594
num = 100
elsif code == 2595
num = 100
elsif code == 2596
num = 100
elsif code == 2597
num = 100
elsif code == 2598
num = 500
elsif code == 2599
num = 100
elsif code == 2602
num = 1000
elsif code == 2607
num = 100
elsif code == 2608
num = 1000
elsif code == 2611
num = 1000
elsif code == 2612
num = 100
elsif code == 2613
num = 1000
elsif code == 2651
num = 100
elsif code == 2652
num = 1
elsif code == 2653
num = 100
elsif code == 2654
num = 1000
elsif code == 2655
num = 100
elsif code == 2656
num = 1
elsif code == 2657
num = 100
elsif code == 2658
num = 1000
elsif code == 2659
num = 100
elsif code == 2660
num = 100
elsif code == 2662
num = 100
elsif code == 2664
num = 100
elsif code == 2665
num = 1
elsif code == 2666
num = 100
elsif code == 2667
num = 1
elsif code == 2668
num = 100
elsif code == 2669
num = 100
elsif code == 2670
num = 100
elsif code == 2671
num = 100
elsif code == 2673
num = 100
elsif code == 2674
num = 100
elsif code == 2675
num = 100
elsif code == 2676
num = 100
elsif code == 2678
num = 1000
elsif code == 2680
num = 100
elsif code == 2681
num = 1
elsif code == 2682
num = 1000
elsif code == 2683
num = 500
elsif code == 2684
num = 1
elsif code == 2685
num = 100
elsif code == 2686
num = 500
elsif code == 2687
num = 1000
elsif code == 2688
num = 1
elsif code == 2689
num = 100
elsif code == 2690
num = 100
elsif code == 2692
num = 100
elsif code == 2693
num = 100
elsif code == 2694
num = 1000
elsif code == 2695
num = 1
elsif code == 2696
num = 1000
elsif code == 2697
num = 1
elsif code == 2698
num = 1
elsif code == 2700
num = 1000
elsif code == 2702
num = 100
elsif code == 2703
num = 100
elsif code == 2705
num = 100
elsif code == 2706
num = 1000
elsif code == 2708
num = 1000
elsif code == 2709
num = 1
elsif code == 2710
num = 1000
elsif code == 2712
num = 1
elsif code == 2714
num = 1000
elsif code == 2715
num = 1000
elsif code == 2717
num = 100
elsif code == 2718
num = 1
elsif code == 2719
num = 100
elsif code == 2720
num = 1
elsif code == 2721
num = 1
elsif code == 2722
num = 1
elsif code == 2723
num = 1000
elsif code == 2724
num = 1
elsif code == 2725
num = 1
elsif code == 2726
num = 50
elsif code == 2727
num = 1
elsif code == 2729
num = 100
elsif code == 2730
num = 100
elsif code == 2731
num = 1
elsif code == 2732
num = 1
elsif code == 2733
num = 1000
elsif code == 2734
num = 500
elsif code == 2735
num = 1
elsif code == 2736
num = 1000
elsif code == 2737
num = 100
elsif code == 2738
num = 1
elsif code == 2742
num = 100
elsif code == 2743
num = 1
elsif code == 2744
num = 1
elsif code == 2746
num = 1
elsif code == 2747
num = 1000
elsif code == 2749
num = 1
elsif code == 2750
num = 100
elsif code == 2751
num = 1
elsif code == 2752
num = 1
elsif code == 2753
num = 1
elsif code == 2754
num = 1000
elsif code == 2756
num = 500
elsif code == 2757
num = 1
elsif code == 2759
num = 1
elsif code == 2760
num = 1
elsif code == 2761
num = 100
elsif code == 2762
num = 1
elsif code == 2763
num = 1
elsif code == 2764
num = 1
elsif code == 2766
num = 1
elsif code == 2767
num = 1
elsif code == 2768
num = 100
elsif code == 2769
num = 1
elsif code == 2772
num = 1
elsif code == 2773
num = 100
elsif code == 2774
num = 1000
elsif code == 2775
num = 100
elsif code == 2776
num = 1
elsif code == 2777
num = 10
elsif code == 2778
num = 100
elsif code == 2779
num = 1000
elsif code == 2780
num = 100
elsif code == 2781
num = 100
elsif code == 2782
num = 1
elsif code == 2784
num = 100
elsif code == 2786
num = 1
elsif code == 2788
num = 1
elsif code == 2789
num = 100
elsif code == 2790
num = 100
elsif code == 2791
num = 100
elsif code == 2792
num = 100
elsif code == 2793
num = 1
elsif code == 2794
num = 100
elsif code == 2795
num = 100
elsif code == 2796
num = 1
elsif code == 2797
num = 100
elsif code == 2798
num = 1
elsif code == 2799
num = 1
elsif code == 2801
num = 1000
elsif code == 2802
num = 1000
elsif code == 2804
num = 1000
elsif code == 2805
num = 500
elsif code == 2806
num = 100
elsif code == 2809
num = 100
elsif code == 2810
num = 100
elsif code == 2811
num = 100
elsif code == 2812
num = 100
elsif code == 2813
num = 1000
elsif code == 2814
num = 100
elsif code == 2815
num = 100
elsif code == 2816
num = 1000
elsif code == 2817
num = 1000
elsif code == 2818
num = 100
elsif code == 2819
num = 1000
elsif code == 2830
num = 100
elsif code == 2831
num = 1000
elsif code == 2871
num = 1000
elsif code == 2872
num = 1000
elsif code == 2873
num = 100
elsif code == 2874
num = 1000
elsif code == 2875
num = 1000
elsif code == 2876
num = 1000
elsif code == 2877
num = 100
elsif code == 2878
num = 1000
elsif code == 2879
num = 1000
elsif code == 2880
num = 1
elsif code == 2881
num = 100
elsif code == 2891
num = 1000
elsif code == 2892
num = 1000
elsif code == 2893
num = 1000
elsif code == 2894
num = 1000
elsif code == 2897
num = 100
elsif code == 2898
num = 1000
elsif code == 2899
num = 1000
elsif code == 2900
num = 1000
elsif code == 2901
num = 1000
elsif code == 2902
num = 100
elsif code == 2903
num = 1000
elsif code == 2904
num = 1000
elsif code == 2905
num = 1000
elsif code == 2906
num = 1000
elsif code == 2907
num = 500
elsif code == 2908
num = 1000
elsif code == 2909
num = 1000
elsif code == 2910
num = 100
elsif code == 2911
num = 1000
elsif code == 2912
num = 1000
elsif code == 2913
num = 1000
elsif code == 2914
num = 1
elsif code == 2915
num = 1000
elsif code == 2916
num = 1000
elsif code == 2917
num = 1000
elsif code == 2918
num = 100
elsif code == 2919
num = 1000
elsif code == 2921
num = 1000
elsif code == 2922
num = 100
elsif code == 2923
num = 1000
elsif code == 2924
num = 100
elsif code == 2925
num = 1000
elsif code == 2926
num = 1
elsif code == 2927
num = 10
elsif code == 2928
num = 1
elsif code == 2929
num = 1
elsif code == 3001
num = 100
elsif code == 3002
num = 1000
elsif code == 3003
num = 100
elsif code == 3004
num = 1000
elsif code == 3009
num = 1000
elsif code == 3010
num = 1000
elsif code == 3011
num = 100
elsif code == 3020
num = 100
elsif code == 3021
num = 1
elsif code == 3022
num = 100
elsif code == 3023
num = 1000
elsif code == 3024
num = 100
elsif code == 3027
num = 1
elsif code == 3028
num = 100
elsif code == 3029
num = 1
elsif code == 3030
num = 1
elsif code == 3031
num = 1
elsif code == 3032
num = 1
elsif code == 3033
num = 1000
elsif code == 3034
num = 1
elsif code == 3035
num = 1000
elsif code == 3036
num = 100
elsif code == 3037
num = 1
elsif code == 3038
num = 100
elsif code == 3040
num = 100
elsif code == 3041
num = 1
elsif code == 3042
num = 1
elsif code == 3043
num = 1
elsif code == 3044
num = 100
elsif code == 3045
num = 100
elsif code == 3046
num = 1000
elsif code == 3047
num = 1
elsif code == 3048
num = 1
elsif code == 3049
num = 1
elsif code == 3050
num = 100
elsif code == 3052
num = 1000
elsif code == 3053
num = 1
elsif code == 3054
num = 1
elsif code == 3055
num = 100
elsif code == 3058
num = 1000
elsif code == 3059
num = 100
elsif code == 3060
num = 1
elsif code == 3062
num = 1000
elsif code == 3063
num = 1
elsif code == 3064
num = 1
elsif code == 3065
num = 1000
elsif code == 3067
num = 1
elsif code == 3068
num = 100
elsif code == 3069
num = 1
elsif code == 3070
num = 1
elsif code == 3071
num = 1
elsif code == 3073
num = 1
elsif code == 3074
num = 1
elsif code == 3075
num = 10
elsif code == 3076
num = 1000
elsif code == 3077
num = 100
elsif code == 3078
num = 100
elsif code == 3079
num = 100
elsif code == 3080
num = 100
elsif code == 3082
num = 1
elsif code == 3083
num = 1
elsif code == 3085
num = 1
elsif code == 3086
num = 1000
elsif code == 3087
num = 100
elsif code == 3088
num = 1000
elsif code == 3089
num = 1
elsif code == 3090
num = 1
elsif code == 3091
num = 100
elsif code == 3092
num = 1
elsif code == 3093
num = 1
elsif code == 3094
num = 100
elsif code == 3095
num = 100
elsif code == 3096
num = 1000
elsif code == 3097
num = 100
elsif code == 3098
num = 100
elsif code == 3099
num = 100
elsif code == 3101
num = 1000
elsif code == 3103
num = 1000
elsif code == 3104
num = 1000
elsif code == 3105
num = 1000
elsif code == 3106
num = 1000
elsif code == 3107
num = 1000
elsif code == 3109
num = 1000
elsif code == 3110
num = 1000
elsif code == 3111
num = 1000
elsif code == 3113
num = 1000
elsif code == 3114
num = 1000
elsif code == 3116
num = 100
elsif code == 3117
num = 1000
elsif code == 3121
num = 1000
elsif code == 3123
num = 100
elsif code == 3125
num = 1000
elsif code == 3128
num = 1000
elsif code == 3129
num = 1000
elsif code == 3140
num = 100
elsif code == 3141
num = 100
elsif code == 3201
num = 1000
elsif code == 3202
num = 1000
elsif code == 3204
num = 1000
elsif code == 3205
num = 1000
elsif code == 3207
num = 1000
elsif code == 3209
num = 1000
elsif code == 3216
num = 1000
elsif code == 3225
num = 100
elsif code == 3226
num = 1
elsif code == 3227
num = 1
elsif code == 3229
num = 1
elsif code == 3230
num = 1
elsif code == 3231
num = 100
elsif code == 3233
num = 1
elsif code == 3234
num = 1
elsif code == 3235
num = 1
elsif code == 3236
num = 1
elsif code == 3237
num = 1
elsif code == 3238
num = 1000
elsif code == 3239
num = 1
elsif code == 3240
num = 1
elsif code == 3241
num = 1
elsif code == 3242
num = 1
elsif code == 3243
num = 1
elsif code == 3244
num = 1
elsif code == 3245
num = 1
elsif code == 3246
num = 1
elsif code == 3247
num = 1
elsif code == 3248
num = 1
elsif code == 3249
num = 1
elsif code == 3250
num = 1
elsif code == 3251
num = 100
elsif code == 3254
num = 1
elsif code == 3259
num = 1
elsif code == 3264
num = 100
elsif code == 3302
num = 1000
elsif code == 3304
num = 1000
elsif code == 3306
num = 1000
elsif code == 3310
num = 1
elsif code == 3311
num = 1
elsif code == 3313
num = 100
elsif code == 3315
num = 500
elsif code == 3316
num = 1
elsif code == 3317
num = 100
elsif code == 3318
num = 100
elsif code == 3319
num = 1
elsif code == 3320
num = 100
elsif code == 3321
num = 100
elsif code == 3322
num = 1
elsif code == 3323
num = 1
elsif code == 3324
num = 1
elsif code == 3325
num = 1
elsif code == 3326
num = 1
elsif code == 3328
num = 1
elsif code == 3329
num = 100
elsif code == 3330
num = 1
elsif code == 3331
num = 100
elsif code == 3332
num = 1000
elsif code == 3333
num = 100
elsif code == 3334
num = 1
elsif code == 3335
num = 100
elsif code == 3337
num = 100
elsif code == 3338
num = 1
elsif code == 3339
num = 100
elsif code == 3340
num = 100
elsif code == 3341
num = 10
elsif code == 3343
num = 1
elsif code == 3344
num = 1
elsif code == 3346
num = 1
elsif code == 3347
num = 1
elsif code == 3348
num = 1
elsif code == 3349
num = 100
elsif code == 3350
num = 1
elsif code == 3351
num = 1
elsif code == 3352
num = 1
elsif code == 3353
num = 1
elsif code == 3354
num = 100
elsif code == 3355
num = 100
elsif code == 3356
num = 1
elsif code == 3358
num = 1
elsif code == 3359
num = 1
elsif code == 3360
num = 1
elsif code == 3361
num = 1000
elsif code == 3362
num = 100
elsif code == 3364
num = 1
elsif code == 3366
num = 1
elsif code == 3367
num = 1
elsif code == 3370
num = 1
elsif code == 3371
num = 100
elsif code == 3372
num = 1
elsif code == 3373
num = 1
elsif code == 3374
num = 1000
elsif code == 3375
num = 1
elsif code == 3376
num = 1
elsif code == 3377
num = 1
elsif code == 3379
num = 1
elsif code == 3381
num = 1000
elsif code == 3382
num = 100
elsif code == 3383
num = 1
elsif code == 3384
num = 1
elsif code == 3385
num = 1
elsif code == 3386
num = 1
elsif code == 3387
num = 100
elsif code == 3388
num = 100
elsif code == 3390
num = 1
elsif code == 3391
num = 100
elsif code == 3392
num = 1
elsif code == 3393
num = 1
elsif code == 3394
num = 1
elsif code == 3395
num = 100
elsif code == 3396
num = 100
elsif code == 3397
num = 1
elsif code == 3398
num = 100
elsif code == 3399
num = 1
elsif code == 3401
num = 1000
elsif code == 3402
num = 1000
elsif code == 3403
num = 1000
elsif code == 3404
num = 1000
elsif code == 3405
num = 500
elsif code == 3407
num = 1000
elsif code == 3408
num = 1000
elsif code == 3409
num = 1000
elsif code == 3411
num = 1000
elsif code == 3420
num = 1000
elsif code == 3421
num = 100
elsif code == 3422
num = 100
elsif code == 3423
num = 1000
elsif code == 3424
num = 1000
elsif code == 3425
num = 1000
elsif code == 3426
num = 1000
elsif code == 3428
num = 1000
elsif code == 3429
num = 1
elsif code == 3431
num = 1000
elsif code == 3432
num = 1000
elsif code == 3433
num = 100
elsif code == 3434
num = 100
elsif code == 3435
num = 100
elsif code == 3436
num = 100
elsif code == 3437
num = 1000
elsif code == 3439
num = 100
elsif code == 3440
num = 1
elsif code == 3441
num = 10
elsif code == 3487
num = 1
elsif code == 3501
num = 1000
elsif code == 3503
num = 1000
elsif code == 3512
num = 100
elsif code == 3513
num = 1000
elsif code == 3514
num = 1000
elsif code == 3515
num = 1000
elsif code == 3521
num = 1000
elsif code == 3524
num = 1000
elsif code == 3526
num = 1000
elsif code == 3528
num = 1000
elsif code == 3529
num = 1000
elsif code == 3532
num = 1000
elsif code == 3534
num = 100
elsif code == 3551
num = 1000
elsif code == 3552
num = 1000
elsif code == 3553
num = 100
elsif code == 3569
num = 1000
elsif code == 3570
num = 1000
elsif code == 3571
num = 1000
elsif code == 3577
num = 1000
elsif code == 3578
num = 1000
elsif code == 3580
num = 1000
elsif code == 3583
num = 1000
elsif code == 3585
num = 1000
elsif code == 3587
num = 1000
elsif code == 3588
num = 1000
elsif code == 3591
num = 1000
elsif code == 3592
num = 1000
elsif code == 3593
num = 100
elsif code == 3594
num = 1000
elsif code == 3595
num = 1000
elsif code == 3597
num = 1000
elsif code == 3598
num = 100
elsif code == 3599
num = 1000
elsif code == 3600
num = 1000
elsif code == 3604
num = 1000
elsif code == 3605
num = 100
elsif code == 3606
num = 100
elsif code == 3607
num = 100
elsif code == 3620
num = 1
elsif code == 3622
num = 1
elsif code == 3623
num = 1
elsif code == 3624
num = 1
elsif code == 3625
num = 1
elsif code == 3626
num = 1000
elsif code == 3627
num = 10
elsif code == 3628
num = 100
elsif code == 3706
num = 1000
elsif code == 3708
num = 1000
elsif code == 3710
num = 100
elsif code == 3711
num = 1
elsif code == 3712
num = 1
elsif code == 3713
num = 1
elsif code == 3715
num = 1
elsif code == 3716
num = 1
elsif code == 3719
num = 100
elsif code == 3720
num = 1
elsif code == 3722
num = 1
elsif code == 3723
num = 1
elsif code == 3724
num = 1
elsif code == 3725
num = 1
elsif code == 3726
num = 1
elsif code == 3727
num = 1
elsif code == 3730
num = 1
elsif code == 3731
num = 1
elsif code == 3732
num = 1
elsif code == 3733
num = 100
elsif code == 3734
num = 1
elsif code == 3735
num = 100
elsif code == 3736
num = 1
elsif code == 3738
num = 1
elsif code == 3739
num = 1
elsif code == 3740
num = 1
elsif code == 3741
num = 100
elsif code == 3742
num = 1
elsif code == 3744
num = 1
elsif code == 3745
num = 1
elsif code == 3746
num = 1
elsif code == 3747
num = 1
elsif code == 3749
num = 1
elsif code == 3750
num = 1000
elsif code == 3751
num = 1
elsif code == 3752
num = 1
elsif code == 3753
num = 1
elsif code == 3754
num = 1
elsif code == 3755
num = 1
elsif code == 3756
num = 1
elsif code == 3758
num = 1
elsif code == 3760
num = 1
elsif code == 3762
num = 1
elsif code == 3763
num = 100
elsif code == 3764
num = 1
elsif code == 3765
num = 1
elsif code == 3766
num = 500
elsif code == 3767
num = 1
elsif code == 3768
num = 1
elsif code == 3769
num = 1
elsif code == 3770
num = 1
elsif code == 3771
num = 100
elsif code == 3772
num = 1
elsif code == 3773
num = 1
elsif code == 3774
num = 1
elsif code == 3775
num = 1
elsif code == 3776
num = 1
elsif code == 3777
num = 1
elsif code == 3778
num = 1
elsif code == 3779
num = 1000
elsif code == 3780
num = 1
elsif code == 3781
num = 1
elsif code == 3782
num = 1
elsif code == 3783
num = 1
elsif code == 3784
num = 1
elsif code == 3785
num = 1
elsif code == 3786
num = 1
elsif code == 3787
num = 1
elsif code == 3788
num = 1
elsif code == 3789
num = 1
elsif code == 3790
num = 100
elsif code == 3791
num = 1
elsif code == 3792
num = 1
elsif code == 3793
num = 1
elsif code == 3794
num = 100
elsif code == 3796
num = 1
elsif code == 3797
num = 100
elsif code == 3798
num = 1
elsif code == 3799
num = 100
elsif code == 3800
num = 100
elsif code == 3801
num = 1
elsif code == 3802
num = 1
elsif code == 3803
num = 1
elsif code == 3804
num = 100
elsif code == 3806
num = 1
elsif code == 3807
num = 1
elsif code == 3808
num = 1
elsif code == 3809
num = 1
elsif code == 3810
num = 1
elsif code == 3811
num = 1
elsif code == 3812
num = 1
elsif code == 3813
num = 1
elsif code == 3814
num = 1
elsif code == 3815
num = 1
elsif code == 3816
num = 100
elsif code == 3817
num = 100
elsif code == 3818
num = 1
elsif code == 3820
num = 100
elsif code == 3822
num = 100
elsif code == 3823
num = 1
elsif code == 3824
num = 1
elsif code == 3825
num = 1
elsif code == 3826
num = 1
elsif code == 3827
num = 1
elsif code == 3828
num = 1
elsif code == 3831
num = 10
elsif code == 3832
num = 1
elsif code == 3834
num = 1000
elsif code == 3835
num = 10
elsif code == 3836
num = 1
elsif code == 3837
num = 1000
elsif code == 3838
num = 1
elsif code == 3839
num = 1
elsif code == 3840
num = 1
elsif code == 3841
num = 1
elsif code == 3842
num = 1
elsif code == 3843
num = 1
elsif code == 3844
num = 1
elsif code == 3845
num = 1
elsif code == 3846
num = 1
elsif code == 3847
num = 100
elsif code == 3848
num = 1
elsif code == 3849
num = 1
elsif code == 3850
num = 1
elsif code == 3851
num = 1
elsif code == 3852
num = 100
elsif code == 3853
num = 1
elsif code == 3854
num = 1
elsif code == 3856
num = 1
elsif code == 3857
num = 100
elsif code == 3858
num = 1
elsif code == 3859
num = 1
elsif code == 3861
num = 1000
elsif code == 3864
num = 1000
elsif code == 3865
num = 1000
elsif code == 3872
num = 1000
elsif code == 3877
num = 1000
elsif code == 3878
num = 1000
elsif code == 3880
num = 1000
elsif code == 3881
num = 1000
elsif code == 3882
num = 1000
elsif code == 3890
num = 1000
elsif code == 3891
num = 1000
elsif code == 3892
num = 1000
elsif code == 3893
num = 1
elsif code == 3895
num = 1000
elsif code == 3941
num = 1000
elsif code == 3943
num = 1000
elsif code == 3944
num = 1000
elsif code == 3945
num = 1000
elsif code == 3946
num = 1000
elsif code == 3947
num = 1000
elsif code == 3948
num = 1000
elsif code == 3950
num = 100
elsif code == 3951
num = 100
elsif code == 3952
num = 1000
elsif code == 3953
num = 1000
elsif code == 3954
num = 1000
elsif code == 3955
num = 1000
elsif code == 3956
num = 100
elsif code == 3971
num = 100
elsif code == 4003
num = 1000
elsif code == 4004
num = 1000
elsif code == 4005
num = 1000
elsif code == 4007
num = 1000
elsif code == 4008
num = 1000
elsif code == 4021
num = 1000
elsif code == 4022
num = 1000
elsif code == 4023
num = 1000
elsif code == 4025
num = 1000
elsif code == 4026
num = 1000
elsif code == 4027
num = 1000
elsif code == 4028
num = 1000
elsif code == 4031
num = 1000
elsif code == 4033
num = 1000
elsif code == 4041
num = 1000
elsif code == 4042
num = 1000
elsif code == 4043
num = 1000
elsif code == 4044
num = 1000
elsif code == 4045
num = 1000
elsif code == 4046
num = 1000
elsif code == 4047
num = 1000
elsif code == 4061
num = 1000
elsif code == 4062
num = 100
elsif code == 4063
num = 100
elsif code == 4064
num = 1000
elsif code == 4065
num = 100
elsif code == 4078
num = 1000
elsif code == 4080
num = 100
elsif code == 4082
num = 100
elsif code == 4088
num = 1000
elsif code == 4091
num = 1000
elsif code == 4092
num = 1000
elsif code == 4093
num = 1000
elsif code == 4094
num = 1000
elsif code == 4095
num = 1000
elsif code == 4096
num = 1000
elsif code == 4097
num = 1000
elsif code == 4098
num = 1000
elsif code == 4099
num = 1000
elsif code == 4100
num = 1000
elsif code == 4102
num = 1000
elsif code == 4104
num = 1000
elsif code == 4105
num = 1000
elsif code == 4106
num = 1000
elsif code == 4107
num = 1000
elsif code == 4109
num = 100
elsif code == 4112
num = 1000
elsif code == 4113
num = 1000
elsif code == 4114
num = 1000
elsif code == 4115
num = 1000
elsif code == 4116
num = 1000
elsif code == 4117
num = 1000
elsif code == 4118
num = 1000
elsif code == 4119
num = 1000
elsif code == 4120
num = 1000
elsif code == 4123
num = 1000
elsif code == 4151
num = 1000
elsif code == 4182
num = 1000
elsif code == 4183
num = 1000
elsif code == 4185
num = 100
elsif code == 4186
num = 100
elsif code == 4187
num = 100
elsif code == 4188
num = 500
elsif code == 4201
num = 1000
elsif code == 4202
num = 1000
elsif code == 4203
num = 1000
elsif code == 4204
num = 1000
elsif code == 4205
num = 1000
elsif code == 4206
num = 100
elsif code == 4208
num = 1000
elsif code == 4212
num = 1000
elsif code == 4213
num = 1000
elsif code == 4214
num = 1000
elsif code == 4215
num = 1000
elsif code == 4216
num = 1000
elsif code == 4217
num = 100
elsif code == 4218
num = 1000
elsif code == 4220
num = 1000
elsif code == 4221
num = 1000
elsif code == 4222
num = 1000
elsif code == 4224
num = 1000
elsif code == 4225
num = 1000
elsif code == 4226
num = 1000
elsif code == 4228
num = 1000
elsif code == 4229
num = 1000
elsif code == 4231
num = 100
elsif code == 4233
num = 1000
elsif code == 4234
num = 100
elsif code == 4235
num = 1000
elsif code == 4236
num = 100
elsif code == 4237
num = 100
elsif code == 4238
num = 100
elsif code == 4239
num = 1
elsif code == 4240
num = 1
elsif code == 4241
num = 100
elsif code == 4242
num = 1000
elsif code == 4243
num = 100
elsif code == 4244
num = 1000
elsif code == 4271
num = 100
elsif code == 4272
num = 1000
elsif code == 4274
num = 1000
elsif code == 4280
num = 100
elsif code == 4281
num = 1
elsif code == 4282
num = 1
elsif code == 4283
num = 100
elsif code == 4284
num = 100
elsif code == 4286
num = 1
elsif code == 4287
num = 1
elsif code == 4288
num = 1
elsif code == 4289
num = 1
elsif code == 4290
num = 1
elsif code == 4291
num = 1
elsif code == 4293
num = 1
elsif code == 4295
num = 1
elsif code == 4296
num = 1
elsif code == 4297
num = 1
elsif code == 4298
num = 100
elsif code == 4299
num = 100
elsif code == 4300
num = 1
elsif code == 4301
num = 100
elsif code == 4302
num = 1
elsif code == 4304
num = 1
elsif code == 4305
num = 1
elsif code == 4306
num = 1
elsif code == 4307
num = 100
elsif code == 4308
num = 1
elsif code == 4309
num = 1
elsif code == 4310
num = 1
elsif code == 4311
num = 1
elsif code == 4312
num = 1
elsif code == 4313
num = 1
elsif code == 4314
num = 1
elsif code == 4315
num = 100
elsif code == 4316
num = 1
elsif code == 4317
num = 100
elsif code == 4318
num = 1000
elsif code == 4319
num = 100
elsif code == 4320
num = 1
elsif code == 4321
num = 1
elsif code == 4322
num = 1
elsif code == 4323
num = 100
elsif code == 4324
num = 1
elsif code == 4325
num = 1
elsif code == 4326
num = 100
elsif code == 4327
num = 1
elsif code == 4329
num = 1
elsif code == 4330
num = 1
elsif code == 4331
num = 1
elsif code == 4332
num = 1
elsif code == 4333
num = 100
elsif code == 4334
num = 100
elsif code == 4335
num = 1
elsif code == 4336
num = 1
elsif code == 4337
num = 100
elsif code == 4339
num = 1
elsif code == 4340
num = 1
elsif code == 4341
num = 1000
elsif code == 4342
num = 100
elsif code == 4343
num = 100
elsif code == 4344
num = 1
elsif code == 4345
num = 1
elsif code == 4346
num = 1
elsif code == 4347
num = 100
elsif code == 4348
num = 1
elsif code == 4349
num = 1000
elsif code == 4350
num = 1
elsif code == 4351
num = 100
elsif code == 4352
num = 1
elsif code == 4355
num = 1
elsif code == 4356
num = 1
elsif code == 4357
num = 1
elsif code == 4358
num = 500
elsif code == 4359
num = 1
elsif code == 4361
num = 1000
elsif code == 4362
num = 1000
elsif code == 4364
num = 1000
elsif code == 4365
num = 500
elsif code == 4366
num = 1000
elsif code == 4367
num = 1000
elsif code == 4368
num = 100
elsif code == 4369
num = 100
elsif code == 4401
num = 1000
elsif code == 4403
num = 1000
elsif code == 4404
num = 1000
elsif code == 4406
num = 1000
elsif code == 4409
num = 1000
elsif code == 4410
num = 1000
elsif code == 4452
num = 1000
elsif code == 4461
num = 1000
elsif code == 4462
num = 100
elsif code == 4463
num = 1000
elsif code == 4464
num = 100
elsif code == 4465
num = 100
elsif code == 4471
num = 1000
elsif code == 4502
num = 100
elsif code == 4503
num = 100
elsif code == 4506
num = 1000
elsif code == 4507
num = 1000
elsif code == 4508
num = 1000
elsif code == 4512
num = 1000
elsif code == 4514
num = 1000
elsif code == 4516
num = 1000
elsif code == 4517
num = 100
elsif code == 4518
num = 1000
elsif code == 4519
num = 100
elsif code == 4520
num = 100
elsif code == 4521
num = 1000
elsif code == 4523
num = 100
elsif code == 4524
num = 1000
elsif code == 4526
num = 100
elsif code == 4527
num = 1000
elsif code == 4528
num = 100
elsif code == 4529
num = 1000
elsif code == 4530
num = 100
elsif code == 4531
num = 1000
elsif code == 4534
num = 1000
elsif code == 4535
num = 1000
elsif code == 4536
num = 100
elsif code == 4537
num = 1000
elsif code == 4538
num = 1000
elsif code == 4539
num = 1000
elsif code == 4540
num = 1000
elsif code == 4541
num = 1000
elsif code == 4542
num = 1000
elsif code == 4543
num = 100
elsif code == 4544
num = 100
elsif code == 4547
num = 1000
elsif code == 4548
num = 100
elsif code == 4549
num = 1000
elsif code == 4550
num = 1000
elsif code == 4551
num = 100
elsif code == 4552
num = 1000
elsif code == 4553
num = 100
elsif code == 4554
num = 100
elsif code == 4555
num = 100
elsif code == 4556
num = 1000
elsif code == 4557
num = 1000
elsif code == 4558
num = 500
elsif code == 4559
num = 1000
elsif code == 4561
num = 100
elsif code == 4563
num = 1
elsif code == 4564
num = 1
elsif code == 4565
num = 1
elsif code == 4566
num = 1
elsif code == 4567
num = 1
elsif code == 4568
num = 100
elsif code == 4569
num = 1
elsif code == 4570
num = 10
elsif code == 4571
num = 1
elsif code == 4572
num = 1
elsif code == 4573
num = 1
elsif code == 4611
num = 1000
elsif code == 4612
num = 1000
elsif code == 4613
num = 1000
elsif code == 4614
num = 1000
elsif code == 4615
num = 1000
elsif code == 4616
num = 1000
elsif code == 4617
num = 1000
elsif code == 4619
num = 1000
elsif code == 4620
num = 1000
elsif code == 4621
num = 1000
elsif code == 4622
num = 100
elsif code == 4623
num = 1000
elsif code == 4624
num = 1000
elsif code == 4625
num = 1000
elsif code == 4626
num = 100
elsif code == 4627
num = 100
elsif code == 4628
num = 1000
elsif code == 4629
num = 1000
elsif code == 4631
num = 1000
elsif code == 4633
num = 1000
elsif code == 4634
num = 1000
elsif code == 4635
num = 1000
elsif code == 4636
num = 100
elsif code == 4640
num = 1000
elsif code == 4641
num = 100
elsif code == 4642
num = 500
elsif code == 4644
num = 100
elsif code == 4645
num = 1000
elsif code == 4649
num = 500
elsif code == 4650
num = 100
elsif code == 4651
num = 100
elsif code == 4652
num = 100
elsif code == 4653
num = 100
elsif code == 4654
num = 1000
elsif code == 4655
num = 1000
elsif code == 4656
num = 100
elsif code == 4657
num = 100
elsif code == 4658
num = 100
elsif code == 4659
num = 100
elsif code == 4661
num = 100
elsif code == 4662
num = 100
elsif code == 4663
num = 1
elsif code == 4664
num = 1000
elsif code == 4665
num = 100
elsif code == 4666
num = 100
elsif code == 4667
num = 100
elsif code == 4668
num = 1000
elsif code == 4669
num = 1000
elsif code == 4670
num = 1000
elsif code == 4671
num = 100
elsif code == 4672
num = 1000
elsif code == 4673
num = 1000
elsif code == 4674
num = 100
elsif code == 4675
num = 1000
elsif code == 4676
num = 1
elsif code == 4678
num = 100
elsif code == 4679
num = 100
elsif code == 4680
num = 1
elsif code == 4681
num = 100
elsif code == 4682
num = 100
elsif code == 4683
num = 1000
elsif code == 4684
num = 50
elsif code == 4685
num = 1000
elsif code == 4686
num = 100
elsif code == 4687
num = 100
elsif code == 4689
num = 1
elsif code == 4690
num = 1000
elsif code == 4692
num = 100
elsif code == 4694
num = 100
elsif code == 4695
num = 100
elsif code == 4696
num = 100
elsif code == 4699
num = 1000
elsif code == 4700
num = 1
elsif code == 4701
num = 1000
elsif code == 4704
num = 500
elsif code == 4705
num = 100
elsif code == 4707
num = 100
elsif code == 4708
num = 50
elsif code == 4709
num = 100
elsif code == 4711
num = 100
elsif code == 4712
num = 1000
elsif code == 4713
num = 100
elsif code == 4714
num = 1
elsif code == 4716
num = 100
elsif code == 4718
num = 100
elsif code == 4719
num = 100
elsif code == 4720
num = 1000
elsif code == 4721
num = 100
elsif code == 4722
num = 1
elsif code == 4723
num = 1
elsif code == 4724
num = 100
elsif code == 4725
num = 100
elsif code == 4726
num = 500
elsif code == 4727
num = 100
elsif code == 4728
num = 100
elsif code == 4731
num = 1
elsif code == 4732
num = 10
elsif code == 4733
num = 50
elsif code == 4734
num = 1000
elsif code == 4735
num = 100
elsif code == 4736
num = 1000
elsif code == 4738
num = 100
elsif code == 4739
num = 100
elsif code == 4740
num = 100
elsif code == 4741
num = 1
elsif code == 4742
num = 1
elsif code == 4743
num = 100
elsif code == 4744
num = 1
elsif code == 4745
num = 100
elsif code == 4746
num = 100
elsif code == 4747
num = 1
elsif code == 4748
num = 100
elsif code == 4749
num = 1000
elsif code == 4750
num = 1000
elsif code == 4751
num = 1
elsif code == 4752
num = 1000
elsif code == 4754
num = 1000
elsif code == 4755
num = 1
elsif code == 4756
num = 100
elsif code == 4757
num = 1
elsif code == 4760
num = 1000
elsif code == 4761
num = 100
elsif code == 4762
num = 1
elsif code == 4763
num = 1
elsif code == 4764
num = 1
elsif code == 4765
num = 1
elsif code == 4766
num = 1000
elsif code == 4767
num = 100
elsif code == 4768
num = 100
elsif code == 4769
num = 100
elsif code == 4770
num = 100
elsif code == 4771
num = 1
elsif code == 4772
num = 1000
elsif code == 4773
num = 100
elsif code == 4775
num = 100
elsif code == 4776
num = 1
elsif code == 4777
num = 1
elsif code == 4778
num = 1
elsif code == 4779
num = 1
elsif code == 4781
num = 100
elsif code == 4782
num = 100
elsif code == 4783
num = 1000
elsif code == 4784
num = 1
elsif code == 4787
num = 1
elsif code == 4788
num = 1
elsif code == 4789
num = 1000
elsif code == 4790
num = 1000
elsif code == 4792
num = 1
elsif code == 4793
num = 100
elsif code == 4794
num = 1
elsif code == 4795
num = 1
elsif code == 4797
num = 1
elsif code == 4798
num = 100
elsif code == 4799
num = 100
elsif code == 4800
num = 1
elsif code == 4801
num = 100
elsif code == 4809
num = 1
elsif code == 4812
num = 100
elsif code == 4813
num = 1
elsif code == 4814
num = 1
elsif code == 4815
num = 1
elsif code == 4816
num = 100
elsif code == 4817
num = 1
elsif code == 4819
num = 1
elsif code == 4820
num = 100
elsif code == 4821
num = 1
elsif code == 4822
num = 100
elsif code == 4823
num = 1
elsif code == 4824
num = 1
elsif code == 4825
num = 100
elsif code == 4826
num = 100
elsif code == 4827
num = 1
elsif code == 4828
num = 100
elsif code == 4829
num = 1
elsif code == 4830
num = 10
elsif code == 4831
num = 1
elsif code == 4832
num = 1
elsif code == 4833
num = 1
elsif code == 4834
num = 1
elsif code == 4835
num = 1
elsif code == 4837
num = 1
elsif code == 4838
num = 1
elsif code == 4839
num = 1
elsif code == 4840
num = 1
elsif code == 4841
num = 1
elsif code == 4842
num = 10
elsif code == 4843
num = 100
elsif code == 4845
num = 1
elsif code == 4846
num = 100
elsif code == 4847
num = 1
elsif code == 4848
num = 1
elsif code == 4849
num = 1
elsif code == 4850
num = 10
elsif code == 4863
num = 50
elsif code == 4875
num = 1000
elsif code == 4901
num = 100
elsif code == 4902
num = 100
elsif code == 4911
num = 1000
elsif code == 4912
num = 1000
elsif code == 4913
num = 1000
elsif code == 4914
num = 1000
elsif code == 4915
num = 1000
elsif code == 4916
num = 100
elsif code == 4917
num = 100
elsif code == 4918
num = 1000
elsif code == 4919
num = 100
elsif code == 4920
num = 1000
elsif code == 4921
num = 100
elsif code == 4922
num = 100
elsif code == 4923
num = 500
elsif code == 4924
num = 1
elsif code == 4925
num = 100
elsif code == 4951
num = 100
elsif code == 4953
num = 1000
elsif code == 4954
num = 1000
elsif code == 4955
num = 1000
elsif code == 4956
num = 100
elsif code == 4957
num = 100
elsif code == 4958
num = 100
elsif code == 4960
num = 1000
elsif code == 4961
num = 1000
elsif code == 4962
num = 1000
elsif code == 4963
num = 100
elsif code == 4965
num = 1000
elsif code == 4966
num = 1000
elsif code == 4967
num = 100
elsif code == 4968
num = 100
elsif code == 4970
num = 100
elsif code == 4971
num = 100
elsif code == 4972
num = 100
elsif code == 4973
num = 1
elsif code == 4974
num = 1
elsif code == 4975
num = 100
elsif code == 4976
num = 100
elsif code == 4985
num = 100
elsif code == 4987
num = 100
elsif code == 4989
num = 1000
elsif code == 4990
num = 1000
elsif code == 4992
num = 1000
elsif code == 4994
num = 100
elsif code == 4995
num = 1000
elsif code == 4996
num = 1000
elsif code == 4997
num = 1000
elsif code == 4998
num = 1000
elsif code == 4999
num = 1000
elsif code == 5001
num = 1000
elsif code == 5002
num = 100
elsif code == 5007
num = 1000
elsif code == 5008
num = 1000
elsif code == 5009
num = 1000
elsif code == 5010
num = 1000
elsif code == 5011
num = 1000
elsif code == 5012
num = 1000
elsif code == 5013
num = 100
elsif code == 5015
num = 100
elsif code == 5016
num = 500
elsif code == 5017
num = 100
elsif code == 5018
num = 100
elsif code == 5019
num = 100
elsif code == 5101
num = 1000
elsif code == 5102
num = 1000
elsif code == 5103
num = 1000
elsif code == 5104
num = 1000
elsif code == 5105
num = 1000
elsif code == 5108
num = 1000
elsif code == 5110
num = 1000
elsif code == 5121
num = 1000
elsif code == 5122
num = 1000
elsif code == 5142
num = 1000
elsif code == 5161
num = 1000
elsif code == 5162
num = 500
elsif code == 5184
num = 1000
elsif code == 5185
num = 100
elsif code == 5186
num = 100
elsif code == 5187
num = 100
elsif code == 5188
num = 1000
elsif code == 5189
num = 1000
elsif code == 5191
num = 100
elsif code == 5192
num = 1000
elsif code == 5194
num = 1000
elsif code == 5195
num = 1000
elsif code == 5196
num = 1000
elsif code == 5199
num = 1000
elsif code == 5201
num = 1000
elsif code == 5202
num = 1000
elsif code == 5204
num = 1000
elsif code == 5208
num = 100
elsif code == 5210
num = 1000
elsif code == 5212
num = 1000
elsif code == 5213
num = 1000
elsif code == 5214
num = 1000
elsif code == 5216
num = 100
elsif code == 5217
num = 1000
elsif code == 5218
num = 100
elsif code == 5232
num = 1000
elsif code == 5233
num = 1000
elsif code == 5234
num = 1000
elsif code == 5237
num = 1000
elsif code == 5261
num = 1000
elsif code == 5262
num = 1000
elsif code == 5267
num = 1000
elsif code == 5268
num = 1000
elsif code == 5269
num = 1000
elsif code == 5271
num = 1000
elsif code == 5273
num = 1000
elsif code == 5274
num = 1000
elsif code == 5276
num = 1000
elsif code == 5277
num = 100
elsif code == 5278
num = 1000
elsif code == 5279
num = 1000
elsif code == 5280
num = 1000
elsif code == 5281
num = 1000
elsif code == 5282
num = 1000
elsif code == 5283
num = 1000
elsif code == 5284
num = 1000
elsif code == 5285
num = 1000
elsif code == 5286
num = 1000
elsif code == 5287
num = 1000
elsif code == 5288
num = 1000
elsif code == 5301
num = 1000
elsif code == 5302
num = 1000
elsif code == 5304
num = 1000
elsif code == 5310
num = 100
elsif code == 5331
num = 1000
elsif code == 5332
num = 1000
elsif code == 5333
num = 1000
elsif code == 5334
num = 1000
elsif code == 5335
num = 1000
elsif code == 5337
num = 1000
elsif code == 5341
num = 1000
elsif code == 5342
num = 1000
elsif code == 5343
num = 1000
elsif code == 5344
num = 100
elsif code == 5345
num = 1
elsif code == 5351
num = 1000
elsif code == 5352
num = 1000
elsif code == 5355
num = 1000
elsif code == 5356
num = 1000
elsif code == 5357
num = 1000
elsif code == 5358
num = 1000
elsif code == 5361
num = 1000
elsif code == 5362
num = 1000
elsif code == 5363
num = 1000
elsif code == 5367
num = 1000
elsif code == 5380
num = 1000
elsif code == 5381
num = 100
elsif code == 5383
num = 1000
elsif code == 5384
num = 100
elsif code == 5386
num = 100
elsif code == 5387
num = 100
elsif code == 5388
num = 1000
elsif code == 5389
num = 1000
elsif code == 5390
num = 1000
elsif code == 5391
num = 1000
elsif code == 5393
num = 1000
elsif code == 5395
num = 1000
elsif code == 5397
num = 1000
elsif code == 5398
num = 1000
elsif code == 5401
num = 1000
elsif code == 5405
num = 1000
elsif code == 5406
num = 1000
elsif code == 5407
num = 1000
elsif code == 5408
num = 1000
elsif code == 5410
num = 1000
elsif code == 5411
num = 100
elsif code == 5412
num = 10
elsif code == 5423
num = 100
elsif code == 5440
num = 100
elsif code == 5444
num = 100
elsif code == 5445
num = 1000
elsif code == 5446
num = 1000
elsif code == 5448
num = 1000
elsif code == 5449
num = 100
elsif code == 5450
num = 1000
elsif code == 5451
num = 1000
elsif code == 5453
num = 1000
elsif code == 5456
num = 1
elsif code == 5457
num = 1000
elsif code == 5458
num = 1000
elsif code == 5461
num = 100
elsif code == 5463
num = 100
elsif code == 5464
num = 1000
elsif code == 5471
num = 1000
elsif code == 5476
num = 1000
elsif code == 5479
num = 1000
elsif code == 5480
num = 500
elsif code == 5481
num = 1000
elsif code == 5482
num = 1000
elsif code == 5484
num = 1000
elsif code == 5486
num = 1000
elsif code == 5491
num = 1000
elsif code == 5541
num = 1000
elsif code == 5542
num = 100
elsif code == 5563
num = 1000
elsif code == 5566
num = 1000
elsif code == 5602
num = 1000
elsif code == 5603
num = 1000
elsif code == 5605
num = 1000
elsif code == 5606
num = 1000
elsif code == 5607
num = 1000
elsif code == 5608
num = 1000
elsif code == 5609
num = 1000
elsif code == 5610
num = 1000
elsif code == 5612
num = 1000
elsif code == 5613
num = 1000
elsif code == 5614
num = 100
elsif code == 5631
num = 1000
elsif code == 5632
num = 1000
elsif code == 5641
num = 1000
elsif code == 5644
num = 1000
elsif code == 5645
num = 1000
elsif code == 5657
num = 1000
elsif code == 5658
num = 1000
elsif code == 5659
num = 1000
elsif code == 5660
num = 1000
elsif code == 5695
num = 1000
elsif code == 5697
num = 1000
elsif code == 5701
num = 1000
elsif code == 5702
num = 1000
elsif code == 5706
num = 1000
elsif code == 5707
num = 1000
elsif code == 5711
num = 1000
elsif code == 5713
num = 1000
elsif code == 5714
num = 1000
elsif code == 5715
num = 1000
elsif code == 5721
num = 1000
elsif code == 5726
num = 100
elsif code == 5727
num = 100
elsif code == 5729
num = 1000
elsif code == 5738
num = 1000
elsif code == 5739
num = 1000
elsif code == 5741
num = 1000
elsif code == 5742
num = 1
elsif code == 5753
num = 1000
elsif code == 5756
num = 100
elsif code == 5757
num = 1000
elsif code == 5758
num = 100
elsif code == 5771
num = 1000
elsif code == 5781
num = 1000
elsif code == 5801
num = 1000
elsif code == 5802
num = 100
elsif code == 5803
num = 1000
elsif code == 5804
num = 1000
elsif code == 5805
num = 1000
elsif code == 5807
num = 1000
elsif code == 5808
num = 1000
elsif code == 5809
num = 1000
elsif code == 5811
num = 1000
elsif code == 5812
num = 1000
elsif code == 5815
num = 1000
elsif code == 5816
num = 1000
elsif code == 5817
num = 1000
elsif code == 5819
num = 100
elsif code == 5820
num = 1000
elsif code == 5821
num = 100
elsif code == 5851
num = 1000
elsif code == 5852
num = 100
elsif code == 5855
num = 100
elsif code == 5856
num = 1000
elsif code == 5900
num = 1000
elsif code == 5901
num = 100
elsif code == 5902
num = 1000
elsif code == 5903
num = 100
elsif code == 5905
num = 1000
elsif code == 5906
num = 1000
elsif code == 5907
num = 1000
elsif code == 5908
num = 1000
elsif code == 5909
num = 100
elsif code == 5911
num = 1000
elsif code == 5912
num = 1000
elsif code == 5913
num = 1000
elsif code == 5915
num = 1000
elsif code == 5916
num = 1000
elsif code == 5917
num = 1000
elsif code == 5918
num = 1000
elsif code == 5919
num = 1000
elsif code == 5921
num = 1000
elsif code == 5922
num = 1000
elsif code == 5923
num = 1000
elsif code == 5928
num = 500
elsif code == 5929
num = 1000
elsif code == 5930
num = 1000
elsif code == 5931
num = 1000
elsif code == 5933
num = 1000
elsif code == 5934
num = 1000
elsif code == 5935
num = 1000
elsif code == 5936
num = 1000
elsif code == 5938
num = 100
elsif code == 5939
num = 1000
elsif code == 5940
num = 100
elsif code == 5941
num = 100
elsif code == 5942
num = 100
elsif code == 5943
num = 100
elsif code == 5944
num = 1000
elsif code == 5945
num = 1000
elsif code == 5946
num = 100
elsif code == 5947
num = 100
elsif code == 5949
num = 100
elsif code == 5950
num = 1000
elsif code == 5951
num = 100
elsif code == 5952
num = 1000
elsif code == 5953
num = 1000
elsif code == 5954
num = 1000
elsif code == 5955
num = 100
elsif code == 5956
num = 1000
elsif code == 5957
num = 1000
elsif code == 5958
num = 1000
elsif code == 5959
num = 1000
elsif code == 5962
num = 1000
elsif code == 5963
num = 100
elsif code == 5964
num = 1000
elsif code == 5965
num = 100
elsif code == 5966
num = 1000
elsif code == 5967
num = 1000
elsif code == 5969
num = 1000
elsif code == 5970
num = 1000
elsif code == 5971
num = 1000
elsif code == 5973
num = 100
elsif code == 5974
num = 1000
elsif code == 5975
num = 100
elsif code == 5976
num = 100
elsif code == 5977
num = 100
elsif code == 5979
num = 1000
elsif code == 5980
num = 1000
elsif code == 5981
num = 1000
elsif code == 5982
num = 1000
elsif code == 5983
num = 1000
elsif code == 5984
num = 500
elsif code == 5985
num = 1000
elsif code == 5986
num = 1000
elsif code == 5987
num = 1000
elsif code == 5988
num = 100
elsif code == 5989
num = 1000
elsif code == 5990
num = 1000
elsif code == 5991
num = 1000
elsif code == 5992
num = 1000
elsif code == 5993
num = 1000
elsif code == 5994
num = 1000
elsif code == 5995
num = 1000
elsif code == 5996
num = 100
elsif code == 5997
num = 100
elsif code == 5998
num = 1000
elsif code == 5999
num = 1000
elsif code == 6005
num = 100
elsif code == 6013
num = 1000
elsif code == 6016
num = 1000
elsif code == 6018
num = 1000
elsif code == 6021
num = 1000
elsif code == 6022
num = 1000
elsif code == 6023
num = 1000
elsif code == 6041
num = 1000
elsif code == 6042
num = 1000
elsif code == 6101
num = 1000
elsif code == 6103
num = 1000
elsif code == 6104
num = 1000
elsif code == 6111
num = 1000
elsif code == 6112
num = 1000
elsif code == 6113
num = 1000
elsif code == 6118
num = 1000
elsif code == 6121
num = 1000
elsif code == 6125
num = 1000
elsif code == 6130
num = 1000
elsif code == 6131
num = 1000
elsif code == 6134
num = 100
elsif code == 6135
num = 1000
elsif code == 6136
num = 1000
elsif code == 6137
num = 1000
elsif code == 6138
num = 1000
elsif code == 6140
num = 1000
elsif code == 6141
num = 100
elsif code == 6142
num = 1000
elsif code == 6143
num = 100
elsif code == 6144
num = 1000
elsif code == 6145
num = 500
elsif code == 6146
num = 100
elsif code == 6147
num = 1000
elsif code == 6149
num = 500
elsif code == 6150
num = 1000
elsif code == 6151
num = 100
elsif code == 6155
num = 100
elsif code == 6156
num = 1
elsif code == 6157
num = 100
elsif code == 6158
num = 100
elsif code == 6159
num = 100
elsif code == 6160
num = 1
elsif code == 6161
num = 1
elsif code == 6162
num = 1000
elsif code == 6163
num = 100
elsif code == 6164
num = 100
elsif code == 6201
num = 100
elsif code == 6203
num = 1000
elsif code == 6205
num = 1000
elsif code == 6208
num = 1000
elsif code == 6210
num = 100
elsif code == 6211
num = 1000
elsif code == 6213
num = 1000
elsif code == 6217
num = 1000
elsif code == 6218
num = 1000
elsif code == 6222
num = 100
elsif code == 6242
num = 1000
elsif code == 6245
num = 1000
elsif code == 6246
num = 1000
elsif code == 6247
num = 1000
elsif code == 6252
num = 1000
elsif code == 6254
num = 1000
elsif code == 6255
num = 100
elsif code == 6256
num = 1
elsif code == 6257
num = 1
elsif code == 6258
num = 100
elsif code == 6259
num = 1
elsif code == 6260
num = 100
elsif code == 6261
num = 1
elsif code == 6262
num = 1000
elsif code == 6263
num = 1
elsif code == 6264
num = 1
elsif code == 6265
num = 1000
elsif code == 6266
num = 100
elsif code == 6267
num = 1000
elsif code == 6268
num = 1000
elsif code == 6269
num = 100
elsif code == 6271
num = 100
elsif code == 6272
num = 1000
elsif code == 6273
num = 100
elsif code == 6274
num = 100
elsif code == 6276
num = 1000
elsif code == 6277
num = 1000
elsif code == 6278
num = 100
elsif code == 6279
num = 100
elsif code == 6280
num = 1000
elsif code == 6281
num = 1000
elsif code == 6282
num = 100
elsif code == 6284
num = 1000
elsif code == 6286
num = 1000
elsif code == 6287
num = 100
elsif code == 6289
num = 1000
elsif code == 6290
num = 100
elsif code == 6291
num = 100
elsif code == 6292
num = 1000
elsif code == 6293
num = 100
elsif code == 6294
num = 1000
elsif code == 6295
num = 100
elsif code == 6297
num = 100
elsif code == 6298
num = 100
elsif code == 6299
num = 1000
elsif code == 6300
num = 1000
elsif code == 6301
num = 1000
elsif code == 6302
num = 1000
elsif code == 6303
num = 1000
elsif code == 6304
num = 100
elsif code == 6305
num = 100
elsif code == 6306
num = 1000
elsif code == 6307
num = 1000
elsif code == 6309
num = 100
elsif code == 6310
num = 1000
elsif code == 6312
num = 100
elsif code == 6313
num = 1000
elsif code == 6314
num = 100
elsif code == 6315
num = 100
elsif code == 6316
num = 1000
elsif code == 6317
num = 1000
elsif code == 6319
num = 100
elsif code == 6320
num = 1000
elsif code == 6321
num = 1000
elsif code == 6322
num = 1000
elsif code == 6323
num = 100
elsif code == 6324
num = 1
elsif code == 6325
num = 1000
elsif code == 6326
num = 1000
elsif code == 6327
num = 100
elsif code == 6328
num = 100
elsif code == 6330
num = 1000
elsif code == 6331
num = 1000
elsif code == 6332
num = 1000
elsif code == 6333
num = 100
elsif code == 6334
num = 1000
elsif code == 6335
num = 1000
elsif code == 6336
num = 100
elsif code == 6337
num = 100
elsif code == 6338
num = 100
elsif code == 6339
num = 1000
elsif code == 6340
num = 100
elsif code == 6342
num = 1000
elsif code == 6343
num = 1000
elsif code == 6344
num = 100
elsif code == 6345
num = 100
elsif code == 6346
num = 1000
elsif code == 6347
num = 1000
elsif code == 6349
num = 1000
elsif code == 6351
num = 1000
elsif code == 6352
num = 1000
elsif code == 6355
num = 1000
elsif code == 6356
num = 1000
elsif code == 6357
num = 500
elsif code == 6358
num = 1000
elsif code == 6360
num = 1000
elsif code == 6361
num = 1000
elsif code == 6362
num = 1000
elsif code == 6363
num = 1000
elsif code == 6364
num = 1000
elsif code == 6365
num = 100
elsif code == 6366
num = 1000
elsif code == 6367
num = 100
elsif code == 6368
num = 1000
elsif code == 6369
num = 1000
elsif code == 6370
num = 100
elsif code == 6371
num = 1000
elsif code == 6372
num = 1000
elsif code == 6373
num = 1000
elsif code == 6374
num = 1000
elsif code == 6375
num = 1000
elsif code == 6376
num = 1000
elsif code == 6378
num = 1000
elsif code == 6379
num = 1000
elsif code == 6380
num = 1000
elsif code == 6381
num = 1000
elsif code == 6382
num = 1000
elsif code == 6383
num = 500
elsif code == 6384
num = 100
elsif code == 6386
num = 100
elsif code == 6387
num = 100
elsif code == 6390
num = 1000
elsif code == 6391
num = 1000
elsif code == 6392
num = 1000
elsif code == 6393
num = 1000
elsif code == 6395
num = 1000
elsif code == 6396
num = 1000
elsif code == 6397
num = 1000
elsif code == 6400
num = 100
elsif code == 6401
num = 1
elsif code == 6402
num = 1000
elsif code == 6403
num = 1000
elsif code == 6405
num = 100
elsif code == 6406
num = 1000
elsif code == 6407
num = 1000
elsif code == 6408
num = 1000
elsif code == 6409
num = 1
elsif code == 6411
num = 100
elsif code == 6412
num = 100
elsif code == 6413
num = 100
elsif code == 6414
num = 1000
elsif code == 6415
num = 100
elsif code == 6416
num = 1000
elsif code == 6417
num = 100
elsif code == 6418
num = 100
elsif code == 6419
num = 100
elsif code == 6420
num = 100
elsif code == 6421
num = 100
elsif code == 6423
num = 100
elsif code == 6424
num = 1000
elsif code == 6425
num = 100
elsif code == 6428
num = 100
elsif code == 6429
num = 1000
elsif code == 6430
num = 100
elsif code == 6432
num = 100
elsif code == 6433
num = 1000
elsif code == 6436
num = 100
elsif code == 6437
num = 1000
elsif code == 6439
num = 1000
elsif code == 6440
num = 1000
elsif code == 6443
num = 1000
elsif code == 6444
num = 1000
elsif code == 6445
num = 1000
elsif code == 6448
num = 1000
elsif code == 6453
num = 1000
elsif code == 6454
num = 1000
elsif code == 6455
num = 1000
elsif code == 6457
num = 100
elsif code == 6458
num = 1000
elsif code == 6459
num = 1000
elsif code == 6460
num = 100
elsif code == 6461
num = 1000
elsif code == 6462
num = 1000
elsif code == 6463
num = 100
elsif code == 6466
num = 1
elsif code == 6467
num = 100
elsif code == 6469
num = 100
elsif code == 6470
num = 100
elsif code == 6471
num = 1000
elsif code == 6472
num = 1000
elsif code == 6473
num = 100
elsif code == 6474
num = 1000
elsif code == 6475
num = 1000
elsif code == 6476
num = 1000
elsif code == 6477
num = 100
elsif code == 6478
num = 1000
elsif code == 6479
num = 1000
elsif code == 6480
num = 1000
elsif code == 6481
num = 100
elsif code == 6482
num = 100
elsif code == 6483
num = 1000
elsif code == 6484
num = 1000
elsif code == 6485
num = 100
elsif code == 6486
num = 1000
elsif code == 6487
num = 1000
elsif code == 6488
num = 1000
elsif code == 6489
num = 100
elsif code == 6490
num = 1000
elsif code == 6492
num = 1000
elsif code == 6493
num = 100
elsif code == 6494
num = 100
elsif code == 6495
num = 100
elsif code == 6496
num = 1000
elsif code == 6497
num = 1000
elsif code == 6498
num = 1000
elsif code == 6501
num = 1000
elsif code == 6502
num = 1000
elsif code == 6503
num = 1000
elsif code == 6504
num = 1000
elsif code == 6505
num = 1000
elsif code == 6506
num = 1000
elsif code == 6507
num = 1000
elsif code == 6508
num = 1000
elsif code == 6513
num = 1000
elsif code == 6516
num = 1000
elsif code == 6517
num = 100
elsif code == 6518
num = 1000
elsif code == 6519
num = 100
elsif code == 6581
num = 1000
elsif code == 6584
num = 100
elsif code == 6585
num = 1000
elsif code == 6586
num = 100
elsif code == 6588
num = 1000
elsif code == 6590
num = 1000
elsif code == 6591
num = 1000
elsif code == 6592
num = 100
elsif code == 6593
num = 100
elsif code == 6594
num = 100
elsif code == 6621
num = 1000
elsif code == 6622
num = 1000
elsif code == 6623
num = 1000
elsif code == 6624
num = 1000
elsif code == 6632
num = 100
elsif code == 6633
num = 100
elsif code == 6634
num = 1
elsif code == 6635
num = 100
elsif code == 6636
num = 1
elsif code == 6637
num = 100
elsif code == 6638
num = 1
elsif code == 6639
num = 100
elsif code == 6640
num = 100
elsif code == 6641
num = 1000
elsif code == 6643
num = 1000
elsif code == 6644
num = 1000
elsif code == 6645
num = 100
elsif code == 6646
num = 1000
elsif code == 6647
num = 1000
elsif code == 6648
num = 1
elsif code == 6650
num = 1000
elsif code == 6651
num = 100
elsif code == 6652
num = 100
elsif code == 6653
num = 1000
elsif code == 6654
num = 100
elsif code == 6655
num = 1000
elsif code == 6656
num = 1
elsif code == 6657
num = 100
elsif code == 6658
num = 1000
elsif code == 6659
num = 1
elsif code == 6660
num = 1
elsif code == 6661
num = 1
elsif code == 6662
num = 1
elsif code == 6663
num = 100
elsif code == 6664
num = 100
elsif code == 6665
num = 100
elsif code == 6666
num = 1000
elsif code == 6667
num = 1
elsif code == 6668
num = 1
elsif code == 6669
num = 1
elsif code == 6670
num = 1
elsif code == 6671
num = 100
elsif code == 6672
num = 100
elsif code == 6674
num = 1000
elsif code == 6675
num = 1000
elsif code == 6676
num = 100
elsif code == 6677
num = 1
elsif code == 6678
num = 1
elsif code == 6679
num = 1
elsif code == 6687
num = 10
elsif code == 6701
num = 1000
elsif code == 6702
num = 1000
elsif code == 6703
num = 1000
elsif code == 6704
num = 1000
elsif code == 6706
num = 1000
elsif code == 6707
num = 1000
elsif code == 6708
num = 1000
elsif code == 6709
num = 1000
elsif code == 6715
num = 1000
elsif code == 6716
num = 1000
elsif code == 6717
num = 100
elsif code == 6718
num = 100
elsif code == 6719
num = 1
elsif code == 6720
num = 1000
elsif code == 6721
num = 1
elsif code == 6722
num = 1000
elsif code == 6723
num = 100
elsif code == 6724
num = 100
elsif code == 6726
num = 1
elsif code == 6727
num = 1
elsif code == 6728
num = 100
elsif code == 6729
num = 1000
elsif code == 6730
num = 1
elsif code == 6731
num = 100
elsif code == 6734
num = 100
elsif code == 6735
num = 1000
elsif code == 6736
num = 100
elsif code == 6737
num = 100
elsif code == 6738
num = 1000
elsif code == 6741
num = 1000
elsif code == 6742
num = 1000
elsif code == 6743
num = 1000
elsif code == 6744
num = 1000
elsif code == 6745
num = 1000
elsif code == 6747
num = 1000
elsif code == 6748
num = 1000
elsif code == 6749
num = 100
elsif code == 6750
num = 100
elsif code == 6751
num = 1000
elsif code == 6752
num = 1000
elsif code == 6753
num = 1000
elsif code == 6754
num = 1000
elsif code == 6755
num = 1000
elsif code == 6756
num = 1000
elsif code == 6757
num = 100
elsif code == 6758
num = 100
elsif code == 6759
num = 1000
elsif code == 6760
num = 500
elsif code == 6762
num = 100
elsif code == 6763
num = 1000
elsif code == 6764
num = 1000
elsif code == 6765
num = 1000
elsif code == 6766
num = 100
elsif code == 6767
num = 100
elsif code == 6768
num = 1000
elsif code == 6769
num = 1
elsif code == 6770
num = 100
elsif code == 6771
num = 1000
elsif code == 6772
num = 1000
elsif code == 6773
num = 100
elsif code == 6774
num = 1
elsif code == 6775
num = 1000
elsif code == 6776
num = 1000
elsif code == 6777
num = 100
elsif code == 6778
num = 1
elsif code == 6779
num = 100
elsif code == 6784
num = 1
elsif code == 6785
num = 100
elsif code == 6786
num = 1
elsif code == 6787
num = 100
elsif code == 6788
num = 50
elsif code == 6789
num = 100
elsif code == 6790
num = 1
elsif code == 6791
num = 1000
elsif code == 6792
num = 1000
elsif code == 6793
num = 1000
elsif code == 6794
num = 100
elsif code == 6796
num = 1000
elsif code == 6797
num = 1000
elsif code == 6798
num = 1000
elsif code == 6800
num = 100
elsif code == 6801
num = 1000
elsif code == 6803
num = 1000
elsif code == 6804
num = 100
elsif code == 6806
num = 100
elsif code == 6807
num = 1000
elsif code == 6809
num = 1000
elsif code == 6810
num = 100
elsif code == 6811
num = 1000
elsif code == 6812
num = 1000
elsif code == 6814
num = 1000
elsif code == 6815
num = 1000
elsif code == 6816
num = 100
elsif code == 6817
num = 100
elsif code == 6818
num = 100
elsif code == 6819
num = 100
elsif code == 6820
num = 100
elsif code == 6821
num = 100
elsif code == 6822
num = 1000
elsif code == 6823
num = 1000
elsif code == 6824
num = 100
elsif code == 6825
num = 100
elsif code == 6826
num = 100
elsif code == 6827
num = 100
elsif code == 6829
num = 1
elsif code == 6830
num = 1
elsif code == 6832
num = 100
elsif code == 6833
num = 100
elsif code == 6834
num = 100
elsif code == 6835
num = 100
elsif code == 6836
num = 1
elsif code == 6837
num = 1000
elsif code == 6838
num = 1000
elsif code == 6839
num = 100
elsif code == 6840
num = 1000
elsif code == 6841
num = 100
elsif code == 6842
num = 100
elsif code == 6844
num = 1000
elsif code == 6845
num = 100
elsif code == 6846
num = 1000
elsif code == 6848
num = 1000
elsif code == 6849
num = 100
elsif code == 6850
num = 1000
elsif code == 6852
num = 1000
elsif code == 6853
num = 1000
elsif code == 6855
num = 100
elsif code == 6856
num = 100
elsif code == 6857
num = 100
elsif code == 6858
num = 1000
elsif code == 6859
num = 100
elsif code == 6860
num = 100
elsif code == 6861
num = 100
elsif code == 6862
num = 1000
elsif code == 6863
num = 1000
elsif code == 6864
num = 1000
elsif code == 6866
num = 100
elsif code == 6867
num = 1000
elsif code == 6868
num = 100
elsif code == 6869
num = 100
elsif code == 6870
num = 100
elsif code == 6871
num = 100
elsif code == 6874
num = 100
elsif code == 6875
num = 100
elsif code == 6876
num = 100
elsif code == 6877
num = 100
elsif code == 6878
num = 1000
elsif code == 6879
num = 100
elsif code == 6881
num = 100
elsif code == 6882
num = 1000
elsif code == 6883
num = 100
elsif code == 6885
num = 100
elsif code == 6886
num = 100
elsif code == 6888
num = 1
elsif code == 6889
num = 100
elsif code == 6890
num = 100
elsif code == 6891
num = 1000
elsif code == 6893
num = 100
elsif code == 6894
num = 1000
elsif code == 6895
num = 1000
elsif code == 6896
num = 100
elsif code == 6897
num = 1000
elsif code == 6898
num = 1000
elsif code == 6899
num = 1000
elsif code == 6900
num = 100
elsif code == 6901
num = 1000
elsif code == 6902
num = 100
elsif code == 6904
num = 1000
elsif code == 6905
num = 100
elsif code == 6907
num = 100
elsif code == 6908
num = 1000
elsif code == 6910
num = 1000
elsif code == 6911
num = 1000
elsif code == 6912
num = 1000
elsif code == 6914
num = 100
elsif code == 6915
num = 100
elsif code == 6916
num = 100
elsif code == 6917
num = 100
elsif code == 6918
num = 1000
elsif code == 6919
num = 1000
elsif code == 6920
num = 100
elsif code == 6921
num = 1000
elsif code == 6922
num = 1000
elsif code == 6923
num = 100
elsif code == 6924
num = 1000
elsif code == 6925
num = 100
elsif code == 6926
num = 1000
elsif code == 6927
num = 100
elsif code == 6928
num = 1000
elsif code == 6929
num = 100
elsif code == 6930
num = 1000
elsif code == 6932
num = 1000
elsif code == 6934
num = 1000
elsif code == 6935
num = 100
elsif code == 6937
num = 1000
elsif code == 6938
num = 100
elsif code == 6939
num = 1
elsif code == 6941
num = 100
elsif code == 6942
num = 1000
elsif code == 6943
num = 1000
elsif code == 6944
num = 1000
elsif code == 6945
num = 100
elsif code == 6946
num = 1000
elsif code == 6947
num = 100
elsif code == 6948
num = 1000
elsif code == 6950
num = 1000
elsif code == 6951
num = 1000
elsif code == 6952
num = 100
elsif code == 6954
num = 100
elsif code == 6955
num = 1000
elsif code == 6956
num = 1000
elsif code == 6957
num = 100
elsif code == 6958
num = 100
elsif code == 6960
num = 100
elsif code == 6961
num = 100
elsif code == 6962
num = 1000
elsif code == 6963
num = 100
elsif code == 6964
num = 1000
elsif code == 6965
num = 100
elsif code == 6966
num = 100
elsif code == 6967
num = 100
elsif code == 6968
num = 1000
elsif code == 6969
num = 1000
elsif code == 6971
num = 100
elsif code == 6972
num = 1000
elsif code == 6973
num = 1000
elsif code == 6974
num = 100
elsif code == 6975
num = 1000
elsif code == 6976
num = 1000
elsif code == 6977
num = 1000
elsif code == 6981
num = 100
elsif code == 6982
num = 1000
elsif code == 6985
num = 1000
elsif code == 6986
num = 100
elsif code == 6988
num = 100
elsif code == 6989
num = 1000
elsif code == 6991
num = 1000
elsif code == 6992
num = 1000
elsif code == 6993
num = 1000
elsif code == 6994
num = 1000
elsif code == 6995
num = 100
elsif code == 6996
num = 100
elsif code == 6997
num = 1000
elsif code == 6998
num = 1000
elsif code == 6999
num = 100
elsif code == 7003
num = 1000
elsif code == 7004
num = 500
elsif code == 7007
num = 1000
elsif code == 7011
num = 1000
elsif code == 7012
num = 1000
elsif code == 7013
num = 1000
elsif code == 7014
num = 100
elsif code == 7018
num = 1000
elsif code == 7020
num = 1000
elsif code == 7021
num = 1000
elsif code == 7102
num = 1000
elsif code == 7105
num = 1000
elsif code == 7122
num = 1000
elsif code == 7201
num = 100
elsif code == 7202
num = 1000
elsif code == 7203
num = 100
elsif code == 7205
num = 1000
elsif code == 7208
num = 1000
elsif code == 7210
num = 1000
elsif code == 7211
num = 1000
elsif code == 7212
num = 100
elsif code == 7213
num = 1000
elsif code == 7214
num = 100
elsif code == 7215
num = 100
elsif code == 7217
num = 100
elsif code == 7218
num = 100
elsif code == 7219
num = 1000
elsif code == 7220
num = 100
elsif code == 7221
num = 100
elsif code == 7222
num = 1000
elsif code == 7223
num = 100
elsif code == 7224
num = 1000
elsif code == 7226
num = 100
elsif code == 7227
num = 1000
elsif code == 7228
num = 100
elsif code == 7229
num = 100
elsif code == 7230
num = 100
elsif code == 7231
num = 1000
elsif code == 7233
num = 1000
elsif code == 7235
num = 1000
elsif code == 7236
num = 1000
elsif code == 7238
num = 1000
elsif code == 7239
num = 100
elsif code == 7240
num = 100
elsif code == 7241
num = 100
elsif code == 7242
num = 1000
elsif code == 7243
num = 1000
elsif code == 7244
num = 1000
elsif code == 7245
num = 1000
elsif code == 7246
num = 1000
elsif code == 7247
num = 1000
elsif code == 7248
num = 1000
elsif code == 7249
num = 1000
elsif code == 7250
num = 1000
elsif code == 7251
num = 100
elsif code == 7252
num = 1000
elsif code == 7254
num = 1000
elsif code == 7255
num = 100
elsif code == 7256
num = 1000
elsif code == 7259
num = 100
elsif code == 7260
num = 1000
elsif code == 7261
num = 1000
elsif code == 7262
num = 1000
elsif code == 7263
num = 1000
elsif code == 7264
num = 100
elsif code == 7265
num = 1000
elsif code == 7266
num = 100
elsif code == 7267
num = 100
elsif code == 7268
num = 1000
elsif code == 7269
num = 100
elsif code == 7270
num = 1000
elsif code == 7271
num = 500
elsif code == 7272
num = 100
elsif code == 7273
num = 1000
elsif code == 7274
num = 100
elsif code == 7276
num = 1000
elsif code == 7277
num = 1000
elsif code == 7278
num = 100
elsif code == 7279
num = 100
elsif code == 7280
num = 1000
elsif code == 7282
num = 100
elsif code == 7283
num = 100
elsif code == 7284
num = 1000
elsif code == 7287
num = 1000
elsif code == 7291
num = 1000
elsif code == 7292
num = 1000
elsif code == 7294
num = 100
elsif code == 7296
num = 100
elsif code == 7297
num = 100
elsif code == 7298
num = 100
elsif code == 7299
num = 1000
elsif code == 7301
num = 1000
elsif code == 7305
num = 1000
elsif code == 7308
num = 1000
elsif code == 7309
num = 100
elsif code == 7311
num = 1
elsif code == 7312
num = 100
elsif code == 7313
num = 100
elsif code == 7399
num = 1000
elsif code == 7404
num = 1000
elsif code == 7408
num = 1000
elsif code == 7410
num = 1000
elsif code == 7412
num = 100
elsif code == 7413
num = 1000
elsif code == 7414
num = 100
elsif code == 7415
num = 1000
elsif code == 7416
num = 100
elsif code == 7417
num = 100
elsif code == 7419
num = 100
elsif code == 7420
num = 100
elsif code == 7421
num = 50
elsif code == 7422
num = 1000
elsif code == 7425
num = 1000
elsif code == 7426
num = 1000
elsif code == 7427
num = 100
elsif code == 7428
num = 500
elsif code == 7429
num = 100
elsif code == 7430
num = 100
elsif code == 7432
num = 1000
elsif code == 7433
num = 100
elsif code == 7434
num = 100
elsif code == 7435
num = 1000
elsif code == 7438
num = 100
elsif code == 7440
num = 100
elsif code == 7441
num = 1000
elsif code == 7442
num = 100
elsif code == 7443
num = 1000
elsif code == 7444
num = 100
elsif code == 7445
num = 100
elsif code == 7446
num = 1000
elsif code == 7447
num = 100
elsif code == 7448
num = 100
elsif code == 7449
num = 1000
elsif code == 7450
num = 100
elsif code == 7451
num = 100
elsif code == 7452
num = 100
elsif code == 7453
num = 100
elsif code == 7455
num = 100
elsif code == 7456
num = 100
elsif code == 7457
num = 1000
elsif code == 7458
num = 100
elsif code == 7459
num = 100
elsif code == 7460
num = 100
elsif code == 7461
num = 1000
elsif code == 7462
num = 1000
elsif code == 7463
num = 100
elsif code == 7464
num = 1000
elsif code == 7465
num = 100
elsif code == 7466
num = 100
elsif code == 7467
num = 100
elsif code == 7468
num = 100
elsif code == 7472
num = 100
elsif code == 7473
num = 1000
elsif code == 7474
num = 1000
elsif code == 7475
num = 1000
elsif code == 7476
num = 100
elsif code == 7477
num = 1000
elsif code == 7478
num = 1000
elsif code == 7480
num = 100
elsif code == 7481
num = 100
elsif code == 7482
num = 100
elsif code == 7483
num = 100
elsif code == 7485
num = 500
elsif code == 7486
num = 1000
elsif code == 7487
num = 100
elsif code == 7488
num = 1000
elsif code == 7489
num = 1000
elsif code == 7490
num = 1000
elsif code == 7491
num = 1000
elsif code == 7493
num = 1000
elsif code == 7494
num = 100
elsif code == 7498
num = 100
elsif code == 7500
num = 1000
elsif code == 7501
num = 100
elsif code == 7502
num = 100
elsif code == 7503
num = 100
elsif code == 7504
num = 100
elsif code == 7505
num = 1000
elsif code == 7506
num = 100
elsif code == 7508
num = 100
elsif code == 7509
num = 1000
elsif code == 7510
num = 100
elsif code == 7512
num = 100
elsif code == 7513
num = 100
elsif code == 7514
num = 500
elsif code == 7515
num = 1000
elsif code == 7516
num = 100
elsif code == 7517
num = 100
elsif code == 7518
num = 1
elsif code == 7519
num = 1000
elsif code == 7520
num = 100
elsif code == 7521
num = 500
elsif code == 7522
num = 100
elsif code == 7523
num = 100
elsif code == 7524
num = 100
elsif code == 7525
num = 100
elsif code == 7526
num = 500
elsif code == 7527
num = 100
elsif code == 7530
num = 1000
elsif code == 7531
num = 1000
elsif code == 7532
num = 100
elsif code == 7533
num = 1000
elsif code == 7535
num = 100
elsif code == 7537
num = 100
elsif code == 7538
num = 1000
elsif code == 7539
num = 100
elsif code == 7541
num = 100
elsif code == 7542
num = 1000
elsif code == 7544
num = 100
elsif code == 7545
num = 100
elsif code == 7548
num = 100
elsif code == 7550
num = 100
elsif code == 7551
num = 100
elsif code == 7552
num = 100
elsif code == 7553
num = 100
elsif code == 7554
num = 100
elsif code == 7555
num = 1000
elsif code == 7558
num = 100
elsif code == 7559
num = 100
elsif code == 7560
num = 100
elsif code == 7561
num = 100
elsif code == 7562
num = 1000
elsif code == 7563
num = 1000
elsif code == 7564
num = 100
elsif code == 7565
num = 1000
elsif code == 7566
num = 1000
elsif code == 7567
num = 1000
elsif code == 7568
num = 1000
elsif code == 7569
num = 1000
elsif code == 7570
num = 100
elsif code == 7571
num = 100
elsif code == 7574
num = 100
elsif code == 7575
num = 100
elsif code == 7577
num = 1000
elsif code == 7578
num = 1000
elsif code == 7579
num = 100
elsif code == 7581
num = 100
elsif code == 7582
num = 1000
elsif code == 7583
num = 1000
elsif code == 7584
num = 1000
elsif code == 7585
num = 1000
elsif code == 7586
num = 100
elsif code == 7587
num = 100
elsif code == 7590
num = 100
elsif code == 7591
num = 100
elsif code == 7593
num = 100
elsif code == 7594
num = 100
elsif code == 7595
num = 100
elsif code == 7596
num = 100
elsif code == 7597
num = 1000
elsif code == 7598
num = 100
elsif code == 7599
num = 10
elsif code == 7600
num = 100
elsif code == 7601
num = 100
elsif code == 7602
num = 100
elsif code == 7603
num = 100
elsif code == 7604
num = 1
elsif code == 7605
num = 100
elsif code == 7606
num = 100
elsif code == 7607
num = 100
elsif code == 7608
num = 100
elsif code == 7609
num = 100
elsif code == 7610
num = 1
elsif code == 7611
num = 100
elsif code == 7612
num = 1000
elsif code == 7613
num = 100
elsif code == 7614
num = 100
elsif code == 7615
num = 1
elsif code == 7616
num = 500
elsif code == 7617
num = 100
elsif code == 7618
num = 1
elsif code == 7619
num = 100
elsif code == 7620
num = 1000
elsif code == 7621
num = 1000
elsif code == 7622
num = 100
elsif code == 7623
num = 100
elsif code == 7624
num = 100
elsif code == 7625
num = 100
elsif code == 7626
num = 100
elsif code == 7627
num = 100
elsif code == 7628
num = 100
elsif code == 7630
num = 100
elsif code == 7631
num = 100
elsif code == 7633
num = 1000
elsif code == 7634
num = 100
elsif code == 7635
num = 1000
elsif code == 7636
num = 100
elsif code == 7637
num = 100
elsif code == 7638
num = 10
elsif code == 7640
num = 100
elsif code == 7641
num = 1
elsif code == 7642
num = 100
elsif code == 7643
num = 100
elsif code == 7644
num = 1000
elsif code == 7645
num = 100
elsif code == 7646
num = 100
elsif code == 7647
num = 1000
elsif code == 7648
num = 1000
elsif code == 7649
num = 100
elsif code == 7701
num = 1000
elsif code == 7702
num = 1000
elsif code == 7703
num = 1000
elsif code == 7704
num = 1000
elsif code == 7705
num = 1000
elsif code == 7706
num = 100
elsif code == 7707
num = 1
elsif code == 7708
num = 1
elsif code == 7709
num = 1
elsif code == 7711
num = 1000
elsif code == 7713
num = 1000
elsif code == 7714
num = 100
elsif code == 7715
num = 100
elsif code == 7716
num = 100
elsif code == 7717
num = 1
elsif code == 7718
num = 1000
elsif code == 7719
num = 1000
elsif code == 7720
num = 1000
elsif code == 7721
num = 1000
elsif code == 7722
num = 1000
elsif code == 7723
num = 1000
elsif code == 7724
num = 1000
elsif code == 7725
num = 1
elsif code == 7726
num = 1000
elsif code == 7727
num = 1000
elsif code == 7728
num = 100
elsif code == 7729
num = 100
elsif code == 7730
num = 100
elsif code == 7731
num = 1000
elsif code == 7732
num = 100
elsif code == 7733
num = 1000
elsif code == 7734
num = 1000
elsif code == 7735
num = 1000
elsif code == 7736
num = 100
elsif code == 7739
num = 100
elsif code == 7740
num = 100
elsif code == 7741
num = 100
elsif code == 7743
num = 1000
elsif code == 7744
num = 100
elsif code == 7745
num = 100
elsif code == 7746
num = 100
elsif code == 7747
num = 100
elsif code == 7748
num = 1
elsif code == 7749
num = 10
elsif code == 7750
num = 1000
elsif code == 7751
num = 100
elsif code == 7752
num = 1000
elsif code == 7756
num = 100
elsif code == 7757
num = 1000
elsif code == 7758
num = 1000
elsif code == 7760
num = 1000
elsif code == 7762
num = 100
elsif code == 7765
num = 1000
elsif code == 7768
num = 1000
elsif code == 7769
num = 1000
elsif code == 7771
num = 1000
elsif code == 7772
num = 1
elsif code == 7773
num = 1000
elsif code == 7774
num = 1
elsif code == 7820
num = 100
elsif code == 7821
num = 1000
elsif code == 7822
num = 1000
elsif code == 7823
num = 100
elsif code == 7825
num = 1
elsif code == 7826
num = 100
elsif code == 7827
num = 100
elsif code == 7828
num = 1
elsif code == 7829
num = 1
elsif code == 7830
num = 1000
elsif code == 7831
num = 1000
elsif code == 7832
num = 100
elsif code == 7833
num = 1
elsif code == 7834
num = 100
elsif code == 7835
num = 1
elsif code == 7836
num = 1
elsif code == 7837
num = 1
elsif code == 7838
num = 1000
elsif code == 7839
num = 1000
elsif code == 7840
num = 1000
elsif code == 7841
num = 1000
elsif code == 7842
num = 100
elsif code == 7843
num = 1
elsif code == 7844
num = 1
elsif code == 7845
num = 100
elsif code == 7846
num = 1
elsif code == 7847
num = 1
elsif code == 7849
num = 1
elsif code == 7850
num = 1000
elsif code == 7851
num = 1000
elsif code == 7853
num = 1
elsif code == 7855
num = 100
elsif code == 7856
num = 1000
elsif code == 7857
num = 100
elsif code == 7858
num = 1000
elsif code == 7859
num = 100
elsif code == 7860
num = 100
elsif code == 7861
num = 100
elsif code == 7862
num = 100
elsif code == 7863
num = 1000
elsif code == 7864
num = 100
elsif code == 7865
num = 500
elsif code == 7866
num = 100
elsif code == 7867
num = 100
elsif code == 7868
num = 100
elsif code == 7869
num = 1000
elsif code == 7870
num = 100
elsif code == 7871
num = 1000
elsif code == 7872
num = 100
elsif code == 7873
num = 100
elsif code == 7874
num = 100
elsif code == 7875
num = 100
elsif code == 7877
num = 1000
elsif code == 7878
num = 1000
elsif code == 7879
num = 100
elsif code == 7880
num = 100
elsif code == 7882
num = 1000
elsif code == 7883
num = 100
elsif code == 7885
num = 100
elsif code == 7886
num = 1000
elsif code == 7887
num = 1000
elsif code == 7888
num = 1000
elsif code == 7889
num = 100
elsif code == 7890
num = 500
elsif code == 7891
num = 1000
elsif code == 7893
num = 100
elsif code == 7894
num = 1000
elsif code == 7895
num = 100
elsif code == 7896
num = 1000
elsif code == 7897
num = 100
elsif code == 7898
num = 1000
elsif code == 7899
num = 1000
elsif code == 7901
num = 1000
elsif code == 7902
num = 100
elsif code == 7903
num = 100
elsif code == 7904
num = 1000
elsif code == 7905
num = 1000
elsif code == 7906
num = 100
elsif code == 7907
num = 1000
elsif code == 7908
num = 100
elsif code == 7909
num = 1000
elsif code == 7911
num = 1000
elsif code == 7912
num = 1000
elsif code == 7913
num = 1000
elsif code == 7914
num = 1000
elsif code == 7915
num = 1000
elsif code == 7916
num = 1000
elsif code == 7917
num = 100
elsif code == 7918
num = 1000
elsif code == 7919
num = 1000
elsif code == 7920
num = 1000
elsif code == 7921
num = 500
elsif code == 7922
num = 1000
elsif code == 7923
num = 500
elsif code == 7925
num = 100
elsif code == 7926
num = 1000
elsif code == 7927
num = 100
elsif code == 7928
num = 500
elsif code == 7929
num = 1000
elsif code == 7932
num = 1000
elsif code == 7933
num = 1000
elsif code == 7934
num = 1000
elsif code == 7935
num = 500
elsif code == 7936
num = 1000
elsif code == 7937
num = 100
elsif code == 7938
num = 1000
elsif code == 7939
num = 1000
elsif code == 7940
num = 100
elsif code == 7942
num = 100
elsif code == 7943
num = 100
elsif code == 7944
num = 100
elsif code == 7945
num = 100
elsif code == 7946
num = 1000
elsif code == 7947
num = 100
elsif code == 7948
num = 1000
elsif code == 7949
num = 100
elsif code == 7950
num = 1000
elsif code == 7951
num = 100
elsif code == 7952
num = 1000
elsif code == 7953
num = 1000
elsif code == 7954
num = 1000
elsif code == 7955
num = 100
elsif code == 7956
num = 100
elsif code == 7957
num = 1000
elsif code == 7958
num = 100
elsif code == 7959
num = 1000
elsif code == 7960
num = 100
elsif code == 7961
num = 1000
elsif code == 7962
num = 100
elsif code == 7963
num = 1000
elsif code == 7965
num = 1000
elsif code == 7966
num = 100
elsif code == 7968
num = 1000
elsif code == 7970
num = 100
elsif code == 7971
num = 1000
elsif code == 7972
num = 1000
elsif code == 7973
num = 1000
elsif code == 7974
num = 100
elsif code == 7975
num = 1000
elsif code == 7976
num = 100
elsif code == 7979
num = 1000
elsif code == 7980
num = 1000
elsif code == 7981
num = 1000
elsif code == 7983
num = 1000
elsif code == 7984
num = 100
elsif code == 7985
num = 1000
elsif code == 7986
num = 1000
elsif code == 7987
num = 1000
elsif code == 7988
num = 100
elsif code == 7989
num = 100
elsif code == 7990
num = 1000
elsif code == 7991
num = 1000
elsif code == 7992
num = 1000
elsif code == 7993
num = 1000
elsif code == 7994
num = 1000
elsif code == 7995
num = 1000
elsif code == 7997
num = 1000
elsif code == 7999
num = 1000
elsif code == 8000
num = 1000
elsif code == 8001
num = 1000
elsif code == 8002
num = 1000
elsif code == 8005
num = 100
elsif code == 8006
num = 1000
elsif code == 8007
num = 1000
elsif code == 8008
num = 100
elsif code == 8011
num = 1000
elsif code == 8012
num = 1000
elsif code == 8013
num = 1000
elsif code == 8014
num = 1000
elsif code == 8015
num = 1000
elsif code == 8016
num = 1000
elsif code == 8018
num = 1000
elsif code == 8019
num = 500
elsif code == 8020
num = 1000
elsif code == 8022
num = 1000
elsif code == 8023
num = 1000
elsif code == 8024
num = 1000
elsif code == 8025
num = 1000
elsif code == 8027
num = 1000
elsif code == 8028
num = 100
elsif code == 8029
num = 1000
elsif code == 8030
num = 1000
elsif code == 8031
num = 1000
elsif code == 8032
num = 1000
elsif code == 8035
num = 100
elsif code == 8036
num = 100
elsif code == 8037
num = 1000
elsif code == 8038
num = 1000
elsif code == 8039
num = 1000
elsif code == 8040
num = 1000
elsif code == 8041
num = 1000
elsif code == 8042
num = 1000
elsif code == 8043
num = 1000
elsif code == 8044
num = 1000
elsif code == 8045
num = 1000
elsif code == 8046
num = 1000
elsif code == 8048
num = 100
elsif code == 8050
num = 1000
elsif code == 8051
num = 1000
elsif code == 8052
num = 1000
elsif code == 8053
num = 1000
elsif code == 8056
num = 100
elsif code == 8057
num = 1000
elsif code == 8058
num = 100
elsif code == 8059
num = 1000
elsif code == 8060
num = 1000
elsif code == 8061
num = 1000
elsif code == 8064
num = 500
elsif code == 8065
num = 100
elsif code == 8066
num = 1000
elsif code == 8067
num = 1000
elsif code == 8068
num = 100
elsif code == 8070
num = 500
elsif code == 8071
num = 1000
elsif code == 8072
num = 1000
elsif code == 8073
num = 100
elsif code == 8074
num = 1000
elsif code == 8075
num = 1000
elsif code == 8076
num = 1000
elsif code == 8077
num = 1000
elsif code == 8078
num = 1000
elsif code == 8079
num = 1000
elsif code == 8080
num = 100
elsif code == 8081
num = 1000
elsif code == 8083
num = 1000
elsif code == 8084
num = 1000
elsif code == 8085
num = 1000
elsif code == 8086
num = 1000
elsif code == 8087
num = 100
elsif code == 8088
num = 1000
elsif code == 8089
num = 1000
elsif code == 8090
num = 1000
elsif code == 8091
num = 1000
elsif code == 8092
num = 100
elsif code == 8093
num = 1000
elsif code == 8094
num = 1000
elsif code == 8095
num = 1000
elsif code == 8096
num = 100
elsif code == 8097
num = 1000
elsif code == 8098
num = 100
elsif code == 8101
num = 1000
elsif code == 8103
num = 1000
elsif code == 8104
num = 1000
elsif code == 8105
num = 1000
elsif code == 8107
num = 1000
elsif code == 8108
num = 100
elsif code == 8109
num = 1000
elsif code == 8111
num = 1000
elsif code == 8112
num = 1000
elsif code == 8113
num = 100
elsif code == 8114
num = 1000
elsif code == 8115
num = 1000
elsif code == 8117
num = 1000
elsif code == 8118
num = 1000
elsif code == 8119
num = 1000
elsif code == 8120
num = 1000
elsif code == 8123
num = 1000
elsif code == 8125
num = 1000
elsif code == 8126
num = 1000
elsif code == 8127
num = 500
elsif code == 8128
num = 1000
elsif code == 8129
num = 100
elsif code == 8130
num = 100
elsif code == 8131
num = 1000
elsif code == 8132
num = 1000
elsif code == 8133
num = 100
elsif code == 8134
num = 1000
elsif code == 8135
num = 1000
elsif code == 8136
num = 100
elsif code == 8137
num = 100
elsif code == 8138
num = 1000
elsif code == 8139
num = 1000
elsif code == 8140
num = 100
elsif code == 8141
num = 1000
elsif code == 8142
num = 1000
elsif code == 8143
num = 1000
elsif code == 8144
num = 1000
elsif code == 8145
num = 1000
elsif code == 8146
num = 1000
elsif code == 8147
num = 1000
elsif code == 8148
num = 1000
elsif code == 8150
num = 1000
elsif code == 8151
num = 100
elsif code == 8152
num = 1000
elsif code == 8153
num = 100
elsif code == 8154
num = 100
elsif code == 8155
num = 100
elsif code == 8157
num = 1000
elsif code == 8158
num = 1000
elsif code == 8159
num = 100
elsif code == 8160
num = 100
elsif code == 8163
num = 1000
elsif code == 8164
num = 1000
elsif code == 8165
num = 1000
elsif code == 8166
num = 500
elsif code == 8167
num = 1000
elsif code == 8168
num = 100
elsif code == 8170
num = 100
elsif code == 8171
num = 100
elsif code == 8173
num = 1000
elsif code == 8174
num = 1000
elsif code == 8175
num = 1000
elsif code == 8178
num = 1000
elsif code == 8179
num = 100
elsif code == 8180
num = 100
elsif code == 8181
num = 1000
elsif code == 8182
num = 1000
elsif code == 8184
num = 100
elsif code == 8185
num = 100
elsif code == 8186
num = 100
elsif code == 8187
num = 1
elsif code == 8188
num = 100
elsif code == 8190
num = 100
elsif code == 8191
num = 1000
elsif code == 8192
num = 1000
elsif code == 8193
num = 100
elsif code == 8194
num = 100
elsif code == 8196
num = 1000
elsif code == 8197
num = 1000
elsif code == 8198
num = 100
elsif code == 8200
num = 100
elsif code == 8201
num = 1000
elsif code == 8202
num = 1000
elsif code == 8203
num = 100
elsif code == 8205
num = 1000
elsif code == 8206
num = 1000
elsif code == 8207
num = 100
elsif code == 8208
num = 1000
elsif code == 8209
num = 1000
elsif code == 8211
num = 1000
elsif code == 8214
num = 100
elsif code == 8215
num = 1000
elsif code == 8216
num = 1000
elsif code == 8217
num = 1000
elsif code == 8218
num = 100
elsif code == 8219
num = 100
elsif code == 8225
num = 1000
elsif code == 8226
num = 500
elsif code == 8227
num = 100
elsif code == 8228
num = 100
elsif code == 8229
num = 500
elsif code == 8230
num = 100
elsif code == 8233
num = 1000
elsif code == 8234
num = 1000
elsif code == 8235
num = 1000
elsif code == 8236
num = 1000
elsif code == 8237
num = 100
elsif code == 8238
num = 100
elsif code == 8242
num = 1000
elsif code == 8244
num = 1000
elsif code == 8245
num = 1000
elsif code == 8246
num = 500
elsif code == 8247
num = 1000
elsif code == 8248
num = 100
elsif code == 8249
num = 100
elsif code == 8251
num = 100
elsif code == 8252
num = 100
elsif code == 8253
num = 100
elsif code == 8254
num = 1000
elsif code == 8255
num = 100
elsif code == 8256
num = 500
elsif code == 8257
num = 100
elsif code == 8258
num = 100
elsif code == 8260
num = 1000
elsif code == 8263
num = 50
elsif code == 8266
num = 1000
elsif code == 8267
num = 100
elsif code == 8268
num = 1000
elsif code == 8270
num = 1000
elsif code == 8273
num = 100
elsif code == 8274
num = 1000
elsif code == 8275
num = 100
elsif code == 8276
num = 1000
elsif code == 8278
num = 100
elsif code == 8279
num = 100
elsif code == 8281
num = 100
elsif code == 8282
num = 100
elsif code == 8285
num = 1000
elsif code == 8287
num = 100
elsif code == 8289
num = 100
elsif code == 8290
num = 500
elsif code == 8291
num = 1000
elsif code == 8293
num = 1000
elsif code == 8298
num = 1000
elsif code == 8299
num = 1000
elsif code == 8301
num = 100
elsif code == 8303
num = 1000
elsif code == 8304
num = 1000
elsif code == 8306
num = 1
elsif code == 8308
num = 1
elsif code == 8309
num = 1000
elsif code == 8316
num = 1
elsif code == 8324
num = 1000
elsif code == 8325
num = 1000
elsif code == 8326
num = 1000
elsif code == 8327
num = 1000
elsif code == 8328
num = 1
elsif code == 8329
num = 1
elsif code == 8331
num = 1000
elsif code == 8332
num = 1000
elsif code == 8333
num = 1000
elsif code == 8334
num = 1000
elsif code == 8336
num = 100
elsif code == 8337
num = 100
elsif code == 8338
num = 100
elsif code == 8339
num = 100
elsif code == 8340
num = 1000
elsif code == 8341
num = 1000
elsif code == 8342
num = 1000
elsif code == 8343
num = 1000
elsif code == 8344
num = 1000
elsif code == 8345
num = 100
elsif code == 8346
num = 1000
elsif code == 8347
num = 1000
elsif code == 8349
num = 1000
elsif code == 8350
num = 1000
elsif code == 8354
num = 1000
elsif code == 8355
num = 1000
elsif code == 8356
num = 1000
elsif code == 8358
num = 1000
elsif code == 8359
num = 1000
elsif code == 8360
num = 1000
elsif code == 8361
num = 1000
elsif code == 8362
num = 1000
elsif code == 8363
num = 1000
elsif code == 8364
num = 100
elsif code == 8365
num = 1000
elsif code == 8366
num = 1000
elsif code == 8367
num = 1000
elsif code == 8368
num = 1000
elsif code == 8369
num = 1000
elsif code == 8372
num = 1000
elsif code == 8374
num = 1000
elsif code == 8375
num = 100
elsif code == 8377
num = 1000
elsif code == 8378
num = 1000
elsif code == 8379
num = 1000
elsif code == 8380
num = 1000
elsif code == 8381
num = 1000
elsif code == 8382
num = 1000
elsif code == 8383
num = 1000
elsif code == 8384
num = 1
elsif code == 8385
num = 1000
elsif code == 8386
num = 1000
elsif code == 8387
num = 1000
elsif code == 8388
num = 1000
elsif code == 8390
num = 1000
elsif code == 8392
num = 1000
elsif code == 8393
num = 1000
elsif code == 8394
num = 1000
elsif code == 8395
num = 1000
elsif code == 8396
num = 1000
elsif code == 8397
num = 100
elsif code == 8398
num = 1000
elsif code == 8399
num = 100
elsif code == 8403
num = 1000
elsif code == 8404
num = 1000
elsif code == 8409
num = 1
elsif code == 8410
num = 1
elsif code == 8411
num = 1
elsif code == 8415
num = 1000
elsif code == 8416
num = 1000
elsif code == 8418
num = 1000
elsif code == 8421
num = 1
elsif code == 8423
num = 1
elsif code == 8424
num = 100
elsif code == 8425
num = 100
elsif code == 8426
num = 1
elsif code == 8432
num = 100
elsif code == 8439
num = 100
elsif code == 8458
num = 1
elsif code == 8462
num = 1
elsif code == 8473
num = 1
elsif code == 8489
num = 1000
elsif code == 8493
num = 100
elsif code == 8508
num = 1000
elsif code == 8511
num = 1000
elsif code == 8512
num = 1000
elsif code == 8513
num = 1000
elsif code == 8514
num = 1000
elsif code == 8515
num = 50
elsif code == 8518
num = 1000
elsif code == 8519
num = 100
elsif code == 8520
num = 100
elsif code == 8521
num = 1000
elsif code == 8522
num = 1000
elsif code == 8527
num = 100
elsif code == 8528
num = 1000
elsif code == 8529
num = 1000
elsif code == 8530
num = 1000
elsif code == 8536
num = 1000
elsif code == 8537
num = 1000
elsif code == 8540
num = 1000
elsif code == 8541
num = 1000
elsif code == 8542
num = 1000
elsif code == 8543
num = 1000
elsif code == 8544
num = 1000
elsif code == 8545
num = 1000
elsif code == 8550
num = 1000
elsif code == 8551
num = 100
elsif code == 8552
num = 1000
elsif code == 8553
num = 1000
elsif code == 8554
num = 1000
elsif code == 8556
num = 1000
elsif code == 8558
num = 1000
elsif code == 8559
num = 1000
elsif code == 8560
num = 1000
elsif code == 8561
num = 1000
elsif code == 8562
num = 1000
elsif code == 8563
num = 1000
elsif code == 8564
num = 10
elsif code == 8565
num = 100
elsif code == 8566
num = 100
elsif code == 8567
num = 100
elsif code == 8568
num = 100
elsif code == 8569
num = 500
elsif code == 8570
num = 100
elsif code == 8571
num = 100
elsif code == 8572
num = 10
elsif code == 8573
num = 10
elsif code == 8574
num = 50
elsif code == 8577
num = 100
elsif code == 8579
num = 100
elsif code == 8583
num = 1000
elsif code == 8584
num = 1000
elsif code == 8585
num = 1000
elsif code == 8586
num = 100
elsif code == 8588
num = 1000
elsif code == 8589
num = 500
elsif code == 8591
num = 10
elsif code == 8592
num = 1000
elsif code == 8593
num = 100
elsif code == 8594
num = 1000
elsif code == 8595
num = 100
elsif code == 8596
num = 1000
elsif code == 8597
num = 10
elsif code == 8599
num = 100
elsif code == 8601
num = 1000
elsif code == 8603
num = 500
elsif code == 8604
num = 100
elsif code == 8606
num = 1000
elsif code == 8607
num = 1000
elsif code == 8609
num = 1000
elsif code == 8611
num = 1000
elsif code == 8613
num = 1000
elsif code == 8614
num = 1000
elsif code == 8615
num = 1000
elsif code == 8616
num = 1000
elsif code == 8617
num = 1000
elsif code == 8622
num = 1000
elsif code == 8623
num = 500
elsif code == 8624
num = 100
elsif code == 8625
num = 1000
elsif code == 8628
num = 100
elsif code == 8634
num = 10
elsif code == 8640
num = 50
elsif code == 8648
num = 50
elsif code == 8657
num = 10
elsif code == 8665
num = 10
elsif code == 8666
num = 10
elsif code == 8675
num = 1
elsif code == 8678
num = 1000
elsif code == 8681
num = 100
elsif code == 8682
num = 100
elsif code == 8683
num = 100
elsif code == 8685
num = 10
elsif code == 8686
num = 100
elsif code == 8689
num = 10
elsif code == 8691
num = 500
elsif code == 8692
num = 100
elsif code == 8697
num = 1
elsif code == 8698
num = 1
elsif code == 8699
num = 100
elsif code == 8700
num = 1000
elsif code == 8701
num = 1
elsif code == 8702
num = 100
elsif code == 8703
num = 1
elsif code == 8704
num = 1
elsif code == 8705
num = 1000
elsif code == 8706
num = 100
elsif code == 8707
num = 100
elsif code == 8708
num = 1000
elsif code == 8709
num = 1
elsif code == 8710
num = 10
elsif code == 8711
num = 100
elsif code == 8720
num = 10
elsif code == 8721
num = 10
elsif code == 8725
num = 100
elsif code == 8728
num = 10
elsif code == 8729
num = 1
elsif code == 8732
num = 1
elsif code == 8734
num = 1
elsif code == 8735
num = 1
elsif code == 8737
num = 1000
elsif code == 8738
num = 1000
elsif code == 8739
num = 1
elsif code == 8740
num = 100
elsif code == 8742
num = 100
elsif code == 8744
num = 100
elsif code == 8746
num = 1000
elsif code == 8747
num = 1000
elsif code == 8749
num = 100
elsif code == 8752
num = 1000
elsif code == 8754
num = 1000
elsif code == 8755
num = 1000
elsif code == 8757
num = 1000
elsif code == 8759
num = 1000
elsif code == 8761
num = 1000
elsif code == 8763
num = 1000
elsif code == 8766
num = 1
elsif code == 8767
num = 1
elsif code == 8769
num = 10
elsif code == 8771
num = 1
elsif code == 8772
num = 1
elsif code == 8774
num = 1
elsif code == 8783
num = 1
elsif code == 8787
num = 100
elsif code == 8789
num = 1
elsif code == 8793
num = 100
elsif code == 8795
num = 50
elsif code == 8798
num = 1
elsif code == 8801
num = 1000
elsif code == 8802
num = 1000
elsif code == 8803
num = 500
elsif code == 8804
num = 1000
elsif code == 8806
num = 100
elsif code == 8809
num = 1000
elsif code == 8810
num = 100
elsif code == 8815
num = 1000
elsif code == 8818
num = 1000
elsif code == 8821
num = 100
elsif code == 8830
num = 1000
elsif code == 8832
num = 1000
elsif code == 8833
num = 1000
elsif code == 8834
num = 500
elsif code == 8835
num = 1000
elsif code == 8836
num = 1000
elsif code == 8838
num = 1000
elsif code == 8839
num = 1000
elsif code == 8840
num = 1000
elsif code == 8841
num = 1000
elsif code == 8842
num = 1000
elsif code == 8844
num = 1000
elsif code == 8848
num = 100
elsif code == 8850
num = 500
elsif code == 8851
num = 1000
elsif code == 8853
num = 100
elsif code == 8854
num = 1000
elsif code == 8858
num = 100
elsif code == 8860
num = 100
elsif code == 8864
num = 100
elsif code == 8866
num = 100
elsif code == 8868
num = 100
elsif code == 8869
num = 100
elsif code == 8870
num = 100
elsif code == 8871
num = 10
elsif code == 8872
num = 100
elsif code == 8874
num = 100
elsif code == 8875
num = 100
elsif code == 8876
num = 100
elsif code == 8877
num = 100
elsif code == 8878
num = 100
elsif code == 8879
num = 100
elsif code == 8880
num = 100
elsif code == 8881
num = 100
elsif code == 8882
num = 1
elsif code == 8884
num = 100
elsif code == 8885
num = 1
elsif code == 8886
num = 1
elsif code == 8887
num = 1
elsif code == 8888
num = 1
elsif code == 8889
num = 1
elsif code == 8890
num = 1
elsif code == 8891
num = 1
elsif code == 8892
num = 1
elsif code == 8893
num = 100
elsif code == 8894
num = 1
elsif code == 8895
num = 100
elsif code == 8896
num = 100
elsif code == 8897
num = 100
elsif code == 8898
num = 1
elsif code == 8899
num = 100
elsif code == 8900
num = 1
elsif code == 8901
num = 1
elsif code == 8902
num = 1
elsif code == 8903
num = 1
elsif code == 8904
num = 1
elsif code == 8905
num = 100
elsif code == 8907
num = 1
elsif code == 8908
num = 100
elsif code == 8909
num = 1
elsif code == 8910
num = 1
elsif code == 8911
num = 1
elsif code == 8912
num = 1
elsif code == 8913
num = 1
elsif code == 8914
num = 1
elsif code == 8915
num = 1
elsif code == 8917
num = 100
elsif code == 8918
num = 1
elsif code == 8919
num = 100
elsif code == 8920
num = 100
elsif code == 8921
num = 1
elsif code == 8922
num = 1
elsif code == 8923
num = 1
elsif code == 8924
num = 1
elsif code == 8925
num = 1
elsif code == 8927
num = 100
elsif code == 8928
num = 1000
elsif code == 8929
num = 1
elsif code == 8931
num = 100
elsif code == 8933
num = 1
elsif code == 8934
num = 1
elsif code == 8935
num = 100
elsif code == 8936
num = 1
elsif code == 8937
num = 100
elsif code == 8938
num = 1
elsif code == 8939
num = 100
elsif code == 8940
num = 1
elsif code == 8941
num = 1
elsif code == 8942
num = 1
elsif code == 8943
num = 1
elsif code == 8944
num = 1
elsif code == 8945
num = 1
elsif code == 8946
num = 1
elsif code == 8947
num = 1
elsif code == 8948
num = 1
elsif code == 8951
num = 1
elsif code == 8952
num = 1
elsif code == 8953
num = 1
elsif code == 8954
num = 1
elsif code == 8955
num = 1
elsif code == 8956
num = 1
elsif code == 8957
num = 1
elsif code == 8958
num = 1
elsif code == 8959
num = 1
elsif code == 8960
num = 1
elsif code == 8961
num = 1
elsif code == 8962
num = 1
elsif code == 8963
num = 1
elsif code == 8964
num = 1
elsif code == 8965
num = 1
elsif code == 8966
num = 1
elsif code == 8967
num = 1
elsif code == 8968
num = 1
elsif code == 8969
num = 1
elsif code == 8970
num = 1
elsif code == 8972
num = 1
elsif code == 8973
num = 1
elsif code == 8974
num = 1
elsif code == 8975
num = 1
elsif code == 8976
num = 1
elsif code == 8977
num = 1
elsif code == 8978
num = 1
elsif code == 8979
num = 1
elsif code == 8980
num = 1
elsif code == 8981
num = 1
elsif code == 8982
num = 1
elsif code == 8983
num = 1
elsif code == 8984
num = 1
elsif code == 8985
num = 1
elsif code == 8986
num = 1
elsif code == 8987
num = 1
elsif code == 8991
num = 1
elsif code == 8992
num = 1
elsif code == 8993
num = 100
elsif code == 8995
num = 1
elsif code == 8996
num = 1
elsif code == 8997
num = 1
elsif code == 8998
num = 1
elsif code == 8999
num = 1
elsif code == 9001
num = 1000
elsif code == 9003
num = 1000
elsif code == 9005
num = 1000
elsif code == 9006
num = 1000
elsif code == 9007
num = 1000
elsif code == 9008
num = 1000
elsif code == 9009
num = 1000
elsif code == 9010
num = 1000
elsif code == 9012
num = 1000
elsif code == 9014
num = 1000
elsif code == 9017
num = 1000
elsif code == 9020
num = 1
elsif code == 9021
num = 1
elsif code == 9022
num = 1
elsif code == 9027
num = 1000
elsif code == 9028
num = 100
elsif code == 9029
num = 100
elsif code == 9030
num = 100
elsif code == 9031
num = 1000
elsif code == 9033
num = 1000
elsif code == 9034
num = 1000
elsif code == 9035
num = 100
elsif code == 9036
num = 100
elsif code == 9037
num = 100
elsif code == 9039
num = 100
elsif code == 9040
num = 1000
elsif code == 9041
num = 1000
elsif code == 9042
num = 1000
elsif code == 9043
num = 1000
elsif code == 9044
num = 1000
elsif code == 9045
num = 1000
elsif code == 9046
num = 1000
elsif code == 9047
num = 100
elsif code == 9048
num = 1000
elsif code == 9049
num = 1000
elsif code == 9050
num = 1000
elsif code == 9051
num = 1000
elsif code == 9052
num = 1000
elsif code == 9053
num = 1000
elsif code == 9054
num = 100
elsif code == 9055
num = 100
elsif code == 9056
num = 1000
elsif code == 9057
num = 100
elsif code == 9058
num = 100
elsif code == 9059
num = 1000
elsif code == 9060
num = 1000
elsif code == 9061
num = 1000
elsif code == 9062
num = 1000
elsif code == 9063
num = 1000
elsif code == 9064
num = 1000
elsif code == 9065
num = 1000
elsif code == 9066
num = 1000
elsif code == 9067
num = 1000
elsif code == 9068
num = 1000
elsif code == 9069
num = 1000
elsif code == 9070
num = 1000
elsif code == 9072
num = 1000
elsif code == 9073
num = 100
elsif code == 9074
num = 1000
elsif code == 9075
num = 1000
elsif code == 9076
num = 1000
elsif code == 9077
num = 1000
elsif code == 9078
num = 1000
elsif code == 9081
num = 1000
elsif code == 9082
num = 1000
elsif code == 9083
num = 1000
elsif code == 9085
num = 1000
elsif code == 9086
num = 100
elsif code == 9087
num = 1000
elsif code == 9101
num = 1000
elsif code == 9104
num = 1000
elsif code == 9107
num = 1000
elsif code == 9110
num = 1000
elsif code == 9113
num = 100
elsif code == 9115
num = 100
elsif code == 9119
num = 100
elsif code == 9123
num = 1000
elsif code == 9127
num = 1000
elsif code == 9130
num = 1000
elsif code == 9132
num = 1000
elsif code == 9133
num = 1000
elsif code == 9152
num = 100
elsif code == 9171
num = 1000
elsif code == 9173
num = 1000
elsif code == 9174
num = 1000
elsif code == 9176
num = 100
elsif code == 9179
num = 1000
elsif code == 9180
num = 1000
elsif code == 9193
num = 1000
elsif code == 9202
num = 1000
elsif code == 9204
num = 100
elsif code == 9205
num = 1000
elsif code == 9231
num = 1000
elsif code == 9232
num = 1000
elsif code == 9233
num = 1000
elsif code == 9234
num = 1000
elsif code == 9301
num = 1000
elsif code == 9302
num = 1000
elsif code == 9303
num = 1000
elsif code == 9304
num = 1000
elsif code == 9305
num = 1000
elsif code == 9306
num = 1000
elsif code == 9307
num = 1000
elsif code == 9308
num = 1000
elsif code == 9310
num = 1000
elsif code == 9311
num = 1000
elsif code == 9312
num = 1000
elsif code == 9313
num = 1000
elsif code == 9314
num = 1000
elsif code == 9317
num = 1000
elsif code == 9318
num = 100
elsif code == 9319
num = 1000
elsif code == 9320
num = 1000
elsif code == 9321
num = 1000
elsif code == 9322
num = 1000
elsif code == 9323
num = 1000
elsif code == 9324
num = 100
elsif code == 9351
num = 1000
elsif code == 9353
num = 1000
elsif code == 9355
num = 1000
elsif code == 9357
num = 1000
elsif code == 9358
num = 1000
elsif code == 9359
num = 1000
elsif code == 9360
num = 1000
elsif code == 9361
num = 1000
elsif code == 9362
num = 1000
elsif code == 9363
num = 1000
elsif code == 9364
num = 1000
elsif code == 9365
num = 1000
elsif code == 9366
num = 100
elsif code == 9367
num = 1000
elsif code == 9368
num = 100
elsif code == 9369
num = 100
elsif code == 9370
num = 100
elsif code == 9373
num = 100
elsif code == 9374
num = 100
elsif code == 9375
num = 100
elsif code == 9376
num = 1
elsif code == 9377
num = 1000
elsif code == 9378
num = 1
elsif code == 9379
num = 100
elsif code == 9380
num = 1000
elsif code == 9381
num = 1
elsif code == 9382
num = 1
elsif code == 9399
num = 1
elsif code == 9401
num = 100
elsif code == 9402
num = 100
elsif code == 9404
num = 10
elsif code == 9405
num = 10
elsif code == 9407
num = 1000
elsif code == 9408
num = 100
elsif code == 9409
num = 1
elsif code == 9411
num = 100
elsif code == 9412
num = 1
elsif code == 9421
num = 1
elsif code == 9422
num = 1
elsif code == 9423
num = 1
elsif code == 9424
num = 1
elsif code == 9425
num = 1
elsif code == 9427
num = 1
elsif code == 9428
num = 1000
elsif code == 9430
num = 100
elsif code == 9432
num = 1
elsif code == 9433
num = 1
elsif code == 9435
num = 100
elsif code == 9436
num = 1
elsif code == 9437
num = 1
elsif code == 9438
num = 1
elsif code == 9439
num = 1
elsif code == 9441
num = 1
elsif code == 9442
num = 1
elsif code == 9444
num = 1
elsif code == 9445
num = 1
elsif code == 9446
num = 1
elsif code == 9447
num = 1
elsif code == 9448
num = 1
elsif code == 9449
num = 100
elsif code == 9470
num = 1000
elsif code == 9471
num = 1000
elsif code == 9474
num = 100
elsif code == 9475
num = 100
elsif code == 9476
num = 1000
elsif code == 9477
num = 100
elsif code == 9478
num = 1
elsif code == 9479
num = 1
elsif code == 9481
num = 50
elsif code == 9496
num = 100
elsif code == 9501
num = 100
elsif code == 9502
num = 100
elsif code == 9503
num = 100
elsif code == 9504
num = 100
elsif code == 9505
num = 100
elsif code == 9506
num = 100
elsif code == 9507
num = 100
elsif code == 9508
num = 100
elsif code == 9509
num = 100
elsif code == 9511
num = 100
elsif code == 9513
num = 100
elsif code == 9514
num = 1
elsif code == 9531
num = 1000
elsif code == 9532
num = 1000
elsif code == 9533
num = 1000
elsif code == 9534
num = 1000
elsif code == 9535
num = 1000
elsif code == 9536
num = 1000
elsif code == 9537
num = 1000
elsif code == 9539
num = 1000
elsif code == 9540
num = 1000
elsif code == 9541
num = 1000
elsif code == 9542
num = 500
elsif code == 9543
num = 1000
elsif code == 9544
num = 1000
elsif code == 9600
num = 100
elsif code == 9601
num = 1000
elsif code == 9602
num = 100
elsif code == 9603
num = 100
elsif code == 9604
num = 1000
elsif code == 9605
num = 1000
elsif code == 9607
num = 500
elsif code == 9608
num = 1000
elsif code == 9609
num = 100
elsif code == 9610
num = 100
elsif code == 9611
num = 100
elsif code == 9612
num = 100
elsif code == 9613
num = 1
elsif code == 9615
num = 1000
elsif code == 9616
num = 100
elsif code == 9617
num = 1000
elsif code == 9619
num = 100
elsif code == 9621
num = 100
elsif code == 9622
num = 100
elsif code == 9623
num = 100
elsif code == 9624
num = 500
elsif code == 9625
num = 1000
elsif code == 9626
num = 1000
elsif code == 9627
num = 100
elsif code == 9628
num = 100
elsif code == 9629
num = 500
elsif code == 9630
num = 500
elsif code == 9631
num = 1000
elsif code == 9632
num = 1000
elsif code == 9633
num = 1000
elsif code == 9635
num = 1000
elsif code == 9636
num = 1000
elsif code == 9637
num = 1000
elsif code == 9638
num = 100
elsif code == 9639
num = 1000
elsif code == 9640
num = 100
elsif code == 9641
num = 100
elsif code == 9642
num = 100
elsif code == 9643
num = 100
elsif code == 9644
num = 100
elsif code == 9647
num = 1000
elsif code == 9648
num = 100
elsif code == 9650
num = 100
elsif code == 9651
num = 100
elsif code == 9652
num = 100
elsif code == 9654
num = 100
elsif code == 9656
num = 100
elsif code == 9657
num = 100
elsif code == 9658
num = 1000
elsif code == 9660
num = 100
elsif code == 9661
num = 1000
elsif code == 9663
num = 100
elsif code == 9664
num = 1000
elsif code == 9665
num = 1000
elsif code == 9667
num = 100
elsif code == 9669
num = 100
elsif code == 9671
num = 1000
elsif code == 9672
num = 1000
elsif code == 9674
num = 1000
elsif code == 9675
num = 1000
elsif code == 9677
num = 100
elsif code == 9678
num = 1000
elsif code == 9679
num = 1000
elsif code == 9680
num = 1000
elsif code == 9681
num = 1000
elsif code == 9682
num = 100
elsif code == 9684
num = 100
elsif code == 9685
num = 1000
elsif code == 9686
num = 100
elsif code == 9687
num = 1000
elsif code == 9689
num = 500
elsif code == 9691
num = 500
elsif code == 9692
num = 100
elsif code == 9694
num = 100
elsif code == 9695
num = 1000
elsif code == 9696
num = 100
elsif code == 9697
num = 100
elsif code == 9698
num = 1000
elsif code == 9699
num = 100
elsif code == 9701
num = 1000
elsif code == 9702
num = 100
elsif code == 9704
num = 1000
elsif code == 9706
num = 100
elsif code == 9707
num = 1000
elsif code == 9708
num = 1000
elsif code == 9709
num = 1000
elsif code == 9711
num = 1000
elsif code == 9712
num = 100
elsif code == 9713
num = 1000
elsif code == 9714
num = 100
elsif code == 9715
num = 100
elsif code == 9716
num = 1000
elsif code == 9717
num = 100
elsif code == 9719
num = 100
elsif code == 9720
num = 1000
elsif code == 9722
num = 1000
elsif code == 9723
num = 1000
elsif code == 9726
num = 1000
elsif code == 9728
num = 100
elsif code == 9729
num = 100
elsif code == 9730
num = 1000
elsif code == 9731
num = 1000
elsif code == 9732
num = 1000
elsif code == 9733
num = 1000
elsif code == 9734
num = 100
elsif code == 9735
num = 500
elsif code == 9736
num = 1000
elsif code == 9737
num = 100
elsif code == 9738
num = 1000
elsif code == 9739
num = 100
elsif code == 9740
num = 100
elsif code == 9741
num = 100
elsif code == 9742
num = 100
elsif code == 9743
num = 1000
elsif code == 9744
num = 100
elsif code == 9746
num = 100
elsif code == 9747
num = 100
elsif code == 9748
num = 1000
elsif code == 9749
num = 100
elsif code == 9750
num = 100
elsif code == 9751
num = 100
elsif code == 9753
num = 1000
elsif code == 9755
num = 100
elsif code == 9756
num = 1000
elsif code == 9757
num = 100
elsif code == 9758
num = 1000
elsif code == 9759
num = 100
elsif code == 9760
num = 100
elsif code == 9761
num = 1000
elsif code == 9762
num = 1000
elsif code == 9763
num = 1000
elsif code == 9764
num = 1000
elsif code == 9765
num = 1000
elsif code == 9766
num = 100
elsif code == 9767
num = 1000
elsif code == 9768
num = 100
elsif code == 9769
num = 1000
elsif code == 9776
num = 1000
elsif code == 9777
num = 100
elsif code == 9778
num = 1000
elsif code == 9780
num = 1000
elsif code == 9781
num = 1000
elsif code == 9782
num = 1000
elsif code == 9783
num = 100
elsif code == 9784
num = 100
elsif code == 9785
num = 1000
elsif code == 9787
num = 100
elsif code == 9788
num = 100
elsif code == 9789
num = 100
elsif code == 9790
num = 500
elsif code == 9791
num = 100
elsif code == 9792
num = 100
elsif code == 9793
num = 100
elsif code == 9794
num = 1000
elsif code == 9795
num = 1000
elsif code == 9796
num = 100
elsif code == 9797
num = 100
elsif code == 9799
num = 1000
elsif code == 9810
num = 1000
elsif code == 9812
num = 100
elsif code == 9813
num = 100
elsif code == 9814
num = 100
elsif code == 9815
num = 100
elsif code == 9816
num = 1000
elsif code == 9817
num = 100
elsif code == 9818
num = 100
elsif code == 9819
num = 1000
elsif code == 9820
num = 1000
elsif code == 9822
num = 1000
elsif code == 9823
num = 100
elsif code == 9824
num = 100
elsif code == 9826
num = 1000
elsif code == 9827
num = 1000
elsif code == 9828
num = 100
elsif code == 9829
num = 1000
elsif code == 9830
num = 100
elsif code == 9831
num = 100
elsif code == 9832
num = 100
elsif code == 9833
num = 100
elsif code == 9834
num = 100
elsif code == 9835
num = 1000
elsif code == 9836
num = 1000
elsif code == 9837
num = 1000
elsif code == 9838
num = 1000
elsif code == 9840
num = 100
elsif code == 9841
num = 1000
elsif code == 9842
num = 100
elsif code == 9843
num = 50
elsif code == 9844
num = 100
elsif code == 9845
num = 1000
elsif code == 9846
num = 100
elsif code == 9847
num = 1000
elsif code == 9849
num = 1000
elsif code == 9850
num = 1000
elsif code == 9852
num = 1000
elsif code == 9853
num = 1000
elsif code == 9854
num = 100
elsif code == 9855
num = 1000
elsif code == 9856
num = 100
elsif code == 9857
num = 500
elsif code == 9858
num = 100
elsif code == 9859
num = 100
elsif code == 9861
num = 1
elsif code == 9864
num = 1000
elsif code == 9865
num = 100
elsif code == 9866
num = 1000
elsif code == 9867
num = 1000
elsif code == 9869
num = 100
elsif code == 9870
num = 100
elsif code == 9872
num = 1000
elsif code == 9873
num = 1000
elsif code == 9874
num = 1000
elsif code == 9875
num = 100
elsif code == 9876
num = 1000
elsif code == 9877
num = 1000
elsif code == 9878
num = 1000
elsif code == 9879
num = 1000
elsif code == 9880
num = 100
elsif code == 9882
num = 100
elsif code == 9883
num = 100
elsif code == 9884
num = 100
elsif code == 9885
num = 100
elsif code == 9887
num = 100
elsif code == 9888
num = 100
elsif code == 9889
num = 100
elsif code == 9890
num = 100
elsif code == 9892
num = 100
elsif code == 9895
num = 1000
elsif code == 9896
num = 100
elsif code == 9897
num = 500
elsif code == 9898
num = 1000
elsif code == 9899
num = 1000
elsif code == 9900
num = 1000
elsif code == 9901
num = 1000
elsif code == 9902
num = 100
elsif code == 9903
num = 1000
elsif code == 9904
num = 1000
elsif code == 9905
num = 1000
elsif code == 9906
num = 1000
elsif code == 9907
num = 1000
elsif code == 9908
num = 100
elsif code == 9909
num = 1000
elsif code == 9911
num = 1000
elsif code == 9912
num = 500
elsif code == 9913
num = 1000
elsif code == 9914
num = 1000
elsif code == 9916
num = 100
elsif code == 9918
num = 1000
elsif code == 9919
num = 100
elsif code == 9922
num = 500
elsif code == 9923
num = 1000
elsif code == 9924
num = 1000
elsif code == 9927
num = 1000
elsif code == 9928
num = 500
elsif code == 9929
num = 1000
elsif code == 9930
num = 500
elsif code == 9931
num = 1000
elsif code == 9932
num = 500
elsif code == 9934
num = 100
elsif code == 9935
num = 1000
elsif code == 9936
num = 100
elsif code == 9937
num = 100
elsif code == 9938
num = 1000
elsif code == 9939
num = 1000
elsif code == 9941
num = 1000
elsif code == 9942
num = 100
elsif code == 9943
num = 100
elsif code == 9944
num = 100
elsif code == 9945
num = 100
elsif code == 9946
num = 1000
elsif code == 9947
num = 100
elsif code == 9948
num = 100
elsif code == 9949
num = 1000
elsif code == 9950
num = 1000
elsif code == 9951
num = 100
elsif code == 9952
num = 100
elsif code == 9953
num = 100
elsif code == 9955
num = 100
elsif code == 9956
num = 100
elsif code == 9957
num = 100
elsif code == 9959
num = 100
elsif code == 9960
num = 1000
elsif code == 9961
num = 1000
elsif code == 9962
num = 100
elsif code == 9963
num = 100
elsif code == 9964
num = 100
elsif code == 9966
num = 100
elsif code == 9967
num = 1000
elsif code == 9968
num = 1000
elsif code == 9969
num = 1000
elsif code == 9971
num = 1000
elsif code == 9972
num = 100
elsif code == 9973
num = 500
elsif code == 9974
num = 100
elsif code == 9975
num = 100
elsif code == 9976
num = 1000
elsif code == 9977
num = 1000
elsif code == 9978
num = 100
elsif code == 9979
num = 100
elsif code == 9980
num = 100
elsif code == 9982
num = 1000
elsif code == 9983
num = 100
elsif code == 9984
num = 100
elsif code == 9986
num = 100
elsif code == 9987
num = 100
elsif code == 9988
num = 1000
elsif code == 9989
num = 100
elsif code == 9990
num = 1000
elsif code == 9991
num = 100
elsif code == 9992
num = 1000
elsif code == 9993
num = 1000
elsif code == 9994
num = 100
elsif code == 9995
num = 1000
elsif code == 9996
num = 100
elsif code == 9997
num = 50
end
return num
end
・・・・・・・・・・・・・・・・・・・・・・・・・・・
これを使う場合、親はこんなふうになるとおもいます。
・・・・・・・・・・・・・・・・・・・・・・・・・・・
require "Tanilib"
・・・・・・・・・・・・・・・・・・・・・・・・・・・
// 買い総額分の株数を求める
def Num(price)
tani = Tani(Code)
if tani == 0
tani = $buy_gaku / price
if tani >= 1000
tani = 1000
elsif tani >= 500
tani = 500
elsif tani >= 100
tani = 100
elsif tani >= 50
tani = 50
else
tani = 1
end
end
num = $buy_gaku / (tani * price) * tani
return num
end
・・・・・・・・・・・・・・・・・・・・・・・・・・・
if {1}Open
$buy = {1}Open
else
$buy = Close
end
$hold = Num($buy)
if $hold
Buy($buy, $hold)
$lastday =0
end
・・・・・・・・・・・・・・・・・・・・・・・・・・・
結果的に資金量が足りず、買えない場合は、買わないで通過します。




Protra-users メーリングリストの案内
Back to archive index