div_rom.cod 33.3 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036
# code file for div ROM
# 
NX=8, NY=2, ND=16 
# 
#  NX = number of row address bits 
#  NY = number of col address bits 
#  ND = number of output bits 
# 
#  AAAAAAAAAA   DDDDDDDDDDDDDDDD 
#  0000000000   1111110000000000 
#  9876543210   5432109876543210 
# 
   0000000000   1111111111111111
   0000000001   1111111100000000
   0000000010   1111111000000001
   0000000011   1111110100000100
   0000000100   1111110000000111
   0000000101   1111101100001100
   0000000110   1111101000010001
   0000000111   1111100100011000
   0000001000   1111100000011111
   0000001001   1111011100100111
   0000001010   1111011000110001
   0000001011   1111010100111011
   0000001100   1111010001000110
   0000001101   1111001101010010
   0000001110   1111001001011111
   0000001111   1111000101101101
   0000010000   1111000001111100
   0000010001   1110111110001011
   0000010010   1110111010011100
   0000010011   1110110110101110
   0000010100   1110110011000000
   0000010101   1110101111010011
   0000010110   1110101011101000
   0000010111   1110100111111101
   0000011000   1110100100010011
   0000011001   1110100000101001
   0000011010   1110011101000001
   0000011011   1110011001011010
   0000011100   1110010101110011
   0000011101   1110010010001101
   0000011110   1110001110101001
   0000011111   1110001011000101
   0000100000   1110000111100001
   0000100001   1110000011111111
   0000100010   1110000000011110
   0000100011   1101111100111101
   0000100100   1101111001011101
   0000100101   1101110101111110
   0000100110   1101110010100000
   0000100111   1101101111000010
   0000101000   1101101011100110
   0000101001   1101101000001010
   0000101010   1101100100101111
   0000101011   1101100001010100
   0000101100   1101011101111011
   0000101101   1101011010100010
   0000101110   1101010111001010
   0000101111   1101010011110011
   0000110000   1101010000011101
   0000110001   1101001101000111
   0000110010   1101001001110010
   0000110011   1101000110011110
   0000110100   1101000011001011
   0000110101   1100111111111000
   0000110110   1100111100100110
   0000110111   1100111001010101
   0000111000   1100110110000101
   0000111001   1100110010110101
   0000111010   1100101111100110
   0000111011   1100101100011000
   0000111100   1100101001001011
   0000111101   1100100101111110
   0000111110   1100100010110010
   0000111111   1100011111100111
   0001000000   1100011100011100
   0001000001   1100011001010010
   0001000010   1100010110001001
   0001000011   1100010011000000
   0001000100   1100001111111000
   0001000101   1100001100110001
   0001000110   1100001001101011
   0001000111   1100000110100101
   0001001000   1100000011100000
   0001001001   1100000000011100
   0001001010   1011111101011000
   0001001011   1011111010010101
   0001001100   1011110111010010
   0001001101   1011110100010000
   0001001110   1011110001001111
   0001001111   1011101110001111
   0001010000   1011101011001111
   0001010001   1011101000010000
   0001010010   1011100101010001
   0001010011   1011100010010100
   0001010100   1011011111010110
   0001010101   1011011100011010
   0001010110   1011011001011110
   0001010111   1011010110100010
   0001011000   1011010011101000
   0001011001   1011010000101110
   0001011010   1011001101110100
   0001011011   1011001010111011
   0001011100   1011001000000011
   0001011101   1011000101001011
   0001011110   1011000010010100
   0001011111   1010111111011110
   0001100000   1010111100101000
   0001100001   1010111001110011
   0001100010   1010110110111110
   0001100011   1010110100001010
   0001100100   1010110001010111
   0001100101   1010101110100100
   0001100110   1010101011110001
   0001100111   1010101001000000
   0001101000   1010100110001110
   0001101001   1010100011011110
   0001101010   1010100000101110
   0001101011   1010011101111110
   0001101100   1010011011010000
   0001101101   1010011000100001
   0001101110   1010010101110100
   0001101111   1010010011000110
   0001110000   1010010000011010
   0001110001   1010001101101110
   0001110010   1010001011000010
   0001110011   1010001000010111
   0001110100   1010000101101101
   0001110101   1010000011000011
   0001110110   1010000000011010
   0001110111   1001111101110001
   0001111000   1001111011001000
   0001111001   1001111000100001
   0001111010   1001110101111001
   0001111011   1001110011010011
   0001111100   1001110000101101
   0001111101   1001101110000111
   0001111110   1001101011100010
   0001111111   1001101000111101
   0010000000   1001100110011001
   0010000001   1001100011110110
   0010000010   1001100001010010
   0010000011   1001011110110000
   0010000100   1001011100001110
   0010000101   1001011001101100
   0010000110   1001010111001011
   0010000111   1001010100101011
   0010001000   1001010010001011
   0010001001   1001001111101011
   0010001010   1001001101001100
   0010001011   1001001010101101
   0010001100   1001001000001111
   0010001101   1001000101110010
   0010001110   1001000011010100
   0010001111   1001000000111000
   0010010000   1000111110011100
   0010010001   1000111100000000
   0010010010   1000111001100101
   0010010011   1000110111001010
   0010010100   1000110100110000
   0010010101   1000110010010110
   0010010110   1000101111111100
   0010010111   1000101101100100
   0010011000   1000101011001011
   0010011001   1000101000110011
   0010011010   1000100110011100
   0010011011   1000100100000100
   0010011100   1000100001101110
   0010011101   1000011111011000
   0010011110   1000011101000010
   0010011111   1000011010101101
   0010100000   1000011000011000
   0010100001   1000010110000011
   0010100010   1000010011110000
   0010100011   1000010001011100
   0010100100   1000001111001001
   0010100101   1000001100110110
   0010100110   1000001010100100
   0010100111   1000001000010010
   0010101000   1000000110000001
   0010101001   1000000011110000
   0010101010   1000000001100000
   0010101011   0111111111010000
   0010101100   0111111101000000
   0010101101   0111111010110001
   0010101110   0111111000100010
   0010101111   0111110110010011
   0010110000   0111110100000101
   0010110001   0111110001111000
   0010110010   0111101111101011
   0010110011   0111101101011110
   0010110100   0111101011010010
   0010110101   0111101001000110
   0010110110   0111100110111010
   0010110111   0111100100101111
   0010111000   0111100010100100
   0010111001   0111100000011010
   0010111010   0111011110010000
   0010111011   0111011100000110
   0010111100   0111011001111101
   0010111101   0111010111110101
   0010111110   0111010101101100
   0010111111   0111010011100100
   0011000000   0111010001011101
   0011000001   0111001111010101
   0011000010   0111001101001111
   0011000011   0111001011001000
   0011000100   0111001001000010
   0011000101   0111000110111100
   0011000110   0111000100110111
   0011000111   0111000010110010
   0011001000   0111000000101110
   0011001001   0110111110101001
   0011001010   0110111100100110
   0011001011   0110111010100010
   0011001100   0110111000011111
   0011001101   0110110110011100
   0011001110   0110110100011010
   0011001111   0110110010011000
   0011010000   0110110000010110
   0011010001   0110101110010101
   0011010010   0110101100010100
   0011010011   0110101010010100
   0011010100   0110101000010011
   0011010101   0110100110010011
   0011010110   0110100100010100
   0011010111   0110100010010101
   0011011000   0110100000010110
   0011011001   0110011110011000
   0011011010   0110011100011001
   0011011011   0110011010011100
   0011011100   0110011000011110
   0011011101   0110010110100001
   0011011110   0110010100100100
   0011011111   0110010010101000
   0011100000   0110010000101100
   0011100001   0110001110110000
   0011100010   0110001100110101
   0011100011   0110001010111010
   0011100100   0110001000111111
   0011100101   0110000111000101
   0011100110   0110000101001011
   0011100111   0110000011010001
   0011101000   0110000001011000
   0011101001   0101111111011111
   0011101010   0101111101100110
   0011101011   0101111011101101
   0011101100   0101111001110101
   0011101101   0101110111111101
   0011101110   0101110110000110
   0011101111   0101110100001111
   0011110000   0101110010011000
   0011110001   0101110000100010
   0011110010   0101101110101011
   0011110011   0101101100110101
   0011110100   0101101011000000
   0011110101   0101101001001011
   0011110110   0101100111010110
   0011110111   0101100101100001
   0011111000   0101100011101101
   0011111001   0101100001111001
   0011111010   0101100000000101
   0011111011   0101011110010001
   0011111100   0101011100011110
   0011111101   0101011010101100
   0011111110   0101011000111001
   0011111111   0101010111000111
   0100000000   0101010101010101
   0100000001   0101010011100011
   0100000010   0101010001110010
   0100000011   0101010000000001
   0100000100   0101001110010000
   0100000101   0101001100100000
   0100000110   0101001010101111
   0100000111   0101001001000000
   0100001000   0101000111010000
   0100001001   0101000101100001
   0100001010   0101000011110010
   0100001011   0101000010000011
   0100001100   0101000000010101
   0100001101   0100111110100110
   0100001110   0100111100111000
   0100001111   0100111011001011
   0100010000   0100111001011110
   0100010001   0100110111110001
   0100010010   0100110110000100
   0100010011   0100110100010111
   0100010100   0100110010101011
   0100010101   0100110000111111
   0100010110   0100101111010011
   0100010111   0100101101101000
   0100011000   0100101011111101
   0100011001   0100101010010010
   0100011010   0100101000100111
   0100011011   0100100110111101
   0100011100   0100100101010011
   0100011101   0100100011101001
   0100011110   0100100010000000
   0100011111   0100100000010111
   0100100000   0100011110101110
   0100100001   0100011101000101
   0100100010   0100011011011100
   0100100011   0100011001110100
   0100100100   0100011000001100
   0100100101   0100010110100101
   0100100110   0100010100111101
   0100100111   0100010011010110
   0100101000   0100010001101111
   0100101001   0100010000001000
   0100101010   0100001110100010
   0100101011   0100001100111100
   0100101100   0100001011010110
   0100101101   0100001001110000
   0100101110   0100001000001011
   0100101111   0100000110100110
   0100110000   0100000101000001
   0100110001   0100000011011100
   0100110010   0100000001111000
   0100110011   0100000000010100
   0100110100   0011111110110000
   0100110101   0011111101001100
   0100110110   0011111011101000
   0100110111   0011111010000101
   0100111000   0011111000100010
   0100111001   0011110111000000
   0100111010   0011110101011101
   0100111011   0011110011111011
   0100111100   0011110010011001
   0100111101   0011110000110111
   0100111110   0011101111010110
   0100111111   0011101101110100
   0101000000   0011101100010011
   0101000001   0011101010110010
   0101000010   0011101001010010
   0101000011   0011100111110001
   0101000100   0011100110010001
   0101000101   0011100100110001
   0101000110   0011100011010010
   0101000111   0011100001110010
   0101001000   0011100000010011
   0101001001   0011011110110100
   0101001010   0011011101010101
   0101001011   0011011011110111
   0101001100   0011011010011000
   0101001101   0011011000111010
   0101001110   0011010111011100
   0101001111   0011010101111111
   0101010000   0011010100100001
   0101010001   0011010011000100
   0101010010   0011010001100111
   0101010011   0011010000001010
   0101010100   0011001110101110
   0101010101   0011001101010001
   0101010110   0011001011110101
   0101010111   0011001010011001
   0101011000   0011001000111110
   0101011001   0011000111100010
   0101011010   0011000110000111
   0101011011   0011000100101100
   0101011100   0011000011010001
   0101011101   0011000001110110
   0101011110   0011000000011100
   0101011111   0010111111000010
   0101100000   0010111101101000
   0101100001   0010111100001110
   0101100010   0010111010110100
   0101100011   0010111001011011
   0101100100   0010111000000010
   0101100101   0010110110101001
   0101100110   0010110101010000
   0101100111   0010110011111000
   0101101000   0010110010011111
   0101101001   0010110001000111
   0101101010   0010101111101111
   0101101011   0010101110010111
   0101101100   0010101101000000
   0101101101   0010101011101000
   0101101110   0010101010010001
   0101101111   0010101000111010
   0101110000   0010100111100100
   0101110001   0010100110001101
   0101110010   0010100100110111
   0101110011   0010100011100000
   0101110100   0010100010001011
   0101110101   0010100000110101
   0101110110   0010011111011111
   0101110111   0010011110001010
   0101111000   0010011100110101
   0101111001   0010011011100000
   0101111010   0010011010001011
   0101111011   0010011000110110
   0101111100   0010010111100010
   0101111101   0010010110001101
   0101111110   0010010100111001
   0101111111   0010010011100101
   0110000000   0010010010010010
   0110000001   0010010000111110
   0110000010   0010001111101011
   0110000011   0010001110011000
   0110000100   0010001101000101
   0110000101   0010001011110010
   0110000110   0010001010100000
   0110000111   0010001001001101
   0110001000   0010000111111011
   0110001001   0010000110101001
   0110001010   0010000101010111
   0110001011   0010000100000101
   0110001100   0010000010110100
   0110001101   0010000001100011
   0110001110   0010000000010010
   0110001111   0001111111000001
   0110010000   0001111101110000
   0110010001   0001111100011111
   0110010010   0001111011001111
   0110010011   0001111001111111
   0110010100   0001111000101110
   0110010101   0001110111011111
   0110010110   0001110110001111
   0110010111   0001110100111111
   0110011000   0001110011110000
   0110011001   0001110010100001
   0110011010   0001110001010010
   0110011011   0001110000000011
   0110011100   0001101110110100
   0110011101   0001101101100110
   0110011110   0001101100010111
   0110011111   0001101011001001
   0110100000   0001101001111011
   0110100001   0001101000101101
   0110100010   0001100111100000
   0110100011   0001100110010010
   0110100100   0001100101000101
   0110100101   0001100011111000
   0110100110   0001100010101011
   0110100111   0001100001011110
   0110101000   0001100000010001
   0110101001   0001011111000100
   0110101010   0001011101111000
   0110101011   0001011100101100
   0110101100   0001011011100000
   0110101101   0001011010010100
   0110101110   0001011001001000
   0110101111   0001010111111101
   0110110000   0001010110110001
   0110110001   0001010101100110
   0110110010   0001010100011011
   0110110011   0001010011010000
   0110110100   0001010010000101
   0110110101   0001010000111011
   0110110110   0001001111110000
   0110110111   0001001110100110
   0110111000   0001001101011100
   0110111001   0001001100010010
   0110111010   0001001011001000
   0110111011   0001001001111111
   0110111100   0001001000110101
   0110111101   0001000111101100
   0110111110   0001000110100011
   0110111111   0001000101011001
   0111000000   0001000100010001
   0111000001   0001000011001000
   0111000010   0001000001111111
   0111000011   0001000000110111
   0111000100   0000111111101111
   0111000101   0000111110100110
   0111000110   0000111101011110
   0111000111   0000111100010111
   0111001000   0000111011001111
   0111001001   0000111010000111
   0111001010   0000111001000000
   0111001011   0000110111111001
   0111001100   0000110110110010
   0111001101   0000110101101011
   0111001110   0000110100100100
   0111001111   0000110011011101
   0111010000   0000110010010111
   0111010001   0000110001010000
   0111010010   0000110000001010
   0111010011   0000101111000100
   0111010100   0000101101111110
   0111010101   0000101100111000
   0111010110   0000101011110010
   0111010111   0000101010101101
   0111011000   0000101001101000
   0111011001   0000101000100010
   0111011010   0000100111011101
   0111011011   0000100110011000
   0111011100   0000100101010011
   0111011101   0000100100001111
   0111011110   0000100011001010
   0111011111   0000100010000110
   0111100000   0000100001000010
   0111100001   0000011111111101
   0111100010   0000011110111001
   0111100011   0000011101110110
   0111100100   0000011100110010
   0111100101   0000011011101110
   0111100110   0000011010101011
   0111100111   0000011001101000
   0111101000   0000011000100100
   0111101001   0000010111100001
   0111101010   0000010110011110
   0111101011   0000010101011100
   0111101100   0000010100011001
   0111101101   0000010011010110
   0111101110   0000010010010100
   0111101111   0000010001010010
   0111110000   0000010000010000
   0111110001   0000001111001110
   0111110010   0000001110001100
   0111110011   0000001101001010
   0111110100   0000001100001001
   0111110101   0000001011000111
   0111110110   0000001010000110
   0111110111   0000001001000101
   0111111000   0000001000000100
   0111111001   0000000111000011
   0111111010   0000000110000010
   0111111011   0000000101000001
   0111111100   0000000100000001
   0111111101   0000000011000000
   0111111110   0000000010000000
   0111111111   0000000001000000
   1000000000   0110101000001001
   1000000001   1111111111111111
   1000000010   0110100101010101
   1000000011   1111111100000000
   1000000100   0110100010100001
   1000000101   1111111000000010
   1000000110   0110011111101111
   1000000111   1111110100000110
   1000001000   0110011100111110
   1000001001   1111110000001011
   1000001010   0110011010001101
   1000001011   1111101100010010
   1000001100   0110010111011110
   1000001101   1111101000011010
   1000001110   0110010100110000
   1000001111   1111100100100011
   1000010000   0110010010000010
   1000010001   1111100000101110
   1000010010   0110001111010110
   1000010011   1111011100111011
   1000010100   0110001100101011
   1000010101   1111011001001000
   1000010110   0110001010000000
   1000010111   1111010101010111
   1000011000   0110000111010111
   1000011001   1111010001100111
   1000011010   0110000100101110
   1000011011   1111001101111001
   1000011100   0110000010000111
   1000011101   1111001010001100
   1000011110   0101111111100000
   1000011111   1111000110100000
   1000100000   0101111100111010
   1000100001   1111000010110110
   1000100010   0101111010010101
   1000100011   1110111111001101
   1000100100   0101110111110001
   1000100101   1110111011100101
   1000100110   0101110101001110
   1000100111   1110110111111111
   1000101000   0101110010101100
   1000101001   1110110100011001
   1000101010   0101110000001011
   1000101011   1110110000110101
   1000101100   0101101101101011
   1000101101   1110101101010010
   1000101110   0101101011001011
   1000101111   1110101001110001
   1000110000   0101101000101100
   1000110001   1110100110010000
   1000110010   0101100110001111
   1000110011   1110100010110001
   1000110100   0101100011110010
   1000110101   1110011111010011
   1000110110   0101100001010101
   1000110111   1110011011110110
   1000111000   0101011110111010
   1000111001   1110011000011011
   1000111010   0101011100100000
   1000111011   1110010101000000
   1000111100   0101011010000110
   1000111101   1110010001100111
   1000111110   0101010111101101
   1000111111   1110001110001110
   1001000000   0101010101010101
   1001000001   1110001010110111
   1001000010   0101010010111110
   1001000011   1110000111100001
   1001000100   0101010000100111
   1001000101   1110000100001101
   1001000110   0101001110010001
   1001000111   1110000000111001
   1001001000   0101001011111100
   1001001001   1101111101100110
   1001001010   0101001001101000
   1001001011   1101111010010100
   1001001100   0101000111010101
   1001001101   1101110111000100
   1001001110   0101000101000010
   1001001111   1101110011110100
   1001010000   0101000010110000
   1001010001   1101110000100110
   1001010010   0101000000011111
   1001010011   1101101101011001
   1001010100   0100111110001110
   1001010101   1101101010001100
   1001010110   0100111011111110
   1001010111   1101100111000001
   1001011000   0100111001101111
   1001011001   1101100011110111
   1001011010   0100110111100001
   1001011011   1101100000101101
   1001011100   0100110101010011
   1001011101   1101011101100101
   1001011110   0100110011000110
   1001011111   1101011010011110
   1001100000   0100110000111010
   1001100001   1101010111010111
   1001100010   0100101110101111
   1001100011   1101010100010010
   1001100100   0100101100100100
   1001100101   1101010001001110
   1001100110   0100101010011010
   1001100111   1101001110001010
   1001101000   0100101000010000
   1001101001   1101001011001000
   1001101010   0100100110000111
   1001101011   1101001000000110
   1001101100   0100100011111111
   1001101101   1101000101000110
   1001101110   0100100001111000
   1001101111   1101000010000110
   1001110000   0100011111110001
   1001110001   1100111111000111
   1001110010   0100011101101011
   1001110011   1100111100001010
   1001110100   0100011011100101
   1001110101   1100111001001101
   1001110110   0100011001100000
   1001110111   1100110110010001
   1001111000   0100010111011100
   1001111001   1100110011010110
   1001111010   0100010101011000
   1001111011   1100110000011011
   1001111100   0100010011010101
   1001111101   1100101101100010
   1001111110   0100010001010011
   1001111111   1100101010101001
   1010000000   0100001111010001
   1010000001   1100100111110010
   1010000010   0100001101001111
   1010000011   1100100100111011
   1010000100   0100001011001111
   1010000101   1100100010000101
   1010000110   0100001001001111
   1010000111   1100011111010000
   1010001000   0100000111001111
   1010001001   1100011100011100
   1010001010   0100000101010001
   1010001011   1100011001101001
   1010001100   0100000011010010
   1010001101   1100010110110110
   1010001110   0100000001010101
   1010001111   1100010100000100
   1010010000   0011111111011000
   1010010001   1100010001010011
   1010010010   0011111101011011
   1010010011   1100001110100011
   1010010100   0011111011011111
   1010010101   1100001011110100
   1010010110   0011111001100100
   1010010111   1100001001000101
   1010011000   0011110111101001
   1010011001   1100000110011000
   1010011010   0011110101101110
   1010011011   1100000011101011
   1010011100   0011110011110101
   1010011101   1100000000111111
   1010011110   0011110001111100
   1010011111   1011111110010011
   1010100000   0011110000000011
   1010100001   1011111011101001
   1010100010   0011101110001011
   1010100011   1011111000111111
   1010100100   0011101100010011
   1010100101   1011110110010110
   1010100110   0011101010011100
   1010100111   1011110011101101
   1010101000   0011101000100110
   1010101001   1011110001000110
   1010101010   0011100110110000
   1010101011   1011101110011111
   1010101100   0011100100111010
   1010101101   1011101011111000
   1010101110   0011100011000101
   1010101111   1011101001010011
   1010110000   0011100001010001
   1010110001   1011100110101110
   1010110010   0011011111011101
   1010110011   1011100100001010
   1010110100   0011011101101001
   1010110101   1011100001100111
   1010110110   0011011011110110
   1010110111   1011011111000101
   1010111000   0011011010000100
   1010111001   1011011100100011
   1010111010   0011011000010010
   1010111011   1011011010000001
   1010111100   0011010110100000
   1010111101   1011010111100001
   1010111110   0011010100101111
   1010111111   1011010101000001
   1011000000   0011010010111111
   1011000001   1011010010100010
   1011000010   0011010001001111
   1011000011   1011010000000100
   1011000100   0011001111011111
   1011000101   1011001101100110
   1011000110   0011001101110000
   1011000111   1011001011001001
   1011001000   0011001100000010
   1011001001   1011001000101100
   1011001010   0011001010010011
   1011001011   1011000110010001
   1011001100   0011001000100110
   1011001101   1011000011110101
   1011001110   0011000110111001
   1011001111   1011000001011011
   1011010000   0011000101001100
   1011010001   1010111111000001
   1011010010   0011000011011111
   1011010011   1010111100101000
   1011010100   0011000001110100
   1011010101   1010111010001111
   1011010110   0011000000001000
   1011010111   1010110111110111
   1011011000   0010111110011101
   1011011001   1010110101100000
   1011011010   0010111100110011
   1011011011   1010110011001001
   1011011100   0010111011001000
   1011011101   1010110000110011
   1011011110   0010111001011111
   1011011111   1010101110011110
   1011100000   0010110111110110
   1011100001   1010101100001001
   1011100010   0010110110001101
   1011100011   1010101001110101
   1011100100   0010110100100100
   1011100101   1010100111100001
   1011100110   0010110010111100
   1011100111   1010100101001110
   1011101000   0010110001010101
   1011101001   1010100010111100
   1011101010   0010101111101110
   1011101011   1010100000101010
   1011101100   0010101110000111
   1011101101   1010011110011001
   1011101110   0010101100100001
   1011101111   1010011100001000
   1011110000   0010101010111011
   1011110001   1010011001111000
   1011110010   0010101001010101
   1011110011   1010010111101000
   1011110100   0010100111110000
   1011110101   1010010101011001
   1011110110   0010100110001011
   1011110111   1010010011001011
   1011111000   0010100100100111
   1011111001   1010010000111101
   1011111010   0010100011000011
   1011111011   1010001110110000
   1011111100   0010100001100000
   1011111101   1010001100100011
   1011111110   0010011111111101
   1011111111   1010001010010111
   1100000000   0010011110011010
   1100000001   1010001000001011
   1100000010   0010011100111000
   1100000011   1010000110000000
   1100000100   0010011011010110
   1100000101   1010000011110110
   1100000110   0010011001110100
   1100000111   1010000001101100
   1100001000   0010011000010011
   1100001001   1001111111100010
   1100001010   0010010110110010
   1100001011   1001111101011001
   1100001100   0010010101010010
   1100001101   1001111011010001
   1100001110   0010010011110010
   1100001111   1001111001001001
   1100010000   0010010010010010
   1100010001   1001110111000010
   1100010010   0010010000110010
   1100010011   1001110100111011
   1100010100   0010001111010011
   1100010101   1001110010110100
   1100010110   0010001101110101
   1100010111   1001110000101111
   1100011000   0010001100010111
   1100011001   1001101110101001
   1100011010   0010001010111001
   1100011011   1001101100100101
   1100011100   0010001001011011
   1100011101   1001101010100000
   1100011110   0010000111111110
   1100011111   1001101000011100
   1100100000   0010000110100001
   1100100001   1001100110011001
   1100100010   0010000101000101
   1100100011   1001100100010110
   1100100100   0010000011101000
   1100100101   1001100010010100
   1100100110   0010000010001101
   1100100111   1001100000010010
   1100101000   0010000000110001
   1100101001   1001011110010001
   1100101010   0001111111010110
   1100101011   1001011100010000
   1100101100   0001111101111011
   1100101101   1001011010001111
   1100101110   0001111100100001
   1100101111   1001011000001111
   1100110000   0001111011000111
   1100110001   1001010110010000
   1100110010   0001111001101101
   1100110011   1001010100010001
   1100110100   0001111000010011
   1100110101   1001010010010010
   1100110110   0001110110111010
   1100110111   1001010000010100
   1100111000   0001110101100001
   1100111001   1001001110010111
   1100111010   0001110100001001
   1100111011   1001001100011010
   1100111100   0001110010110001
   1100111101   1001001010011101
   1100111110   0001110001011001
   1100111111   1001001000100001
   1101000000   0001110000000001
   1101000001   1001000110100101
   1101000010   0001101110101010
   1101000011   1001000100101001
   1101000100   0001101101010011
   1101000101   1001000010101111
   1101000110   0001101011111100
   1101000111   1001000000110100
   1101001000   0001101010100110
   1101001001   1000111110111010
   1101001010   0001101001010000
   1101001011   1000111101000000
   1101001100   0001100111111010
   1101001101   1000111011000111
   1101001110   0001100110100101
   1101001111   1000111001001111
   1101010000   0001100101010000
   1101010001   1000110111010110
   1101010010   0001100011111011
   1101010011   1000110101011110
   1101010100   0001100010100111
   1101010101   1000110011100111
   1101010110   0001100001010011
   1101010111   1000110001110000
   1101011000   0001011111111111
   1101011001   1000101111111001
   1101011010   0001011110101011
   1101011011   1000101110000011
   1101011100   0001011101011000
   1101011101   1000101100001101
   1101011110   0001011100000101
   1101011111   1000101010011000
   1101100000   0001011010110010
   1101100001   1000101000100011
   1101100010   0001011001100000
   1101100011   1000100110101110
   1101100100   0001011000001101
   1101100101   1000100100111010
   1101100110   0001010110111100
   1101100111   1000100011000110
   1101101000   0001010101101010
   1101101001   1000100001010011
   1101101010   0001010100011001
   1101101011   1000011111100000
   1101101100   0001010011001000
   1101101101   1000011101101101
   1101101110   0001010001110111
   1101101111   1000011011111011
   1101110000   0001010000100110
   1101110001   1000011010001001
   1101110010   0001001111010110
   1101110011   1000011000011000
   1101110100   0001001110000110
   1101110101   1000010110100111
   1101110110   0001001100110111
   1101110111   1000010100110110
   1101111000   0001001011100111
   1101111001   1000010011000110
   1101111010   0001001010011000
   1101111011   1000010001010110
   1101111100   0001001001001001
   1101111101   1000001111100111
   1101111110   0001000111111011
   1101111111   1000001101110111
   1110000000   0001000110101100
   1110000001   1000001100001001
   1110000010   0001000101011110
   1110000011   1000001010011010
   1110000100   0001000100010001
   1110000101   1000001000101100
   1110000110   0001000011000011
   1110000111   1000000110111111
   1110001000   0001000001110110
   1110001001   1000000101010001
   1110001010   0001000000101001
   1110001011   1000000011100100
   1110001100   0000111111011100
   1110001101   1000000001111000
   1110001110   0000111110001111
   1110001111   1000000000001100
   1110010000   0000111101000011
   1110010001   0111111110100000
   1110010010   0000111011110111
   1110010011   0111111100110100
   1110010100   0000111010101011
   1110010101   0111111011001001
   1110010110   0000111001100000
   1110010111   0111111001011110
   1110011000   0000111000010101
   1110011001   0111110111110100
   1110011010   0000110111001010
   1110011011   0111110110001010
   1110011100   0000110101111111
   1110011101   0111110100100000
   1110011110   0000110100110100
   1110011111   0111110010110110
   1110100000   0000110011101010
   1110100001   0111110001001101
   1110100010   0000110010100000
   1110100011   0111101111100101
   1110100100   0000110001010110
   1110100101   0111101101111100
   1110100110   0000110000001100
   1110100111   0111101100010100
   1110101000   0000101111000011
   1110101001   0111101010101100
   1110101010   0000101101111010
   1110101011   0111101001000101
   1110101100   0000101100110001
   1110101101   0111100111011110
   1110101110   0000101011101000
   1110101111   0111100101110111
   1110110000   0000101010100000
   1110110001   0111100100010001
   1110110010   0000101001011000
   1110110011   0111100010101011
   1110110100   0000101000010000
   1110110101   0111100001000101
   1110110110   0000100111001000
   1110110111   0111011111011111
   1110111000   0000100110000001
   1110111001   0111011101111010
   1110111010   0000100100111001
   1110111011   0111011100010101
   1110111100   0000100011110010
   1110111101   0111011010110001
   1110111110   0000100010101011
   1110111111   0111011001001101
   1111000000   0000100001100101
   1111000001   0111010111101001
   1111000010   0000100000011110
   1111000011   0111010110000101
   1111000100   0000011111011000
   1111000101   0111010100100010
   1111000110   0000011110010010
   1111000111   0111010010111111
   1111001000   0000011101001101
   1111001001   0111010001011101
   1111001010   0000011100000111
   1111001011   0111001111111010
   1111001100   0000011011000010
   1111001101   0111001110011000
   1111001110   0000011001111101
   1111001111   0111001100110111
   1111010000   0000011000111000
   1111010001   0111001011010101
   1111010010   0000010111110011
   1111010011   0111001001110100
   1111010100   0000010110101111
   1111010101   0111001000010011
   1111010110   0000010101101010
   1111010111   0111000110110011
   1111011000   0000010100100110
   1111011001   0111000101010010
   1111011010   0000010011100010
   1111011011   0111000011110010
   1111011100   0000010010011111
   1111011101   0111000010010011
   1111011110   0000010001011011
   1111011111   0111000000110011
   1111100000   0000010000011000
   1111100001   0110111111010100
   1111100010   0000001111010101
   1111100011   0110111101110110
   1111100100   0000001110010010
   1111100101   0110111100010111
   1111100110   0000001101010000
   1111100111   0110111010111001
   1111101000   0000001100001101
   1111101001   0110111001011011
   1111101010   0000001011001011
   1111101011   0110110111111101
   1111101100   0000001010001001
   1111101101   0110110110100000
   1111101110   0000001001000111
   1111101111   0110110101000011
   1111110000   0000001000000110
   1111110001   0110110011100110
   1111110010   0000000111000100
   1111110011   0110110010001010
   1111110100   0000000110000011
   1111110101   0110110000101101
   1111110110   0000000101000010
   1111110111   0110101111010001
   1111111000   0000000100000001
   1111111001   0110101101110110
   1111111010   0000000011000000
   1111111011   0110101100011010
   1111111100   0000000010000000
   1111111101   0110101010111111
   1111111110   0000000001000000
   1111111111   0110101001100100