input 7.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000
  1. forward 1
  2. down 9
  3. down 4
  4. forward 4
  5. down 2
  6. down 7
  7. up 9
  8. down 5
  9. forward 9
  10. forward 9
  11. down 2
  12. forward 7
  13. forward 9
  14. down 5
  15. down 2
  16. up 9
  17. down 7
  18. forward 6
  19. down 6
  20. down 6
  21. up 1
  22. down 2
  23. forward 8
  24. forward 8
  25. forward 9
  26. up 1
  27. forward 4
  28. up 1
  29. forward 3
  30. forward 5
  31. up 3
  32. up 7
  33. down 4
  34. down 1
  35. forward 3
  36. forward 4
  37. up 3
  38. forward 9
  39. down 2
  40. forward 5
  41. up 2
  42. up 1
  43. up 5
  44. forward 1
  45. up 9
  46. forward 6
  47. up 4
  48. down 4
  49. forward 3
  50. up 7
  51. down 1
  52. down 1
  53. down 8
  54. forward 3
  55. forward 1
  56. up 7
  57. up 1
  58. down 4
  59. up 6
  60. down 6
  61. forward 8
  62. down 3
  63. down 9
  64. down 6
  65. up 8
  66. forward 8
  67. down 9
  68. up 7
  69. down 7
  70. forward 8
  71. down 8
  72. up 6
  73. down 7
  74. down 4
  75. up 7
  76. forward 7
  77. forward 7
  78. forward 2
  79. forward 5
  80. down 5
  81. down 9
  82. down 8
  83. down 5
  84. up 3
  85. down 3
  86. down 6
  87. down 6
  88. forward 1
  89. down 2
  90. forward 2
  91. down 5
  92. up 2
  93. forward 5
  94. down 1
  95. down 3
  96. forward 4
  97. down 2
  98. forward 8
  99. down 6
  100. forward 3
  101. forward 3
  102. forward 9
  103. down 9
  104. down 4
  105. down 8
  106. down 7
  107. down 3
  108. up 6
  109. down 7
  110. forward 9
  111. up 9
  112. down 8
  113. forward 9
  114. forward 8
  115. down 2
  116. up 4
  117. forward 8
  118. up 7
  119. down 2
  120. forward 6
  121. forward 7
  122. down 5
  123. up 4
  124. down 3
  125. down 3
  126. down 5
  127. down 2
  128. down 5
  129. forward 8
  130. forward 8
  131. down 5
  132. up 4
  133. down 6
  134. forward 5
  135. up 6
  136. up 5
  137. down 4
  138. forward 7
  139. forward 5
  140. down 7
  141. up 9
  142. up 4
  143. up 9
  144. forward 8
  145. down 8
  146. down 8
  147. down 2
  148. down 8
  149. down 8
  150. up 6
  151. forward 2
  152. down 9
  153. forward 5
  154. forward 4
  155. down 8
  156. up 5
  157. forward 3
  158. forward 1
  159. down 6
  160. forward 9
  161. forward 2
  162. forward 1
  163. up 5
  164. down 2
  165. forward 5
  166. up 6
  167. up 6
  168. forward 9
  169. up 3
  170. forward 2
  171. forward 9
  172. down 9
  173. down 5
  174. up 4
  175. up 7
  176. up 8
  177. forward 4
  178. forward 3
  179. down 7
  180. down 5
  181. forward 5
  182. down 6
  183. forward 9
  184. up 4
  185. up 6
  186. down 2
  187. forward 6
  188. forward 7
  189. up 9
  190. up 5
  191. down 4
  192. up 5
  193. down 2
  194. forward 4
  195. up 9
  196. down 1
  197. forward 7
  198. down 9
  199. forward 5
  200. down 5
  201. down 2
  202. up 4
  203. up 8
  204. down 8
  205. down 7
  206. up 7
  207. down 1
  208. forward 5
  209. forward 8
  210. down 2
  211. down 1
  212. forward 8
  213. down 7
  214. up 6
  215. forward 9
  216. forward 4
  217. down 8
  218. forward 1
  219. up 8
  220. forward 3
  221. up 4
  222. forward 9
  223. down 6
  224. forward 5
  225. forward 1
  226. forward 8
  227. forward 5
  228. forward 8
  229. down 4
  230. forward 8
  231. forward 2
  232. forward 8
  233. forward 3
  234. down 3
  235. forward 6
  236. up 6
  237. up 9
  238. down 4
  239. down 6
  240. forward 6
  241. down 9
  242. up 2
  243. down 8
  244. down 6
  245. down 1
  246. forward 1
  247. down 2
  248. down 3
  249. forward 5
  250. forward 6
  251. down 5
  252. up 7
  253. up 2
  254. forward 2
  255. down 4
  256. down 4
  257. forward 3
  258. down 4
  259. up 4
  260. forward 1
  261. down 4
  262. forward 9
  263. forward 7
  264. forward 6
  265. down 3
  266. down 4
  267. forward 3
  268. forward 3
  269. forward 3
  270. up 6
  271. forward 4
  272. forward 7
  273. forward 3
  274. forward 5
  275. forward 7
  276. forward 4
  277. down 1
  278. up 2
  279. up 7
  280. forward 4
  281. down 2
  282. forward 2
  283. up 7
  284. down 7
  285. forward 5
  286. forward 9
  287. down 8
  288. forward 5
  289. forward 5
  290. down 9
  291. forward 1
  292. forward 6
  293. down 2
  294. down 3
  295. down 1
  296. down 7
  297. down 3
  298. up 3
  299. down 3
  300. forward 5
  301. down 4
  302. forward 6
  303. forward 2
  304. down 4
  305. forward 4
  306. up 5
  307. up 3
  308. forward 2
  309. forward 5
  310. down 7
  311. up 9
  312. up 5
  313. down 3
  314. forward 8
  315. forward 4
  316. down 8
  317. up 4
  318. forward 8
  319. forward 7
  320. forward 1
  321. down 2
  322. down 6
  323. up 7
  324. forward 9
  325. down 2
  326. down 4
  327. down 3
  328. down 8
  329. up 4
  330. down 2
  331. up 3
  332. forward 1
  333. down 2
  334. up 6
  335. down 9
  336. up 3
  337. down 1
  338. down 1
  339. forward 4
  340. down 2
  341. forward 3
  342. forward 5
  343. forward 7
  344. down 7
  345. up 3
  346. up 5
  347. down 1
  348. down 2
  349. forward 4
  350. down 1
  351. down 1
  352. down 7
  353. up 4
  354. forward 3
  355. down 3
  356. forward 2
  357. down 3
  358. up 7
  359. down 1
  360. up 5
  361. down 7
  362. forward 4
  363. up 2
  364. forward 5
  365. up 4
  366. down 4
  367. down 3
  368. forward 1
  369. up 9
  370. down 5
  371. forward 9
  372. forward 1
  373. down 7
  374. down 2
  375. down 4
  376. down 2
  377. forward 3
  378. down 1
  379. down 2
  380. up 9
  381. forward 2
  382. down 8
  383. forward 1
  384. forward 3
  385. down 5
  386. down 4
  387. forward 2
  388. forward 8
  389. forward 9
  390. down 9
  391. down 6
  392. up 3
  393. forward 1
  394. down 6
  395. down 7
  396. up 3
  397. forward 9
  398. down 2
  399. up 4
  400. forward 3
  401. forward 6
  402. forward 6
  403. down 7
  404. forward 7
  405. forward 6
  406. down 7
  407. up 9
  408. forward 7
  409. down 1
  410. down 8
  411. down 2
  412. down 2
  413. down 9
  414. down 6
  415. forward 1
  416. down 9
  417. forward 9
  418. forward 8
  419. forward 6
  420. forward 9
  421. down 5
  422. forward 9
  423. forward 4
  424. forward 4
  425. down 6
  426. forward 6
  427. forward 5
  428. forward 7
  429. down 7
  430. down 9
  431. forward 4
  432. down 9
  433. up 5
  434. forward 6
  435. down 6
  436. forward 9
  437. up 7
  438. forward 6
  439. up 6
  440. up 9
  441. forward 9
  442. up 4
  443. down 3
  444. up 9
  445. down 8
  446. down 2
  447. forward 4
  448. down 8
  449. down 2
  450. forward 2
  451. down 5
  452. up 3
  453. down 1
  454. forward 4
  455. down 3
  456. forward 3
  457. down 9
  458. forward 6
  459. forward 6
  460. down 9
  461. forward 6
  462. forward 1
  463. down 5
  464. up 1
  465. forward 3
  466. forward 1
  467. forward 5
  468. down 8
  469. forward 7
  470. forward 2
  471. up 3
  472. forward 8
  473. forward 1
  474. forward 7
  475. down 1
  476. down 4
  477. forward 7
  478. forward 9
  479. forward 4
  480. down 2
  481. forward 5
  482. forward 3
  483. forward 9
  484. forward 3
  485. up 3
  486. forward 9
  487. down 3
  488. forward 9
  489. forward 3
  490. forward 7
  491. down 5
  492. forward 6
  493. down 6
  494. forward 5
  495. forward 1
  496. down 1
  497. forward 8
  498. down 3
  499. up 1
  500. down 6
  501. forward 7
  502. up 5
  503. up 7
  504. down 3
  505. forward 8
  506. up 8
  507. down 4
  508. up 6
  509. up 7
  510. forward 1
  511. forward 2
  512. forward 7
  513. down 1
  514. forward 4
  515. down 8
  516. up 6
  517. up 7
  518. up 4
  519. down 7
  520. down 8
  521. down 6
  522. forward 5
  523. forward 9
  524. down 7
  525. forward 8
  526. down 9
  527. down 9
  528. forward 5
  529. forward 2
  530. up 4
  531. down 2
  532. forward 3
  533. down 2
  534. forward 1
  535. down 7
  536. down 6
  537. forward 5
  538. up 2
  539. forward 4
  540. down 4
  541. forward 5
  542. forward 7
  543. up 5
  544. down 7
  545. forward 9
  546. forward 3
  547. forward 6
  548. up 8
  549. down 9
  550. forward 1
  551. up 8
  552. forward 3
  553. down 6
  554. down 1
  555. down 3
  556. down 4
  557. up 2
  558. up 3
  559. forward 8
  560. up 7
  561. down 2
  562. forward 1
  563. down 6
  564. forward 1
  565. down 8
  566. forward 3
  567. forward 5
  568. forward 5
  569. up 5
  570. forward 4
  571. forward 6
  572. down 8
  573. up 7
  574. forward 8
  575. up 6
  576. forward 5
  577. down 4
  578. forward 8
  579. down 3
  580. forward 7
  581. forward 9
  582. forward 8
  583. up 9
  584. forward 4
  585. up 5
  586. up 8
  587. down 8
  588. forward 1
  589. down 1
  590. forward 3
  591. forward 9
  592. down 9
  593. up 2
  594. forward 5
  595. down 1
  596. down 6
  597. forward 2
  598. forward 2
  599. down 2
  600. down 8
  601. forward 5
  602. up 2
  603. up 2
  604. forward 3
  605. down 6
  606. up 2
  607. down 2
  608. down 1
  609. up 9
  610. forward 6
  611. up 4
  612. forward 4
  613. down 2
  614. forward 8
  615. up 9
  616. down 1
  617. forward 9
  618. up 3
  619. up 7
  620. forward 5
  621. down 9
  622. down 2
  623. down 5
  624. up 4
  625. up 8
  626. up 2
  627. down 1
  628. up 4
  629. forward 8
  630. forward 2
  631. down 8
  632. forward 9
  633. forward 1
  634. down 5
  635. forward 3
  636. down 6
  637. forward 3
  638. up 2
  639. down 9
  640. down 6
  641. down 4
  642. down 9
  643. down 8
  644. forward 2
  645. forward 7
  646. up 4
  647. forward 8
  648. up 9
  649. up 6
  650. forward 2
  651. down 1
  652. down 5
  653. down 5
  654. down 3
  655. up 9
  656. up 9
  657. forward 9
  658. forward 5
  659. down 1
  660. down 3
  661. down 8
  662. down 4
  663. forward 5
  664. up 4
  665. down 2
  666. down 5
  667. down 4
  668. down 8
  669. down 2
  670. forward 9
  671. forward 7
  672. up 9
  673. forward 8
  674. down 9
  675. down 2
  676. forward 5
  677. down 9
  678. forward 7
  679. down 2
  680. down 9
  681. forward 4
  682. up 7
  683. down 9
  684. forward 6
  685. forward 2
  686. down 1
  687. down 9
  688. down 3
  689. down 7
  690. down 8
  691. down 5
  692. down 9
  693. down 1
  694. up 9
  695. down 7
  696. forward 7
  697. up 4
  698. down 2
  699. down 4
  700. forward 6
  701. forward 8
  702. forward 1
  703. forward 2
  704. up 2
  705. up 2
  706. forward 9
  707. down 9
  708. forward 8
  709. forward 6
  710. forward 5
  711. down 2
  712. forward 7
  713. up 3
  714. up 8
  715. forward 1
  716. forward 5
  717. down 7
  718. down 7
  719. forward 5
  720. down 1
  721. up 3
  722. up 8
  723. forward 5
  724. forward 7
  725. forward 3
  726. down 6
  727. up 7
  728. forward 8
  729. down 5
  730. up 3
  731. forward 7
  732. down 2
  733. down 1
  734. down 1
  735. forward 1
  736. down 1
  737. down 8
  738. down 3
  739. up 1
  740. forward 8
  741. forward 9
  742. forward 5
  743. forward 8
  744. down 2
  745. forward 3
  746. down 5
  747. up 9
  748. down 9
  749. down 5
  750. forward 1
  751. up 9
  752. up 4
  753. up 7
  754. up 9
  755. up 4
  756. down 2
  757. forward 6
  758. forward 4
  759. up 5
  760. up 6
  761. down 8
  762. down 6
  763. down 6
  764. up 3
  765. forward 3
  766. down 9
  767. down 5
  768. down 5
  769. forward 7
  770. down 6
  771. forward 7
  772. down 9
  773. down 8
  774. down 3
  775. down 7
  776. down 4
  777. down 1
  778. forward 6
  779. up 7
  780. down 1
  781. forward 7
  782. down 2
  783. forward 4
  784. down 3
  785. forward 6
  786. up 7
  787. forward 3
  788. down 3
  789. up 6
  790. down 2
  791. down 4
  792. down 8
  793. forward 6
  794. down 4
  795. forward 7
  796. down 2
  797. forward 9
  798. down 3
  799. down 6
  800. down 3
  801. down 6
  802. forward 4
  803. down 8
  804. up 5
  805. down 6
  806. forward 6
  807. down 6
  808. forward 9
  809. up 8
  810. down 7
  811. up 1
  812. forward 4
  813. up 3
  814. forward 9
  815. up 6
  816. forward 4
  817. up 8
  818. forward 2
  819. down 7
  820. down 7
  821. forward 1
  822. up 9
  823. up 7
  824. forward 3
  825. down 1
  826. up 5
  827. forward 3
  828. forward 1
  829. forward 3
  830. forward 7
  831. down 6
  832. down 1
  833. forward 9
  834. up 1
  835. up 1
  836. down 8
  837. down 7
  838. forward 1
  839. up 8
  840. up 6
  841. down 8
  842. forward 1
  843. up 3
  844. down 7
  845. forward 7
  846. down 7
  847. forward 4
  848. forward 6
  849. up 2
  850. down 9
  851. forward 9
  852. down 4
  853. up 2
  854. forward 7
  855. forward 4
  856. up 8
  857. up 5
  858. down 8
  859. forward 7
  860. forward 6
  861. down 1
  862. up 5
  863. up 5
  864. down 3
  865. forward 7
  866. forward 1
  867. forward 7
  868. forward 1
  869. down 3
  870. forward 3
  871. forward 4
  872. forward 6
  873. down 3
  874. up 4
  875. up 5
  876. down 8
  877. up 3
  878. forward 4
  879. forward 6
  880. forward 8
  881. forward 4
  882. forward 7
  883. down 9
  884. up 3
  885. down 1
  886. up 4
  887. forward 8
  888. forward 5
  889. forward 4
  890. forward 1
  891. down 2
  892. down 7
  893. down 6
  894. forward 4
  895. forward 2
  896. up 2
  897. down 2
  898. forward 2
  899. forward 2
  900. up 6
  901. forward 6
  902. forward 1
  903. forward 8
  904. up 7
  905. forward 4
  906. forward 2
  907. down 2
  908. down 1
  909. forward 4
  910. down 4
  911. up 7
  912. up 2
  913. up 3
  914. down 5
  915. forward 2
  916. forward 9
  917. down 2
  918. down 9
  919. down 4
  920. down 8
  921. up 9
  922. up 5
  923. up 2
  924. forward 6
  925. down 6
  926. forward 9
  927. forward 7
  928. forward 8
  929. forward 4
  930. up 9
  931. forward 9
  932. down 8
  933. down 2
  934. forward 5
  935. down 8
  936. down 8
  937. forward 8
  938. forward 6
  939. forward 7
  940. down 8
  941. forward 1
  942. forward 6
  943. down 4
  944. forward 1
  945. down 3
  946. forward 1
  947. down 8
  948. forward 2
  949. down 4
  950. down 6
  951. down 4
  952. up 9
  953. forward 6
  954. up 3
  955. down 7
  956. forward 3
  957. down 8
  958. forward 6
  959. forward 3
  960. down 1
  961. forward 1
  962. up 6
  963. down 1
  964. down 2
  965. forward 5
  966. down 3
  967. up 5
  968. forward 6
  969. forward 7
  970. forward 2
  971. forward 9
  972. down 7
  973. up 4
  974. forward 6
  975. forward 8
  976. down 6
  977. down 7
  978. down 4
  979. down 5
  980. down 6
  981. down 3
  982. up 1
  983. forward 2
  984. forward 3
  985. down 1
  986. down 7
  987. up 8
  988. forward 1
  989. forward 6
  990. up 3
  991. down 1
  992. up 6
  993. down 2
  994. up 1
  995. up 7
  996. forward 3
  997. up 8
  998. forward 7
  999. forward 5
  1000. forward 5