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