Skip to content

Instantly share code, notes, and snippets.

@pirj
Created October 14, 2020 08:56
Show Gist options
  • Save pirj/c0335b62352209a46d710deef05cd113 to your computer and use it in GitHub Desktop.
Save pirj/c0335b62352209a46d710deef05cd113 to your computer and use it in GitHub Desktop.
# Calculating -------------------------------------
# if 6.053 (± 0.0%) i/s - 31.000 in 5.121795s
# case 0.908 (± 0.0%) i/s - 5.000 in 5.505769s
# case no range 2.967k (± 0.7%) i/s - 14.900k in 5.022385s
# odd? 3.085k (± 0.8%) i/s - 15.450k in 5.009226s
# SCROLL TO THE BOTTOM
def odd_if(a)
if a == 1 then false
elsif a == 2 then true
elsif a == 3 then false
elsif a == 4 then true
elsif a == 5 then false
elsif a == 6 then true
elsif a == 7 then false
elsif a == 8 then true
elsif a == 9 then false
elsif a == 10 then true
elsif a == 11 then false
elsif a == 12 then true
elsif a == 13 then false
elsif a == 14 then true
elsif a == 15 then false
elsif a == 16 then true
elsif a == 17 then false
elsif a == 18 then true
elsif a == 19 then false
elsif a == 20 then true
elsif a == 21 then false
elsif a == 22 then true
elsif a == 23 then false
elsif a == 24 then true
elsif a == 25 then false
elsif a == 26 then true
elsif a == 27 then false
elsif a == 28 then true
elsif a == 29 then false
elsif a == 30 then true
elsif a == 31 then false
elsif a == 32 then true
elsif a == 33 then false
elsif a == 34 then true
elsif a == 35 then false
elsif a == 36 then true
elsif a == 37 then false
elsif a == 38 then true
elsif a == 39 then false
elsif a == 40 then true
elsif a == 41 then false
elsif a == 42 then true
elsif a == 43 then false
elsif a == 44 then true
elsif a == 45 then false
elsif a == 46 then true
elsif a == 47 then false
elsif a == 48 then true
elsif a == 49 then false
elsif a == 50 then true
elsif a == 51 then false
elsif a == 52 then true
elsif a == 53 then false
elsif a == 54 then true
elsif a == 55 then false
elsif a == 56 then true
elsif a == 57 then false
elsif a == 58 then true
elsif a == 59 then false
elsif a == 60 then true
elsif a == 61 then false
elsif a == 62 then true
elsif a == 63 then false
elsif a == 64 then true
elsif a == 65 then false
elsif a == 66 then true
elsif a == 67 then false
elsif a == 68 then true
elsif a == 69 then false
elsif a == 70 then true
elsif a == 71 then false
elsif a == 72 then true
elsif a == 73 then false
elsif a == 74 then true
elsif a == 75 then false
elsif a == 76 then true
elsif a == 77 then false
elsif a == 78 then true
elsif a == 79 then false
elsif a == 80 then true
elsif a == 81 then false
elsif a == 82 then true
elsif a == 83 then false
elsif a == 84 then true
elsif a == 85 then false
elsif a == 86 then true
elsif a == 87 then false
elsif a == 88 then true
elsif a == 89 then false
elsif a == 90 then true
elsif a == 91 then false
elsif a == 92 then true
elsif a == 93 then false
elsif a == 94 then true
elsif a == 95 then false
elsif a == 96 then true
elsif a == 97 then false
elsif a == 98 then true
elsif a == 99 then false
elsif a == 100 then true
elsif a == 101 then false
elsif a == 102 then true
elsif a == 103 then false
elsif a == 104 then true
elsif a == 105 then false
elsif a == 106 then true
elsif a == 107 then false
elsif a == 108 then true
elsif a == 109 then false
elsif a == 110 then true
elsif a == 111 then false
elsif a == 112 then true
elsif a == 113 then false
elsif a == 114 then true
elsif a == 115 then false
elsif a == 116 then true
elsif a == 117 then false
elsif a == 118 then true
elsif a == 119 then false
elsif a == 120 then true
elsif a == 121 then false
elsif a == 122 then true
elsif a == 123 then false
elsif a == 124 then true
elsif a == 125 then false
elsif a == 126 then true
elsif a == 127 then false
elsif a == 128 then true
elsif a == 129 then false
elsif a == 130 then true
elsif a == 131 then false
elsif a == 132 then true
elsif a == 133 then false
elsif a == 134 then true
elsif a == 135 then false
elsif a == 136 then true
elsif a == 137 then false
elsif a == 138 then true
elsif a == 139 then false
elsif a == 140 then true
elsif a == 141 then false
elsif a == 142 then true
elsif a == 143 then false
elsif a == 144 then true
elsif a == 145 then false
elsif a == 146 then true
elsif a == 147 then false
elsif a == 148 then true
elsif a == 149 then false
elsif a == 150 then true
elsif a == 151 then false
elsif a == 152 then true
elsif a == 153 then false
elsif a == 154 then true
elsif a == 155 then false
elsif a == 156 then true
elsif a == 157 then false
elsif a == 158 then true
elsif a == 159 then false
elsif a == 160 then true
elsif a == 161 then false
elsif a == 162 then true
elsif a == 163 then false
elsif a == 164 then true
elsif a == 165 then false
elsif a == 166 then true
elsif a == 167 then false
elsif a == 168 then true
elsif a == 169 then false
elsif a == 170 then true
elsif a == 171 then false
elsif a == 172 then true
elsif a == 173 then false
elsif a == 174 then true
elsif a == 175 then false
elsif a == 176 then true
elsif a == 177 then false
elsif a == 178 then true
elsif a == 179 then false
elsif a == 180 then true
elsif a == 181 then false
elsif a == 182 then true
elsif a == 183 then false
elsif a == 184 then true
elsif a == 185 then false
elsif a == 186 then true
elsif a == 187 then false
elsif a == 188 then true
elsif a == 189 then false
elsif a == 190 then true
elsif a == 191 then false
elsif a == 192 then true
elsif a == 193 then false
elsif a == 194 then true
elsif a == 195 then false
elsif a == 196 then true
elsif a == 197 then false
elsif a == 198 then true
elsif a == 199 then false
elsif a == 200 then true
elsif a == 201 then false
elsif a == 202 then true
elsif a == 203 then false
elsif a == 204 then true
elsif a == 205 then false
elsif a == 206 then true
elsif a == 207 then false
elsif a == 208 then true
elsif a == 209 then false
elsif a == 210 then true
elsif a == 211 then false
elsif a == 212 then true
elsif a == 213 then false
elsif a == 214 then true
elsif a == 215 then false
elsif a == 216 then true
elsif a == 217 then false
elsif a == 218 then true
elsif a == 219 then false
elsif a == 220 then true
elsif a == 221 then false
elsif a == 222 then true
elsif a == 223 then false
elsif a == 224 then true
elsif a == 225 then false
elsif a == 226 then true
elsif a == 227 then false
elsif a == 228 then true
elsif a == 229 then false
elsif a == 230 then true
elsif a == 231 then false
elsif a == 232 then true
elsif a == 233 then false
elsif a == 234 then true
elsif a == 235 then false
elsif a == 236 then true
elsif a == 237 then false
elsif a == 238 then true
elsif a == 239 then false
elsif a == 240 then true
elsif a == 241 then false
elsif a == 242 then true
elsif a == 243 then false
elsif a == 244 then true
elsif a == 245 then false
elsif a == 246 then true
elsif a == 247 then false
elsif a == 248 then true
elsif a == 249 then false
elsif a == 250 then true
elsif a == 251 then false
elsif a == 252 then true
elsif a == 253 then false
elsif a == 254 then true
elsif a == 255 then false
elsif a == 256 then true
elsif a == 257 then false
elsif a == 258 then true
elsif a == 259 then false
elsif a == 260 then true
elsif a == 261 then false
elsif a == 262 then true
elsif a == 263 then false
elsif a == 264 then true
elsif a == 265 then false
elsif a == 266 then true
elsif a == 267 then false
elsif a == 268 then true
elsif a == 269 then false
elsif a == 270 then true
elsif a == 271 then false
elsif a == 272 then true
elsif a == 273 then false
elsif a == 274 then true
elsif a == 275 then false
elsif a == 276 then true
elsif a == 277 then false
elsif a == 278 then true
elsif a == 279 then false
elsif a == 280 then true
elsif a == 281 then false
elsif a == 282 then true
elsif a == 283 then false
elsif a == 284 then true
elsif a == 285 then false
elsif a == 286 then true
elsif a == 287 then false
elsif a == 288 then true
elsif a == 289 then false
elsif a == 290 then true
elsif a == 291 then false
elsif a == 292 then true
elsif a == 293 then false
elsif a == 294 then true
elsif a == 295 then false
elsif a == 296 then true
elsif a == 297 then false
elsif a == 298 then true
elsif a == 299 then false
elsif a == 300 then true
elsif a == 301 then false
elsif a == 302 then true
elsif a == 303 then false
elsif a == 304 then true
elsif a == 305 then false
elsif a == 306 then true
elsif a == 307 then false
elsif a == 308 then true
elsif a == 309 then false
elsif a == 310 then true
elsif a == 311 then false
elsif a == 312 then true
elsif a == 313 then false
elsif a == 314 then true
elsif a == 315 then false
elsif a == 316 then true
elsif a == 317 then false
elsif a == 318 then true
elsif a == 319 then false
elsif a == 320 then true
elsif a == 321 then false
elsif a == 322 then true
elsif a == 323 then false
elsif a == 324 then true
elsif a == 325 then false
elsif a == 326 then true
elsif a == 327 then false
elsif a == 328 then true
elsif a == 329 then false
elsif a == 330 then true
elsif a == 331 then false
elsif a == 332 then true
elsif a == 333 then false
elsif a == 334 then true
elsif a == 335 then false
elsif a == 336 then true
elsif a == 337 then false
elsif a == 338 then true
elsif a == 339 then false
elsif a == 340 then true
elsif a == 341 then false
elsif a == 342 then true
elsif a == 343 then false
elsif a == 344 then true
elsif a == 345 then false
elsif a == 346 then true
elsif a == 347 then false
elsif a == 348 then true
elsif a == 349 then false
elsif a == 350 then true
elsif a == 351 then false
elsif a == 352 then true
elsif a == 353 then false
elsif a == 354 then true
elsif a == 355 then false
elsif a == 356 then true
elsif a == 357 then false
elsif a == 358 then true
elsif a == 359 then false
elsif a == 360 then true
elsif a == 361 then false
elsif a == 362 then true
elsif a == 363 then false
elsif a == 364 then true
elsif a == 365 then false
elsif a == 366 then true
elsif a == 367 then false
elsif a == 368 then true
elsif a == 369 then false
elsif a == 370 then true
elsif a == 371 then false
elsif a == 372 then true
elsif a == 373 then false
elsif a == 374 then true
elsif a == 375 then false
elsif a == 376 then true
elsif a == 377 then false
elsif a == 378 then true
elsif a == 379 then false
elsif a == 380 then true
elsif a == 381 then false
elsif a == 382 then true
elsif a == 383 then false
elsif a == 384 then true
elsif a == 385 then false
elsif a == 386 then true
elsif a == 387 then false
elsif a == 388 then true
elsif a == 389 then false
elsif a == 390 then true
elsif a == 391 then false
elsif a == 392 then true
elsif a == 393 then false
elsif a == 394 then true
elsif a == 395 then false
elsif a == 396 then true
elsif a == 397 then false
elsif a == 398 then true
elsif a == 399 then false
elsif a == 400 then true
elsif a == 401 then false
elsif a == 402 then true
elsif a == 403 then false
elsif a == 404 then true
elsif a == 405 then false
elsif a == 406 then true
elsif a == 407 then false
elsif a == 408 then true
elsif a == 409 then false
elsif a == 410 then true
elsif a == 411 then false
elsif a == 412 then true
elsif a == 413 then false
elsif a == 414 then true
elsif a == 415 then false
elsif a == 416 then true
elsif a == 417 then false
elsif a == 418 then true
elsif a == 419 then false
elsif a == 420 then true
elsif a == 421 then false
elsif a == 422 then true
elsif a == 423 then false
elsif a == 424 then true
elsif a == 425 then false
elsif a == 426 then true
elsif a == 427 then false
elsif a == 428 then true
elsif a == 429 then false
elsif a == 430 then true
elsif a == 431 then false
elsif a == 432 then true
elsif a == 433 then false
elsif a == 434 then true
elsif a == 435 then false
elsif a == 436 then true
elsif a == 437 then false
elsif a == 438 then true
elsif a == 439 then false
elsif a == 440 then true
elsif a == 441 then false
elsif a == 442 then true
elsif a == 443 then false
elsif a == 444 then true
elsif a == 445 then false
elsif a == 446 then true
elsif a == 447 then false
elsif a == 448 then true
elsif a == 449 then false
elsif a == 450 then true
elsif a == 451 then false
elsif a == 452 then true
elsif a == 453 then false
elsif a == 454 then true
elsif a == 455 then false
elsif a == 456 then true
elsif a == 457 then false
elsif a == 458 then true
elsif a == 459 then false
elsif a == 460 then true
elsif a == 461 then false
elsif a == 462 then true
elsif a == 463 then false
elsif a == 464 then true
elsif a == 465 then false
elsif a == 466 then true
elsif a == 467 then false
elsif a == 468 then true
elsif a == 469 then false
elsif a == 470 then true
elsif a == 471 then false
elsif a == 472 then true
elsif a == 473 then false
elsif a == 474 then true
elsif a == 475 then false
elsif a == 476 then true
elsif a == 477 then false
elsif a == 478 then true
elsif a == 479 then false
elsif a == 480 then true
elsif a == 481 then false
elsif a == 482 then true
elsif a == 483 then false
elsif a == 484 then true
elsif a == 485 then false
elsif a == 486 then true
elsif a == 487 then false
elsif a == 488 then true
elsif a == 489 then false
elsif a == 490 then true
elsif a == 491 then false
elsif a == 492 then true
elsif a == 493 then false
elsif a == 494 then true
elsif a == 495 then false
elsif a == 496 then true
elsif a == 497 then false
elsif a == 498 then true
elsif a == 499 then false
elsif a == 500 then true
elsif a == 501 then false
elsif a == 502 then true
elsif a == 503 then false
elsif a == 504 then true
elsif a == 505 then false
elsif a == 506 then true
elsif a == 507 then false
elsif a == 508 then true
elsif a == 509 then false
elsif a == 510 then true
elsif a == 511 then false
elsif a == 512 then true
elsif a == 513 then false
elsif a == 514 then true
elsif a == 515 then false
elsif a == 516 then true
elsif a == 517 then false
elsif a == 518 then true
elsif a == 519 then false
elsif a == 520 then true
elsif a == 521 then false
elsif a == 522 then true
elsif a == 523 then false
elsif a == 524 then true
elsif a == 525 then false
elsif a == 526 then true
elsif a == 527 then false
elsif a == 528 then true
elsif a == 529 then false
elsif a == 530 then true
elsif a == 531 then false
elsif a == 532 then true
elsif a == 533 then false
elsif a == 534 then true
elsif a == 535 then false
elsif a == 536 then true
elsif a == 537 then false
elsif a == 538 then true
elsif a == 539 then false
elsif a == 540 then true
elsif a == 541 then false
elsif a == 542 then true
elsif a == 543 then false
elsif a == 544 then true
elsif a == 545 then false
elsif a == 546 then true
elsif a == 547 then false
elsif a == 548 then true
elsif a == 549 then false
elsif a == 550 then true
elsif a == 551 then false
elsif a == 552 then true
elsif a == 553 then false
elsif a == 554 then true
elsif a == 555 then false
elsif a == 556 then true
elsif a == 557 then false
elsif a == 558 then true
elsif a == 559 then false
elsif a == 560 then true
elsif a == 561 then false
elsif a == 562 then true
elsif a == 563 then false
elsif a == 564 then true
elsif a == 565 then false
elsif a == 566 then true
elsif a == 567 then false
elsif a == 568 then true
elsif a == 569 then false
elsif a == 570 then true
elsif a == 571 then false
elsif a == 572 then true
elsif a == 573 then false
elsif a == 574 then true
elsif a == 575 then false
elsif a == 576 then true
elsif a == 577 then false
elsif a == 578 then true
elsif a == 579 then false
elsif a == 580 then true
elsif a == 581 then false
elsif a == 582 then true
elsif a == 583 then false
elsif a == 584 then true
elsif a == 585 then false
elsif a == 586 then true
elsif a == 587 then false
elsif a == 588 then true
elsif a == 589 then false
elsif a == 590 then true
elsif a == 591 then false
elsif a == 592 then true
elsif a == 593 then false
elsif a == 594 then true
elsif a == 595 then false
elsif a == 596 then true
elsif a == 597 then false
elsif a == 598 then true
elsif a == 599 then false
elsif a == 600 then true
elsif a == 601 then false
elsif a == 602 then true
elsif a == 603 then false
elsif a == 604 then true
elsif a == 605 then false
elsif a == 606 then true
elsif a == 607 then false
elsif a == 608 then true
elsif a == 609 then false
elsif a == 610 then true
elsif a == 611 then false
elsif a == 612 then true
elsif a == 613 then false
elsif a == 614 then true
elsif a == 615 then false
elsif a == 616 then true
elsif a == 617 then false
elsif a == 618 then true
elsif a == 619 then false
elsif a == 620 then true
elsif a == 621 then false
elsif a == 622 then true
elsif a == 623 then false
elsif a == 624 then true
elsif a == 625 then false
elsif a == 626 then true
elsif a == 627 then false
elsif a == 628 then true
elsif a == 629 then false
elsif a == 630 then true
elsif a == 631 then false
elsif a == 632 then true
elsif a == 633 then false
elsif a == 634 then true
elsif a == 635 then false
elsif a == 636 then true
elsif a == 637 then false
elsif a == 638 then true
elsif a == 639 then false
elsif a == 640 then true
elsif a == 641 then false
elsif a == 642 then true
elsif a == 643 then false
elsif a == 644 then true
elsif a == 645 then false
elsif a == 646 then true
elsif a == 647 then false
elsif a == 648 then true
elsif a == 649 then false
elsif a == 650 then true
elsif a == 651 then false
elsif a == 652 then true
elsif a == 653 then false
elsif a == 654 then true
elsif a == 655 then false
elsif a == 656 then true
elsif a == 657 then false
elsif a == 658 then true
elsif a == 659 then false
elsif a == 660 then true
elsif a == 661 then false
elsif a == 662 then true
elsif a == 663 then false
elsif a == 664 then true
elsif a == 665 then false
elsif a == 666 then true
elsif a == 667 then false
elsif a == 668 then true
elsif a == 669 then false
elsif a == 670 then true
elsif a == 671 then false
elsif a == 672 then true
elsif a == 673 then false
elsif a == 674 then true
elsif a == 675 then false
elsif a == 676 then true
elsif a == 677 then false
elsif a == 678 then true
elsif a == 679 then false
elsif a == 680 then true
elsif a == 681 then false
elsif a == 682 then true
elsif a == 683 then false
elsif a == 684 then true
elsif a == 685 then false
elsif a == 686 then true
elsif a == 687 then false
elsif a == 688 then true
elsif a == 689 then false
elsif a == 690 then true
elsif a == 691 then false
elsif a == 692 then true
elsif a == 693 then false
elsif a == 694 then true
elsif a == 695 then false
elsif a == 696 then true
elsif a == 697 then false
elsif a == 698 then true
elsif a == 699 then false
elsif a == 700 then true
elsif a == 701 then false
elsif a == 702 then true
elsif a == 703 then false
elsif a == 704 then true
elsif a == 705 then false
elsif a == 706 then true
elsif a == 707 then false
elsif a == 708 then true
elsif a == 709 then false
elsif a == 710 then true
elsif a == 711 then false
elsif a == 712 then true
elsif a == 713 then false
elsif a == 714 then true
elsif a == 715 then false
elsif a == 716 then true
elsif a == 717 then false
elsif a == 718 then true
elsif a == 719 then false
elsif a == 720 then true
elsif a == 721 then false
elsif a == 722 then true
elsif a == 723 then false
elsif a == 724 then true
elsif a == 725 then false
elsif a == 726 then true
elsif a == 727 then false
elsif a == 728 then true
elsif a == 729 then false
elsif a == 730 then true
elsif a == 731 then false
elsif a == 732 then true
elsif a == 733 then false
elsif a == 734 then true
elsif a == 735 then false
elsif a == 736 then true
elsif a == 737 then false
elsif a == 738 then true
elsif a == 739 then false
elsif a == 740 then true
elsif a == 741 then false
elsif a == 742 then true
elsif a == 743 then false
elsif a == 744 then true
elsif a == 745 then false
elsif a == 746 then true
elsif a == 747 then false
elsif a == 748 then true
elsif a == 749 then false
elsif a == 750 then true
elsif a == 751 then false
elsif a == 752 then true
elsif a == 753 then false
elsif a == 754 then true
elsif a == 755 then false
elsif a == 756 then true
elsif a == 757 then false
elsif a == 758 then true
elsif a == 759 then false
elsif a == 760 then true
elsif a == 761 then false
elsif a == 762 then true
elsif a == 763 then false
elsif a == 764 then true
elsif a == 765 then false
elsif a == 766 then true
elsif a == 767 then false
elsif a == 768 then true
elsif a == 769 then false
elsif a == 770 then true
elsif a == 771 then false
elsif a == 772 then true
elsif a == 773 then false
elsif a == 774 then true
elsif a == 775 then false
elsif a == 776 then true
elsif a == 777 then false
elsif a == 778 then true
elsif a == 779 then false
elsif a == 780 then true
elsif a == 781 then false
elsif a == 782 then true
elsif a == 783 then false
elsif a == 784 then true
elsif a == 785 then false
elsif a == 786 then true
elsif a == 787 then false
elsif a == 788 then true
elsif a == 789 then false
elsif a == 790 then true
elsif a == 791 then false
elsif a == 792 then true
elsif a == 793 then false
elsif a == 794 then true
elsif a == 795 then false
elsif a == 796 then true
elsif a == 797 then false
elsif a == 798 then true
elsif a == 799 then false
elsif a == 800 then true
elsif a == 801 then false
elsif a == 802 then true
elsif a == 803 then false
elsif a == 804 then true
elsif a == 805 then false
elsif a == 806 then true
elsif a == 807 then false
elsif a == 808 then true
elsif a == 809 then false
elsif a == 810 then true
elsif a == 811 then false
elsif a == 812 then true
elsif a == 813 then false
elsif a == 814 then true
elsif a == 815 then false
elsif a == 816 then true
elsif a == 817 then false
elsif a == 818 then true
elsif a == 819 then false
elsif a == 820 then true
elsif a == 821 then false
elsif a == 822 then true
elsif a == 823 then false
elsif a == 824 then true
elsif a == 825 then false
elsif a == 826 then true
elsif a == 827 then false
elsif a == 828 then true
elsif a == 829 then false
elsif a == 830 then true
elsif a == 831 then false
elsif a == 832 then true
elsif a == 833 then false
elsif a == 834 then true
elsif a == 835 then false
elsif a == 836 then true
elsif a == 837 then false
elsif a == 838 then true
elsif a == 839 then false
elsif a == 840 then true
elsif a == 841 then false
elsif a == 842 then true
elsif a == 843 then false
elsif a == 844 then true
elsif a == 845 then false
elsif a == 846 then true
elsif a == 847 then false
elsif a == 848 then true
elsif a == 849 then false
elsif a == 850 then true
elsif a == 851 then false
elsif a == 852 then true
elsif a == 853 then false
elsif a == 854 then true
elsif a == 855 then false
elsif a == 856 then true
elsif a == 857 then false
elsif a == 858 then true
elsif a == 859 then false
elsif a == 860 then true
elsif a == 861 then false
elsif a == 862 then true
elsif a == 863 then false
elsif a == 864 then true
elsif a == 865 then false
elsif a == 866 then true
elsif a == 867 then false
elsif a == 868 then true
elsif a == 869 then false
elsif a == 870 then true
elsif a == 871 then false
elsif a == 872 then true
elsif a == 873 then false
elsif a == 874 then true
elsif a == 875 then false
elsif a == 876 then true
elsif a == 877 then false
elsif a == 878 then true
elsif a == 879 then false
elsif a == 880 then true
elsif a == 881 then false
elsif a == 882 then true
elsif a == 883 then false
elsif a == 884 then true
elsif a == 885 then false
elsif a == 886 then true
elsif a == 887 then false
elsif a == 888 then true
elsif a == 889 then false
elsif a == 890 then true
elsif a == 891 then false
elsif a == 892 then true
elsif a == 893 then false
elsif a == 894 then true
elsif a == 895 then false
elsif a == 896 then true
elsif a == 897 then false
elsif a == 898 then true
elsif a == 899 then false
elsif a == 900 then true
elsif a == 901 then false
elsif a == 902 then true
elsif a == 903 then false
elsif a == 904 then true
elsif a == 905 then false
elsif a == 906 then true
elsif a == 907 then false
elsif a == 908 then true
elsif a == 909 then false
elsif a == 910 then true
elsif a == 911 then false
elsif a == 912 then true
elsif a == 913 then false
elsif a == 914 then true
elsif a == 915 then false
elsif a == 916 then true
elsif a == 917 then false
elsif a == 918 then true
elsif a == 919 then false
elsif a == 920 then true
elsif a == 921 then false
elsif a == 922 then true
elsif a == 923 then false
elsif a == 924 then true
elsif a == 925 then false
elsif a == 926 then true
elsif a == 927 then false
elsif a == 928 then true
elsif a == 929 then false
elsif a == 930 then true
elsif a == 931 then false
elsif a == 932 then true
elsif a == 933 then false
elsif a == 934 then true
elsif a == 935 then false
elsif a == 936 then true
elsif a == 937 then false
elsif a == 938 then true
elsif a == 939 then false
elsif a == 940 then true
elsif a == 941 then false
elsif a == 942 then true
elsif a == 943 then false
elsif a == 944 then true
elsif a == 945 then false
elsif a == 946 then true
elsif a == 947 then false
elsif a == 948 then true
elsif a == 949 then false
elsif a == 950 then true
elsif a == 951 then false
elsif a == 952 then true
elsif a == 953 then false
elsif a == 954 then true
elsif a == 955 then false
elsif a == 956 then true
elsif a == 957 then false
elsif a == 958 then true
elsif a == 959 then false
elsif a == 960 then true
elsif a == 961 then false
elsif a == 962 then true
elsif a == 963 then false
elsif a == 964 then true
elsif a == 965 then false
elsif a == 966 then true
elsif a == 967 then false
elsif a == 968 then true
elsif a == 969 then false
elsif a == 970 then true
elsif a == 971 then false
elsif a == 972 then true
elsif a == 973 then false
elsif a == 974 then true
elsif a == 975 then false
elsif a == 976 then true
elsif a == 977 then false
elsif a == 978 then true
elsif a == 979 then false
elsif a == 980 then true
elsif a == 981 then false
elsif a == 982 then true
elsif a == 983 then false
elsif a == 984 then true
elsif a == 985 then false
elsif a == 986 then true
elsif a == 987 then false
elsif a == 988 then true
elsif a == 989 then false
elsif a == 990 then true
elsif a == 991 then false
elsif a == 992 then true
elsif a == 993 then false
elsif a == 994 then true
elsif a == 995 then false
elsif a == 996 then true
elsif a == 997 then false
elsif a == 998 then true
elsif a == 999 then false
elsif a == 1000 then true
elsif a == 1001 then false
elsif a == 1002 then true
elsif a == 1003 then false
elsif a == 1004 then true
elsif a == 1005 then false
elsif a == 1006 then true
elsif a == 1007 then false
elsif a == 1008 then true
elsif a == 1009 then false
elsif a == 1010 then true
elsif a == 1011 then false
elsif a == 1012 then true
elsif a == 1013 then false
elsif a == 1014 then true
elsif a == 1015 then false
elsif a == 1016 then true
elsif a == 1017 then false
elsif a == 1018 then true
elsif a == 1019 then false
elsif a == 1020 then true
elsif a == 1021 then false
elsif a == 1022 then true
elsif a == 1023 then false
elsif a == 1024 then true
elsif a == 1025 then false
elsif a == 1026 then true
elsif a == 1027 then false
elsif a == 1028 then true
elsif a == 1029 then false
elsif a == 1030 then true
elsif a == 1031 then false
elsif a == 1032 then true
elsif a == 1033 then false
elsif a == 1034 then true
elsif a == 1035 then false
elsif a == 1036 then true
elsif a == 1037 then false
elsif a == 1038 then true
elsif a == 1039 then false
elsif a == 1040 then true
elsif a == 1041 then false
elsif a == 1042 then true
elsif a == 1043 then false
elsif a == 1044 then true
elsif a == 1045 then false
elsif a == 1046 then true
elsif a == 1047 then false
elsif a == 1048 then true
elsif a == 1049 then false
elsif a == 1050 then true
elsif a == 1051 then false
elsif a == 1052 then true
elsif a == 1053 then false
elsif a == 1054 then true
elsif a == 1055 then false
elsif a == 1056 then true
elsif a == 1057 then false
elsif a == 1058 then true
elsif a == 1059 then false
elsif a == 1060 then true
elsif a == 1061 then false
elsif a == 1062 then true
elsif a == 1063 then false
elsif a == 1064 then true
elsif a == 1065 then false
elsif a == 1066 then true
elsif a == 1067 then false
elsif a == 1068 then true
elsif a == 1069 then false
elsif a == 1070 then true
elsif a == 1071 then false
elsif a == 1072 then true
elsif a == 1073 then false
elsif a == 1074 then true
elsif a == 1075 then false
elsif a == 1076 then true
elsif a == 1077 then false
elsif a == 1078 then true
elsif a == 1079 then false
elsif a == 1080 then true
elsif a == 1081 then false
elsif a == 1082 then true
elsif a == 1083 then false
elsif a == 1084 then true
elsif a == 1085 then false
elsif a == 1086 then true
elsif a == 1087 then false
elsif a == 1088 then true
elsif a == 1089 then false
elsif a == 1090 then true
elsif a == 1091 then false
elsif a == 1092 then true
elsif a == 1093 then false
elsif a == 1094 then true
elsif a == 1095 then false
elsif a == 1096 then true
elsif a == 1097 then false
elsif a == 1098 then true
elsif a == 1099 then false
elsif a == 1100 then true
elsif a == 1101 then false
elsif a == 1102 then true
elsif a == 1103 then false
elsif a == 1104 then true
elsif a == 1105 then false
elsif a == 1106 then true
elsif a == 1107 then false
elsif a == 1108 then true
elsif a == 1109 then false
elsif a == 1110 then true
elsif a == 1111 then false
elsif a == 1112 then true
elsif a == 1113 then false
elsif a == 1114 then true
elsif a == 1115 then false
elsif a == 1116 then true
elsif a == 1117 then false
elsif a == 1118 then true
elsif a == 1119 then false
elsif a == 1120 then true
elsif a == 1121 then false
elsif a == 1122 then true
elsif a == 1123 then false
elsif a == 1124 then true
elsif a == 1125 then false
elsif a == 1126 then true
elsif a == 1127 then false
elsif a == 1128 then true
elsif a == 1129 then false
elsif a == 1130 then true
elsif a == 1131 then false
elsif a == 1132 then true
elsif a == 1133 then false
elsif a == 1134 then true
elsif a == 1135 then false
elsif a == 1136 then true
elsif a == 1137 then false
elsif a == 1138 then true
elsif a == 1139 then false
elsif a == 1140 then true
elsif a == 1141 then false
elsif a == 1142 then true
elsif a == 1143 then false
elsif a == 1144 then true
elsif a == 1145 then false
elsif a == 1146 then true
elsif a == 1147 then false
elsif a == 1148 then true
elsif a == 1149 then false
elsif a == 1150 then true
elsif a == 1151 then false
elsif a == 1152 then true
elsif a == 1153 then false
elsif a == 1154 then true
elsif a == 1155 then false
elsif a == 1156 then true
elsif a == 1157 then false
elsif a == 1158 then true
elsif a == 1159 then false
elsif a == 1160 then true
elsif a == 1161 then false
elsif a == 1162 then true
elsif a == 1163 then false
elsif a == 1164 then true
elsif a == 1165 then false
elsif a == 1166 then true
elsif a == 1167 then false
elsif a == 1168 then true
elsif a == 1169 then false
elsif a == 1170 then true
elsif a == 1171 then false
elsif a == 1172 then true
elsif a == 1173 then false
elsif a == 1174 then true
elsif a == 1175 then false
elsif a == 1176 then true
elsif a == 1177 then false
elsif a == 1178 then true
elsif a == 1179 then false
elsif a == 1180 then true
elsif a == 1181 then false
elsif a == 1182 then true
elsif a == 1183 then false
elsif a == 1184 then true
elsif a == 1185 then false
elsif a == 1186 then true
elsif a == 1187 then false
elsif a == 1188 then true
elsif a == 1189 then false
elsif a == 1190 then true
elsif a == 1191 then false
elsif a == 1192 then true
elsif a == 1193 then false
elsif a == 1194 then true
elsif a == 1195 then false
elsif a == 1196 then true
elsif a == 1197 then false
elsif a == 1198 then true
elsif a == 1199 then false
elsif a == 1200 then true
elsif a == 1201 then false
elsif a == 1202 then true
elsif a == 1203 then false
elsif a == 1204 then true
elsif a == 1205 then false
elsif a == 1206 then true
elsif a == 1207 then false
elsif a == 1208 then true
elsif a == 1209 then false
elsif a == 1210 then true
elsif a == 1211 then false
elsif a == 1212 then true
elsif a == 1213 then false
elsif a == 1214 then true
elsif a == 1215 then false
elsif a == 1216 then true
elsif a == 1217 then false
elsif a == 1218 then true
elsif a == 1219 then false
elsif a == 1220 then true
elsif a == 1221 then false
elsif a == 1222 then true
elsif a == 1223 then false
elsif a == 1224 then true
elsif a == 1225 then false
elsif a == 1226 then true
elsif a == 1227 then false
elsif a == 1228 then true
elsif a == 1229 then false
elsif a == 1230 then true
elsif a == 1231 then false
elsif a == 1232 then true
elsif a == 1233 then false
elsif a == 1234 then true
elsif a == 1235 then false
elsif a == 1236 then true
elsif a == 1237 then false
elsif a == 1238 then true
elsif a == 1239 then false
elsif a == 1240 then true
elsif a == 1241 then false
elsif a == 1242 then true
elsif a == 1243 then false
elsif a == 1244 then true
elsif a == 1245 then false
elsif a == 1246 then true
elsif a == 1247 then false
elsif a == 1248 then true
elsif a == 1249 then false
elsif a == 1250 then true
elsif a == 1251 then false
elsif a == 1252 then true
elsif a == 1253 then false
elsif a == 1254 then true
elsif a == 1255 then false
elsif a == 1256 then true
elsif a == 1257 then false
elsif a == 1258 then true
elsif a == 1259 then false
elsif a == 1260 then true
elsif a == 1261 then false
elsif a == 1262 then true
elsif a == 1263 then false
elsif a == 1264 then true
elsif a == 1265 then false
elsif a == 1266 then true
elsif a == 1267 then false
elsif a == 1268 then true
elsif a == 1269 then false
elsif a == 1270 then true
elsif a == 1271 then false
elsif a == 1272 then true
elsif a == 1273 then false
elsif a == 1274 then true
elsif a == 1275 then false
elsif a == 1276 then true
elsif a == 1277 then false
elsif a == 1278 then true
elsif a == 1279 then false
elsif a == 1280 then true
elsif a == 1281 then false
elsif a == 1282 then true
elsif a == 1283 then false
elsif a == 1284 then true
elsif a == 1285 then false
elsif a == 1286 then true
elsif a == 1287 then false
elsif a == 1288 then true
elsif a == 1289 then false
elsif a == 1290 then true
elsif a == 1291 then false
elsif a == 1292 then true
elsif a == 1293 then false
elsif a == 1294 then true
elsif a == 1295 then false
elsif a == 1296 then true
elsif a == 1297 then false
elsif a == 1298 then true
elsif a == 1299 then false
elsif a == 1300 then true
elsif a == 1301 then false
elsif a == 1302 then true
elsif a == 1303 then false
elsif a == 1304 then true
elsif a == 1305 then false
elsif a == 1306 then true
elsif a == 1307 then false
elsif a == 1308 then true
elsif a == 1309 then false
elsif a == 1310 then true
elsif a == 1311 then false
elsif a == 1312 then true
elsif a == 1313 then false
elsif a == 1314 then true
elsif a == 1315 then false
elsif a == 1316 then true
elsif a == 1317 then false
elsif a == 1318 then true
elsif a == 1319 then false
elsif a == 1320 then true
elsif a == 1321 then false
elsif a == 1322 then true
elsif a == 1323 then false
elsif a == 1324 then true
elsif a == 1325 then false
elsif a == 1326 then true
elsif a == 1327 then false
elsif a == 1328 then true
elsif a == 1329 then false
elsif a == 1330 then true
elsif a == 1331 then false
elsif a == 1332 then true
elsif a == 1333 then false
elsif a == 1334 then true
elsif a == 1335 then false
elsif a == 1336 then true
elsif a == 1337 then false
elsif a == 1338 then true
elsif a == 1339 then false
elsif a == 1340 then true
elsif a == 1341 then false
elsif a == 1342 then true
elsif a == 1343 then false
elsif a == 1344 then true
elsif a == 1345 then false
elsif a == 1346 then true
elsif a == 1347 then false
elsif a == 1348 then true
elsif a == 1349 then false
elsif a == 1350 then true
elsif a == 1351 then false
elsif a == 1352 then true
elsif a == 1353 then false
elsif a == 1354 then true
elsif a == 1355 then false
elsif a == 1356 then true
elsif a == 1357 then false
elsif a == 1358 then true
elsif a == 1359 then false
elsif a == 1360 then true
elsif a == 1361 then false
elsif a == 1362 then true
elsif a == 1363 then false
elsif a == 1364 then true
elsif a == 1365 then false
elsif a == 1366 then true
elsif a == 1367 then false
elsif a == 1368 then true
elsif a == 1369 then false
elsif a == 1370 then true
elsif a == 1371 then false
elsif a == 1372 then true
elsif a == 1373 then false
elsif a == 1374 then true
elsif a == 1375 then false
elsif a == 1376 then true
elsif a == 1377 then false
elsif a == 1378 then true
elsif a == 1379 then false
elsif a == 1380 then true
elsif a == 1381 then false
elsif a == 1382 then true
elsif a == 1383 then false
elsif a == 1384 then true
elsif a == 1385 then false
elsif a == 1386 then true
elsif a == 1387 then false
elsif a == 1388 then true
elsif a == 1389 then false
elsif a == 1390 then true
elsif a == 1391 then false
elsif a == 1392 then true
elsif a == 1393 then false
elsif a == 1394 then true
elsif a == 1395 then false
elsif a == 1396 then true
elsif a == 1397 then false
elsif a == 1398 then true
elsif a == 1399 then false
elsif a == 1400 then true
elsif a == 1401 then false
elsif a == 1402 then true
elsif a == 1403 then false
elsif a == 1404 then true
elsif a == 1405 then false
elsif a == 1406 then true
elsif a == 1407 then false
elsif a == 1408 then true
elsif a == 1409 then false
elsif a == 1410 then true
elsif a == 1411 then false
elsif a == 1412 then true
elsif a == 1413 then false
elsif a == 1414 then true
elsif a == 1415 then false
elsif a == 1416 then true
elsif a == 1417 then false
elsif a == 1418 then true
elsif a == 1419 then false
elsif a == 1420 then true
elsif a == 1421 then false
elsif a == 1422 then true
elsif a == 1423 then false
elsif a == 1424 then true
elsif a == 1425 then false
elsif a == 1426 then true
elsif a == 1427 then false
elsif a == 1428 then true
elsif a == 1429 then false
elsif a == 1430 then true
elsif a == 1431 then false
elsif a == 1432 then true
elsif a == 1433 then false
elsif a == 1434 then true
elsif a == 1435 then false
elsif a == 1436 then true
elsif a == 1437 then false
elsif a == 1438 then true
elsif a == 1439 then false
elsif a == 1440 then true
elsif a == 1441 then false
elsif a == 1442 then true
elsif a == 1443 then false
elsif a == 1444 then true
elsif a == 1445 then false
elsif a == 1446 then true
elsif a == 1447 then false
elsif a == 1448 then true
elsif a == 1449 then false
elsif a == 1450 then true
elsif a == 1451 then false
elsif a == 1452 then true
elsif a == 1453 then false
elsif a == 1454 then true
elsif a == 1455 then false
elsif a == 1456 then true
elsif a == 1457 then false
elsif a == 1458 then true
elsif a == 1459 then false
elsif a == 1460 then true
elsif a == 1461 then false
elsif a == 1462 then true
elsif a == 1463 then false
elsif a == 1464 then true
elsif a == 1465 then false
elsif a == 1466 then true
elsif a == 1467 then false
elsif a == 1468 then true
elsif a == 1469 then false
elsif a == 1470 then true
elsif a == 1471 then false
elsif a == 1472 then true
elsif a == 1473 then false
elsif a == 1474 then true
elsif a == 1475 then false
elsif a == 1476 then true
elsif a == 1477 then false
elsif a == 1478 then true
elsif a == 1479 then false
elsif a == 1480 then true
elsif a == 1481 then false
elsif a == 1482 then true
elsif a == 1483 then false
elsif a == 1484 then true
elsif a == 1485 then false
elsif a == 1486 then true
elsif a == 1487 then false
elsif a == 1488 then true
elsif a == 1489 then false
elsif a == 1490 then true
elsif a == 1491 then false
elsif a == 1492 then true
elsif a == 1493 then false
elsif a == 1494 then true
elsif a == 1495 then false
elsif a == 1496 then true
elsif a == 1497 then false
elsif a == 1498 then true
elsif a == 1499 then false
elsif a == 1500 then true
elsif a == 1501 then false
elsif a == 1502 then true
elsif a == 1503 then false
elsif a == 1504 then true
elsif a == 1505 then false
elsif a == 1506 then true
elsif a == 1507 then false
elsif a == 1508 then true
elsif a == 1509 then false
elsif a == 1510 then true
elsif a == 1511 then false
elsif a == 1512 then true
elsif a == 1513 then false
elsif a == 1514 then true
elsif a == 1515 then false
elsif a == 1516 then true
elsif a == 1517 then false
elsif a == 1518 then true
elsif a == 1519 then false
elsif a == 1520 then true
elsif a == 1521 then false
elsif a == 1522 then true
elsif a == 1523 then false
elsif a == 1524 then true
elsif a == 1525 then false
elsif a == 1526 then true
elsif a == 1527 then false
elsif a == 1528 then true
elsif a == 1529 then false
elsif a == 1530 then true
elsif a == 1531 then false
elsif a == 1532 then true
elsif a == 1533 then false
elsif a == 1534 then true
elsif a == 1535 then false
elsif a == 1536 then true
elsif a == 1537 then false
elsif a == 1538 then true
elsif a == 1539 then false
elsif a == 1540 then true
elsif a == 1541 then false
elsif a == 1542 then true
elsif a == 1543 then false
elsif a == 1544 then true
elsif a == 1545 then false
elsif a == 1546 then true
elsif a == 1547 then false
elsif a == 1548 then true
elsif a == 1549 then false
elsif a == 1550 then true
elsif a == 1551 then false
elsif a == 1552 then true
elsif a == 1553 then false
elsif a == 1554 then true
elsif a == 1555 then false
elsif a == 1556 then true
elsif a == 1557 then false
elsif a == 1558 then true
elsif a == 1559 then false
elsif a == 1560 then true
elsif a == 1561 then false
elsif a == 1562 then true
elsif a == 1563 then false
elsif a == 1564 then true
elsif a == 1565 then false
elsif a == 1566 then true
elsif a == 1567 then false
elsif a == 1568 then true
elsif a == 1569 then false
elsif a == 1570 then true
elsif a == 1571 then false
elsif a == 1572 then true
elsif a == 1573 then false
elsif a == 1574 then true
elsif a == 1575 then false
elsif a == 1576 then true
elsif a == 1577 then false
elsif a == 1578 then true
elsif a == 1579 then false
elsif a == 1580 then true
elsif a == 1581 then false
elsif a == 1582 then true
elsif a == 1583 then false
elsif a == 1584 then true
elsif a == 1585 then false
elsif a == 1586 then true
elsif a == 1587 then false
elsif a == 1588 then true
elsif a == 1589 then false
elsif a == 1590 then true
elsif a == 1591 then false
elsif a == 1592 then true
elsif a == 1593 then false
elsif a == 1594 then true
elsif a == 1595 then false
elsif a == 1596 then true
elsif a == 1597 then false
elsif a == 1598 then true
elsif a == 1599 then false
elsif a == 1600 then true
elsif a == 1601 then false
elsif a == 1602 then true
elsif a == 1603 then false
elsif a == 1604 then true
elsif a == 1605 then false
elsif a == 1606 then true
elsif a == 1607 then false
elsif a == 1608 then true
elsif a == 1609 then false
elsif a == 1610 then true
elsif a == 1611 then false
elsif a == 1612 then true
elsif a == 1613 then false
elsif a == 1614 then true
elsif a == 1615 then false
elsif a == 1616 then true
elsif a == 1617 then false
elsif a == 1618 then true
elsif a == 1619 then false
elsif a == 1620 then true
elsif a == 1621 then false
elsif a == 1622 then true
elsif a == 1623 then false
elsif a == 1624 then true
elsif a == 1625 then false
elsif a == 1626 then true
elsif a == 1627 then false
elsif a == 1628 then true
elsif a == 1629 then false
elsif a == 1630 then true
elsif a == 1631 then false
elsif a == 1632 then true
elsif a == 1633 then false
elsif a == 1634 then true
elsif a == 1635 then false
elsif a == 1636 then true
elsif a == 1637 then false
elsif a == 1638 then true
elsif a == 1639 then false
elsif a == 1640 then true
elsif a == 1641 then false
elsif a == 1642 then true
elsif a == 1643 then false
elsif a == 1644 then true
elsif a == 1645 then false
elsif a == 1646 then true
elsif a == 1647 then false
elsif a == 1648 then true
elsif a == 1649 then false
elsif a == 1650 then true
elsif a == 1651 then false
elsif a == 1652 then true
elsif a == 1653 then false
elsif a == 1654 then true
elsif a == 1655 then false
elsif a == 1656 then true
elsif a == 1657 then false
elsif a == 1658 then true
elsif a == 1659 then false
elsif a == 1660 then true
elsif a == 1661 then false
elsif a == 1662 then true
elsif a == 1663 then false
elsif a == 1664 then true
elsif a == 1665 then false
elsif a == 1666 then true
elsif a == 1667 then false
elsif a == 1668 then true
elsif a == 1669 then false
elsif a == 1670 then true
elsif a == 1671 then false
elsif a == 1672 then true
elsif a == 1673 then false
elsif a == 1674 then true
elsif a == 1675 then false
elsif a == 1676 then true
elsif a == 1677 then false
elsif a == 1678 then true
elsif a == 1679 then false
elsif a == 1680 then true
elsif a == 1681 then false
elsif a == 1682 then true
elsif a == 1683 then false
elsif a == 1684 then true
elsif a == 1685 then false
elsif a == 1686 then true
elsif a == 1687 then false
elsif a == 1688 then true
elsif a == 1689 then false
elsif a == 1690 then true
elsif a == 1691 then false
elsif a == 1692 then true
elsif a == 1693 then false
elsif a == 1694 then true
elsif a == 1695 then false
elsif a == 1696 then true
elsif a == 1697 then false
elsif a == 1698 then true
elsif a == 1699 then false
elsif a == 1700 then true
elsif a == 1701 then false
elsif a == 1702 then true
elsif a == 1703 then false
elsif a == 1704 then true
elsif a == 1705 then false
elsif a == 1706 then true
elsif a == 1707 then false
elsif a == 1708 then true
elsif a == 1709 then false
elsif a == 1710 then true
elsif a == 1711 then false
elsif a == 1712 then true
elsif a == 1713 then false
elsif a == 1714 then true
elsif a == 1715 then false
elsif a == 1716 then true
elsif a == 1717 then false
elsif a == 1718 then true
elsif a == 1719 then false
elsif a == 1720 then true
elsif a == 1721 then false
elsif a == 1722 then true
elsif a == 1723 then false
elsif a == 1724 then true
elsif a == 1725 then false
elsif a == 1726 then true
elsif a == 1727 then false
elsif a == 1728 then true
elsif a == 1729 then false
elsif a == 1730 then true
elsif a == 1731 then false
elsif a == 1732 then true
elsif a == 1733 then false
elsif a == 1734 then true
elsif a == 1735 then false
elsif a == 1736 then true
elsif a == 1737 then false
elsif a == 1738 then true
elsif a == 1739 then false
elsif a == 1740 then true
elsif a == 1741 then false
elsif a == 1742 then true
elsif a == 1743 then false
elsif a == 1744 then true
elsif a == 1745 then false
elsif a == 1746 then true
elsif a == 1747 then false
elsif a == 1748 then true
elsif a == 1749 then false
elsif a == 1750 then true
elsif a == 1751 then false
elsif a == 1752 then true
elsif a == 1753 then false
elsif a == 1754 then true
elsif a == 1755 then false
elsif a == 1756 then true
elsif a == 1757 then false
elsif a == 1758 then true
elsif a == 1759 then false
elsif a == 1760 then true
elsif a == 1761 then false
elsif a == 1762 then true
elsif a == 1763 then false
elsif a == 1764 then true
elsif a == 1765 then false
elsif a == 1766 then true
elsif a == 1767 then false
elsif a == 1768 then true
elsif a == 1769 then false
elsif a == 1770 then true
elsif a == 1771 then false
elsif a == 1772 then true
elsif a == 1773 then false
elsif a == 1774 then true
elsif a == 1775 then false
elsif a == 1776 then true
elsif a == 1777 then false
elsif a == 1778 then true
elsif a == 1779 then false
elsif a == 1780 then true
elsif a == 1781 then false
elsif a == 1782 then true
elsif a == 1783 then false
elsif a == 1784 then true
elsif a == 1785 then false
elsif a == 1786 then true
elsif a == 1787 then false
elsif a == 1788 then true
elsif a == 1789 then false
elsif a == 1790 then true
elsif a == 1791 then false
elsif a == 1792 then true
elsif a == 1793 then false
elsif a == 1794 then true
elsif a == 1795 then false
elsif a == 1796 then true
elsif a == 1797 then false
elsif a == 1798 then true
elsif a == 1799 then false
elsif a == 1800 then true
elsif a == 1801 then false
elsif a == 1802 then true
elsif a == 1803 then false
elsif a == 1804 then true
elsif a == 1805 then false
elsif a == 1806 then true
elsif a == 1807 then false
elsif a == 1808 then true
elsif a == 1809 then false
elsif a == 1810 then true
elsif a == 1811 then false
elsif a == 1812 then true
elsif a == 1813 then false
elsif a == 1814 then true
elsif a == 1815 then false
elsif a == 1816 then true
elsif a == 1817 then false
elsif a == 1818 then true
elsif a == 1819 then false
elsif a == 1820 then true
elsif a == 1821 then false
elsif a == 1822 then true
elsif a == 1823 then false
elsif a == 1824 then true
elsif a == 1825 then false
elsif a == 1826 then true
elsif a == 1827 then false
elsif a == 1828 then true
elsif a == 1829 then false
elsif a == 1830 then true
elsif a == 1831 then false
elsif a == 1832 then true
elsif a == 1833 then false
elsif a == 1834 then true
elsif a == 1835 then false
elsif a == 1836 then true
elsif a == 1837 then false
elsif a == 1838 then true
elsif a == 1839 then false
elsif a == 1840 then true
elsif a == 1841 then false
elsif a == 1842 then true
elsif a == 1843 then false
elsif a == 1844 then true
elsif a == 1845 then false
elsif a == 1846 then true
elsif a == 1847 then false
elsif a == 1848 then true
elsif a == 1849 then false
elsif a == 1850 then true
elsif a == 1851 then false
elsif a == 1852 then true
elsif a == 1853 then false
elsif a == 1854 then true
elsif a == 1855 then false
elsif a == 1856 then true
elsif a == 1857 then false
elsif a == 1858 then true
elsif a == 1859 then false
elsif a == 1860 then true
elsif a == 1861 then false
elsif a == 1862 then true
elsif a == 1863 then false
elsif a == 1864 then true
elsif a == 1865 then false
elsif a == 1866 then true
elsif a == 1867 then false
elsif a == 1868 then true
elsif a == 1869 then false
elsif a == 1870 then true
elsif a == 1871 then false
elsif a == 1872 then true
elsif a == 1873 then false
elsif a == 1874 then true
elsif a == 1875 then false
elsif a == 1876 then true
elsif a == 1877 then false
elsif a == 1878 then true
elsif a == 1879 then false
elsif a == 1880 then true
elsif a == 1881 then false
elsif a == 1882 then true
elsif a == 1883 then false
elsif a == 1884 then true
elsif a == 1885 then false
elsif a == 1886 then true
elsif a == 1887 then false
elsif a == 1888 then true
elsif a == 1889 then false
elsif a == 1890 then true
elsif a == 1891 then false
elsif a == 1892 then true
elsif a == 1893 then false
elsif a == 1894 then true
elsif a == 1895 then false
elsif a == 1896 then true
elsif a == 1897 then false
elsif a == 1898 then true
elsif a == 1899 then false
elsif a == 1900 then true
elsif a == 1901 then false
elsif a == 1902 then true
elsif a == 1903 then false
elsif a == 1904 then true
elsif a == 1905 then false
elsif a == 1906 then true
elsif a == 1907 then false
elsif a == 1908 then true
elsif a == 1909 then false
elsif a == 1910 then true
elsif a == 1911 then false
elsif a == 1912 then true
elsif a == 1913 then false
elsif a == 1914 then true
elsif a == 1915 then false
elsif a == 1916 then true
elsif a == 1917 then false
elsif a == 1918 then true
elsif a == 1919 then false
elsif a == 1920 then true
elsif a == 1921 then false
elsif a == 1922 then true
elsif a == 1923 then false
elsif a == 1924 then true
elsif a == 1925 then false
elsif a == 1926 then true
elsif a == 1927 then false
elsif a == 1928 then true
elsif a == 1929 then false
elsif a == 1930 then true
elsif a == 1931 then false
elsif a == 1932 then true
elsif a == 1933 then false
elsif a == 1934 then true
elsif a == 1935 then false
elsif a == 1936 then true
elsif a == 1937 then false
elsif a == 1938 then true
elsif a == 1939 then false
elsif a == 1940 then true
elsif a == 1941 then false
elsif a == 1942 then true
elsif a == 1943 then false
elsif a == 1944 then true
elsif a == 1945 then false
elsif a == 1946 then true
elsif a == 1947 then false
elsif a == 1948 then true
elsif a == 1949 then false
elsif a == 1950 then true
elsif a == 1951 then false
elsif a == 1952 then true
elsif a == 1953 then false
elsif a == 1954 then true
elsif a == 1955 then false
elsif a == 1956 then true
elsif a == 1957 then false
elsif a == 1958 then true
elsif a == 1959 then false
elsif a == 1960 then true
elsif a == 1961 then false
elsif a == 1962 then true
elsif a == 1963 then false
elsif a == 1964 then true
elsif a == 1965 then false
elsif a == 1966 then true
elsif a == 1967 then false
elsif a == 1968 then true
elsif a == 1969 then false
elsif a == 1970 then true
elsif a == 1971 then false
elsif a == 1972 then true
elsif a == 1973 then false
elsif a == 1974 then true
elsif a == 1975 then false
elsif a == 1976 then true
elsif a == 1977 then false
elsif a == 1978 then true
elsif a == 1979 then false
elsif a == 1980 then true
elsif a == 1981 then false
elsif a == 1982 then true
elsif a == 1983 then false
elsif a == 1984 then true
elsif a == 1985 then false
elsif a == 1986 then true
elsif a == 1987 then false
elsif a == 1988 then true
elsif a == 1989 then false
elsif a == 1990 then true
elsif a == 1991 then false
elsif a == 1992 then true
elsif a == 1993 then false
elsif a == 1994 then true
elsif a == 1995 then false
elsif a == 1996 then true
elsif a == 1997 then false
elsif a == 1998 then true
elsif a == 1999 then false
elsif a == 2000 then true
elsif a == 2001 then false
elsif a == 2002 then true
elsif a == 2003 then false
elsif a == 2004 then true
elsif a == 2005 then false
elsif a == 2006 then true
elsif a == 2007 then false
elsif a == 2008 then true
elsif a == 2009 then false
elsif a == 2010 then true
elsif a == 2011 then false
elsif a == 2012 then true
elsif a == 2013 then false
elsif a == 2014 then true
elsif a == 2015 then false
elsif a == 2016 then true
elsif a == 2017 then false
elsif a == 2018 then true
elsif a == 2019 then false
elsif a == 2020 then true
elsif a == 2021 then false
elsif a == 2022 then true
elsif a == 2023 then false
elsif a == 2024 then true
elsif a == 2025 then false
elsif a == 2026 then true
elsif a == 2027 then false
elsif a == 2028 then true
elsif a == 2029 then false
elsif a == 2030 then true
elsif a == 2031 then false
elsif a == 2032 then true
elsif a == 2033 then false
elsif a == 2034 then true
elsif a == 2035 then false
elsif a == 2036 then true
elsif a == 2037 then false
elsif a == 2038 then true
elsif a == 2039 then false
elsif a == 2040 then true
elsif a == 2041 then false
elsif a == 2042 then true
elsif a == 2043 then false
elsif a == 2044 then true
elsif a == 2045 then false
elsif a == 2046 then true
elsif a == 2047 then false
elsif a == 2048 then true
elsif a == 2049 then false
elsif a == 2050 then true
elsif a == 2051 then false
elsif a == 2052 then true
elsif a == 2053 then false
elsif a == 2054 then true
elsif a == 2055 then false
elsif a == 2056 then true
elsif a == 2057 then false
elsif a == 2058 then true
elsif a == 2059 then false
elsif a == 2060 then true
elsif a == 2061 then false
elsif a == 2062 then true
elsif a == 2063 then false
elsif a == 2064 then true
elsif a == 2065 then false
elsif a == 2066 then true
elsif a == 2067 then false
elsif a == 2068 then true
elsif a == 2069 then false
elsif a == 2070 then true
elsif a == 2071 then false
elsif a == 2072 then true
elsif a == 2073 then false
elsif a == 2074 then true
elsif a == 2075 then false
elsif a == 2076 then true
elsif a == 2077 then false
elsif a == 2078 then true
elsif a == 2079 then false
elsif a == 2080 then true
elsif a == 2081 then false
elsif a == 2082 then true
elsif a == 2083 then false
elsif a == 2084 then true
elsif a == 2085 then false
elsif a == 2086 then true
elsif a == 2087 then false
elsif a == 2088 then true
elsif a == 2089 then false
elsif a == 2090 then true
elsif a == 2091 then false
elsif a == 2092 then true
elsif a == 2093 then false
elsif a == 2094 then true
elsif a == 2095 then false
elsif a == 2096 then true
elsif a == 2097 then false
elsif a == 2098 then true
elsif a == 2099 then false
elsif a == 2100 then true
elsif a == 2101 then false
elsif a == 2102 then true
elsif a == 2103 then false
elsif a == 2104 then true
elsif a == 2105 then false
elsif a == 2106 then true
elsif a == 2107 then false
elsif a == 2108 then true
elsif a == 2109 then false
elsif a == 2110 then true
elsif a == 2111 then false
elsif a == 2112 then true
elsif a == 2113 then false
elsif a == 2114 then true
elsif a == 2115 then false
elsif a == 2116 then true
elsif a == 2117 then false
elsif a == 2118 then true
elsif a == 2119 then false
elsif a == 2120 then true
elsif a == 2121 then false
elsif a == 2122 then true
elsif a == 2123 then false
elsif a == 2124 then true
elsif a == 2125 then false
elsif a == 2126 then true
elsif a == 2127 then false
elsif a == 2128 then true
elsif a == 2129 then false
elsif a == 2130 then true
elsif a == 2131 then false
elsif a == 2132 then true
elsif a == 2133 then false
elsif a == 2134 then true
elsif a == 2135 then false
elsif a == 2136 then true
elsif a == 2137 then false
elsif a == 2138 then true
elsif a == 2139 then false
elsif a == 2140 then true
elsif a == 2141 then false
elsif a == 2142 then true
elsif a == 2143 then false
elsif a == 2144 then true
elsif a == 2145 then false
elsif a == 2146 then true
elsif a == 2147 then false
elsif a == 2148 then true
elsif a == 2149 then false
elsif a == 2150 then true
elsif a == 2151 then false
elsif a == 2152 then true
elsif a == 2153 then false
elsif a == 2154 then true
elsif a == 2155 then false
elsif a == 2156 then true
elsif a == 2157 then false
elsif a == 2158 then true
elsif a == 2159 then false
elsif a == 2160 then true
elsif a == 2161 then false
elsif a == 2162 then true
elsif a == 2163 then false
elsif a == 2164 then true
elsif a == 2165 then false
elsif a == 2166 then true
elsif a == 2167 then false
elsif a == 2168 then true
elsif a == 2169 then false
elsif a == 2170 then true
elsif a == 2171 then false
elsif a == 2172 then true
elsif a == 2173 then false
elsif a == 2174 then true
elsif a == 2175 then false
elsif a == 2176 then true
elsif a == 2177 then false
elsif a == 2178 then true
elsif a == 2179 then false
elsif a == 2180 then true
elsif a == 2181 then false
elsif a == 2182 then true
elsif a == 2183 then false
elsif a == 2184 then true
elsif a == 2185 then false
elsif a == 2186 then true
elsif a == 2187 then false
elsif a == 2188 then true
elsif a == 2189 then false
elsif a == 2190 then true
elsif a == 2191 then false
elsif a == 2192 then true
elsif a == 2193 then false
elsif a == 2194 then true
elsif a == 2195 then false
elsif a == 2196 then true
elsif a == 2197 then false
elsif a == 2198 then true
elsif a == 2199 then false
elsif a == 2200 then true
elsif a == 2201 then false
elsif a == 2202 then true
elsif a == 2203 then false
elsif a == 2204 then true
elsif a == 2205 then false
elsif a == 2206 then true
elsif a == 2207 then false
elsif a == 2208 then true
elsif a == 2209 then false
elsif a == 2210 then true
elsif a == 2211 then false
elsif a == 2212 then true
elsif a == 2213 then false
elsif a == 2214 then true
elsif a == 2215 then false
elsif a == 2216 then true
elsif a == 2217 then false
elsif a == 2218 then true
elsif a == 2219 then false
elsif a == 2220 then true
elsif a == 2221 then false
elsif a == 2222 then true
elsif a == 2223 then false
elsif a == 2224 then true
elsif a == 2225 then false
elsif a == 2226 then true
elsif a == 2227 then false
elsif a == 2228 then true
elsif a == 2229 then false
elsif a == 2230 then true
elsif a == 2231 then false
elsif a == 2232 then true
elsif a == 2233 then false
elsif a == 2234 then true
elsif a == 2235 then false
elsif a == 2236 then true
elsif a == 2237 then false
elsif a == 2238 then true
elsif a == 2239 then false
elsif a == 2240 then true
elsif a == 2241 then false
elsif a == 2242 then true
elsif a == 2243 then false
elsif a == 2244 then true
elsif a == 2245 then false
elsif a == 2246 then true
elsif a == 2247 then false
elsif a == 2248 then true
elsif a == 2249 then false
elsif a == 2250 then true
elsif a == 2251 then false
elsif a == 2252 then true
elsif a == 2253 then false
elsif a == 2254 then true
elsif a == 2255 then false
elsif a == 2256 then true
elsif a == 2257 then false
elsif a == 2258 then true
elsif a == 2259 then false
elsif a == 2260 then true
elsif a == 2261 then false
elsif a == 2262 then true
elsif a == 2263 then false
elsif a == 2264 then true
elsif a == 2265 then false
elsif a == 2266 then true
elsif a == 2267 then false
elsif a == 2268 then true
elsif a == 2269 then false
elsif a == 2270 then true
elsif a == 2271 then false
elsif a == 2272 then true
elsif a == 2273 then false
elsif a == 2274 then true
elsif a == 2275 then false
elsif a == 2276 then true
elsif a == 2277 then false
elsif a == 2278 then true
elsif a == 2279 then false
elsif a == 2280 then true
elsif a == 2281 then false
elsif a == 2282 then true
elsif a == 2283 then false
elsif a == 2284 then true
elsif a == 2285 then false
elsif a == 2286 then true
elsif a == 2287 then false
elsif a == 2288 then true
elsif a == 2289 then false
elsif a == 2290 then true
elsif a == 2291 then false
elsif a == 2292 then true
elsif a == 2293 then false
elsif a == 2294 then true
elsif a == 2295 then false
elsif a == 2296 then true
elsif a == 2297 then false
elsif a == 2298 then true
elsif a == 2299 then false
elsif a == 2300 then true
elsif a == 2301 then false
elsif a == 2302 then true
elsif a == 2303 then false
elsif a == 2304 then true
elsif a == 2305 then false
elsif a == 2306 then true
elsif a == 2307 then false
elsif a == 2308 then true
elsif a == 2309 then false
elsif a == 2310 then true
elsif a == 2311 then false
elsif a == 2312 then true
elsif a == 2313 then false
elsif a == 2314 then true
elsif a == 2315 then false
elsif a == 2316 then true
elsif a == 2317 then false
elsif a == 2318 then true
elsif a == 2319 then false
elsif a == 2320 then true
elsif a == 2321 then false
elsif a == 2322 then true
elsif a == 2323 then false
elsif a == 2324 then true
elsif a == 2325 then false
elsif a == 2326 then true
elsif a == 2327 then false
elsif a == 2328 then true
elsif a == 2329 then false
elsif a == 2330 then true
elsif a == 2331 then false
elsif a == 2332 then true
elsif a == 2333 then false
elsif a == 2334 then true
elsif a == 2335 then false
elsif a == 2336 then true
elsif a == 2337 then false
elsif a == 2338 then true
elsif a == 2339 then false
elsif a == 2340 then true
elsif a == 2341 then false
elsif a == 2342 then true
elsif a == 2343 then false
elsif a == 2344 then true
elsif a == 2345 then false
elsif a == 2346 then true
elsif a == 2347 then false
elsif a == 2348 then true
elsif a == 2349 then false
elsif a == 2350 then true
elsif a == 2351 then false
elsif a == 2352 then true
elsif a == 2353 then false
elsif a == 2354 then true
elsif a == 2355 then false
elsif a == 2356 then true
elsif a == 2357 then false
elsif a == 2358 then true
elsif a == 2359 then false
elsif a == 2360 then true
elsif a == 2361 then false
elsif a == 2362 then true
elsif a == 2363 then false
elsif a == 2364 then true
elsif a == 2365 then false
elsif a == 2366 then true
elsif a == 2367 then false
elsif a == 2368 then true
elsif a == 2369 then false
elsif a == 2370 then true
elsif a == 2371 then false
elsif a == 2372 then true
elsif a == 2373 then false
elsif a == 2374 then true
elsif a == 2375 then false
elsif a == 2376 then true
elsif a == 2377 then false
elsif a == 2378 then true
elsif a == 2379 then false
elsif a == 2380 then true
elsif a == 2381 then false
elsif a == 2382 then true
elsif a == 2383 then false
elsif a == 2384 then true
elsif a == 2385 then false
elsif a == 2386 then true
elsif a == 2387 then false
elsif a == 2388 then true
elsif a == 2389 then false
elsif a == 2390 then true
elsif a == 2391 then false
elsif a == 2392 then true
elsif a == 2393 then false
elsif a == 2394 then true
elsif a == 2395 then false
elsif a == 2396 then true
elsif a == 2397 then false
elsif a == 2398 then true
elsif a == 2399 then false
elsif a == 2400 then true
end
# Only 2400 to avoid hitting this limit:
#
# 1.rb:2499: memory exhausted
# elsif a == 2498 then true
# ^
end
def odd_case(a)
case a
when 2
true
when 3
false
when 4
true
when 5
false
when 6
true
when 7
false
when 8
true
when 9
false
when 10
true
when 11
false
when 12
true
when 13
false
when 14
true
when 15
false
when 16
true
when 17
false
when 18
true
when 19
false
when 20
true
when 21
false
when 22
true
when 23
false
when 24
true
when 25
false
when 26
true
when 27
false
when 28
true
when 29
false
when 30
true
when 31
false
when 32
true
when 33
false
when 34
true
when 35
false
when 36
true
when 37
false
when 38
true
when 39
false
when 40
true
when 41
false
when 42
true
when 43
false
when 44
true
when 45
false
when 46
true
when 47
false
when 48
true
when 49
false
when 50
true
when 51
false
when 52
true
when 53
false
when 54
true
when 55
false
when 56
true
when 57
false
when 58
true
when 59
false
when 60
true
when 61
false
when 62
true
when 63
false
when 64
true
when 65
false
when 66
true
when 67
false
when 68
true
when 69
false
when 70
true
when 71
false
when 72
true
when 73
false
when 74
true
when 75
false
when 76
true
when 77
false
when 78
true
when 79
false
when 80
true
when 81
false
when 82
true
when 83
false
when 84
true
when 85
false
when 86
true
when 87
false
when 88
true
when 89
false
when 90
true
when 91
false
when 92
true
when 93
false
when 94
true
when 95
false
when 96
true
when 97
false
when 98
true
when 99
false
when 100
true
when 101
false
when 102
true
when 103
false
when 104
true
when 105
false
when 106
true
when 107
false
when 108
true
when 109
false
when 110
true
when 111
false
when 112
true
when 113
false
when 114
true
when 115
false
when 116
true
when 117
false
when 118
true
when 119
false
when 120
true
when 121
false
when 122
true
when 123
false
when 124
true
when 125
false
when 126
true
when 127
false
when 128
true
when 129
false
when 130
true
when 131
false
when 132
true
when 133
false
when 134
true
when 135
false
when 136
true
when 137
false
when 138
true
when 139
false
when 140
true
when 141
false
when 142
true
when 143
false
when 144
true
when 145
false
when 146
true
when 147
false
when 148
true
when 149
false
when 150
true
when 151
false
when 152
true
when 153
false
when 154
true
when 155
false
when 156
true
when 157
false
when 158
true
when 159
false
when 160
true
when 161
false
when 162
true
when 163
false
when 164
true
when 165
false
when 166
true
when 167
false
when 168
true
when 169
false
when 170
true
when 171
false
when 172
true
when 173
false
when 174
true
when 175
false
when 176
true
when 177
false
when 178
true
when 179
false
when 180
true
when 181
false
when 182
true
when 183
false
when 184
true
when 185
false
when 186
true
when 187
false
when 188
true
when 189
false
when 190
true
when 191
false
when 192
true
when 193
false
when 194
true
when 195
false
when 196
true
when 197
false
when 198
true
when 199
false
when 200
true
when 201
false
when 202
true
when 203
false
when 204
true
when 205
false
when 206
true
when 207
false
when 208
true
when 209
false
when 210
true
when 211
false
when 212
true
when 213
false
when 214
true
when 215
false
when 216
true
when 217
false
when 218
true
when 219
false
when 220
true
when 221
false
when 222
true
when 223
false
when 224
true
when 225
false
when 226
true
when 227
false
when 228
true
when 229
false
when 230
true
when 231
false
when 232
true
when 233
false
when 234
true
when 235
false
when 236
true
when 237
false
when 238
true
when 239
false
when 240
true
when 241
false
when 242
true
when 243
false
when 244
true
when 245
false
when 246
true
when 247
false
when 248
true
when 249
false
when 250
true
when 251
false
when 252
true
when 253
false
when 254
true
when 255
false
when 256
true
when 257
false
when 258
true
when 259
false
when 260
true
when 261
false
when 262
true
when 263
false
when 264
true
when 265
false
when 266
true
when 267
false
when 268
true
when 269
false
when 270
true
when 271
false
when 272
true
when 273
false
when 274
true
when 275
false
when 276
true
when 277
false
when 278
true
when 279
false
when 280
true
when 281
false
when 282
true
when 283
false
when 284
true
when 285
false
when 286
true
when 287
false
when 288
true
when 289
false
when 290
true
when 291
false
when 292
true
when 293
false
when 294
true
when 295
false
when 296
true
when 297
false
when 298
true
when 299
false
when 300
true
when 301
false
when 302
true
when 303
false
when 304
true
when 305
false
when 306
true
when 307
false
when 308
true
when 309
false
when 310
true
when 311
false
when 312
true
when 313
false
when 314
true
when 315
false
when 316
true
when 317
false
when 318
true
when 319
false
when 320
true
when 321
false
when 322
true
when 323
false
when 324
true
when 325
false
when 326
true
when 327
false
when 328
true
when 329
false
when 330
true
when 331
false
when 332
true
when 333
false
when 334
true
when 335
false
when 336
true
when 337
false
when 338
true
when 339
false
when 340
true
when 341
false
when 342
true
when 343
false
when 344
true
when 345
false
when 346
true
when 347
false
when 348
true
when 349
false
when 350
true
when 351
false
when 352
true
when 353
false
when 354
true
when 355
false
when 356
true
when 357
false
when 358
true
when 359
false
when 360
true
when 361
false
when 362
true
when 363
false
when 364
true
when 365
false
when 366
true
when 367
false
when 368
true
when 369
false
when 370
true
when 371
false
when 372
true
when 373
false
when 374
true
when 375
false
when 376
true
when 377
false
when 378
true
when 379
false
when 380
true
when 381
false
when 382
true
when 383
false
when 384
true
when 385
false
when 386
true
when 387
false
when 388
true
when 389
false
when 390
true
when 391
false
when 392
true
when 393
false
when 394
true
when 395
false
when 396
true
when 397
false
when 398
true
when 399
false
when 400
true
when 401
false
when 402
true
when 403
false
when 404
true
when 405
false
when 406
true
when 407
false
when 408
true
when 409
false
when 410
true
when 411
false
when 412
true
when 413
false
when 414
true
when 415
false
when 416
true
when 417
false
when 418
true
when 419
false
when 420
true
when 421
false
when 422
true
when 423
false
when 424
true
when 425
false
when 426
true
when 427
false
when 428
true
when 429
false
when 430
true
when 431
false
when 432
true
when 433
false
when 434
true
when 435
false
when 436
true
when 437
false
when 438
true
when 439
false
when 440
true
when 441
false
when 442
true
when 443
false
when 444
true
when 445
false
when 446
true
when 447
false
when 448
true
when 449
false
when 450
true
when 451
false
when 452
true
when 453
false
when 454
true
when 455
false
when 456
true
when 457
false
when 458
true
when 459
false
when 460
true
when 461
false
when 462
true
when 463
false
when 464
true
when 465
false
when 466
true
when 467
false
when 468
true
when 469
false
when 470
true
when 471
false
when 472
true
when 473
false
when 474
true
when 475
false
when 476
true
when 477
false
when 478
true
when 479
false
when 480
true
when 481
false
when 482
true
when 483
false
when 484
true
when 485
false
when 486
true
when 487
false
when 488
true
when 489
false
when 490
true
when 491
false
when 492
true
when 493
false
when 494
true
when 495
false
when 496
true
when 497
false
when 498
true
when 499
false
when 500
true
when 501
false
when 502
true
when 503
false
when 504
true
when 505
false
when 506
true
when 507
false
when 508
true
when 509
false
when 510
true
when 511
false
when 512
true
when 513
false
when 514
true
when 515
false
when 516
true
when 517
false
when 518
true
when 519
false
when 520
true
when 521
false
when 522
true
when 523
false
when 524
true
when 525
false
when 526
true
when 527
false
when 528
true
when 529
false
when 530
true
when 531
false
when 532
true
when 533
false
when 534
true
when 535
false
when 536
true
when 537
false
when 538
true
when 539
false
when 540
true
when 541
false
when 542
true
when 543
false
when 544
true
when 545
false
when 546
true
when 547
false
when 548
true
when 549
false
when 550
true
when 551
false
when 552
true
when 553
false
when 554
true
when 555
false
when 556
true
when 557
false
when 558
true
when 559
false
when 560
true
when 561
false
when 562
true
when 563
false
when 564
true
when 565
false
when 566
true
when 567
false
when 568
true
when 569
false
when 570
true
when 571
false
when 572
true
when 573
false
when 574
true
when 575
false
when 576
true
when 577
false
when 578
true
when 579
false
when 580
true
when 581
false
when 582
true
when 583
false
when 584
true
when 585
false
when 586
true
when 587
false
when 588
true
when 589
false
when 590
true
when 591
false
when 592
true
when 593
false
when 594
true
when 595
false
when 596
true
when 597
false
when 598
true
when 599
false
when 600
true
when 601
false
when 602
true
when 603
false
when 604
true
when 605
false
when 606
true
when 607
false
when 608
true
when 609
false
when 610
true
when 611
false
when 612
true
when 613
false
when 614
true
when 615
false
when 616
true
when 617
false
when 618
true
when 619
false
when 620
true
when 621
false
when 622
true
when 623
false
when 624
true
when 625
false
when 626
true
when 627
false
when 628
true
when 629
false
when 630
true
when 631
false
when 632
true
when 633
false
when 634
true
when 635
false
when 636
true
when 637
false
when 638
true
when 639
false
when 640
true
when 641
false
when 642
true
when 643
false
when 644
true
when 645
false
when 646
true
when 647
false
when 648
true
when 649
false
when 650
true
when 651
false
when 652
true
when 653
false
when 654
true
when 655
false
when 656
true
when 657
false
when 658
true
when 659
false
when 660
true
when 661
false
when 662
true
when 663
false
when 664
true
when 665
false
when 666
true
when 667
false
when 668
true
when 669
false
when 670
true
when 671
false
when 672
true
when 673
false
when 674
true
when 675
false
when 676
true
when 677
false
when 678
true
when 679
false
when 680
true
when 681
false
when 682
true
when 683
false
when 684
true
when 685
false
when 686
true
when 687
false
when 688
true
when 689
false
when 690
true
when 691
false
when 692
true
when 693
false
when 694
true
when 695
false
when 696
true
when 697
false
when 698
true
when 699
false
when 700
true
when 701
false
when 702
true
when 703
false
when 704
true
when 705
false
when 706
true
when 707
false
when 708
true
when 709
false
when 710
true
when 711
false
when 712
true
when 713
false
when 714
true
when 715
false
when 716
true
when 717
false
when 718
true
when 719
false
when 720
true
when 721
false
when 722
true
when 723
false
when 724
true
when 725
false
when 726
true
when 727
false
when 728
true
when 729
false
when 730
true
when 731
false
when 732
true
when 733
false
when 734
true
when 735
false
when 736
true
when 737
false
when 738
true
when 739
false
when 740
true
when 741
false
when 742
true
when 743
false
when 744
true
when 745
false
when 746
true
when 747
false
when 748
true
when 749
false
when 750
true
when 751
false
when 752
true
when 753
false
when 754
true
when 755
false
when 756
true
when 757
false
when 758
true
when 759
false
when 760
true
when 761
false
when 762
true
when 763
false
when 764
true
when 765
false
when 766
true
when 767
false
when 768
true
when 769
false
when 770
true
when 771
false
when 772
true
when 773
false
when 774
true
when 775
false
when 776
true
when 777
false
when 778
true
when 779
false
when 780
true
when 781
false
when 782
true
when 783
false
when 784
true
when 785
false
when 786
true
when 787
false
when 788
true
when 789
false
when 790
true
when 791
false
when 792
true
when 793
false
when 794
true
when 795
false
when 796
true
when 797
false
when 798
true
when 799
false
when 800
true
when 801
false
when 802
true
when 803
false
when 804
true
when 805
false
when 806
true
when 807
false
when 808
true
when 809
false
when 810
true
when 811
false
when 812
true
when 813
false
when 814
true
when 815
false
when 816
true
when 817
false
when 818
true
when 819
false
when 820
true
when 821
false
when 822
true
when 823
false
when 824
true
when 825
false
when 826
true
when 827
false
when 828
true
when 829
false
when 830
true
when 831
false
when 832
true
when 833
false
when 834
true
when 835
false
when 836
true
when 837
false
when 838
true
when 839
false
when 840
true
when 841
false
when 842
true
when 843
false
when 844
true
when 845
false
when 846
true
when 847
false
when 848
true
when 849
false
when 850
true
when 851
false
when 852
true
when 853
false
when 854
true
when 855
false
when 856
true
when 857
false
when 858
true
when 859
false
when 860
true
when 861
false
when 862
true
when 863
false
when 864
true
when 865
false
when 866
true
when 867
false
when 868
true
when 869
false
when 870
true
when 871
false
when 872
true
when 873
false
when 874
true
when 875
false
when 876
true
when 877
false
when 878
true
when 879
false
when 880
true
when 881
false
when 882
true
when 883
false
when 884
true
when 885
false
when 886
true
when 887
false
when 888
true
when 889
false
when 890
true
when 891
false
when 892
true
when 893
false
when 894
true
when 895
false
when 896
true
when 897
false
when 898
true
when 899
false
when 900
true
when 901
false
when 902
true
when 903
false
when 904
true
when 905
false
when 906
true
when 907
false
when 908
true
when 909
false
when 910
true
when 911
false
when 912
true
when 913
false
when 914
true
when 915
false
when 916
true
when 917
false
when 918
true
when 919
false
when 920
true
when 921
false
when 922
true
when 923
false
when 924
true
when 925
false
when 926
true
when 927
false
when 928
true
when 929
false
when 930
true
when 931
false
when 932
true
when 933
false
when 934
true
when 935
false
when 936
true
when 937
false
when 938
true
when 939
false
when 940
true
when 941
false
when 942
true
when 943
false
when 944
true
when 945
false
when 946
true
when 947
false
when 948
true
when 949
false
when 950
true
when 951
false
when 952
true
when 953
false
when 954
true
when 955
false
when 956
true
when 957
false
when 958
true
when 959
false
when 960
true
when 961
false
when 962
true
when 963
false
when 964
true
when 965
false
when 966
true
when 967
false
when 968
true
when 969
false
when 970
true
when 971
false
when 972
true
when 973
false
when 974
true
when 975
false
when 976
true
when 977
false
when 978
true
when 979
false
when 980
true
when 981
false
when 982
true
when 983
false
when 984
true
when 985
false
when 986
true
when 987
false
when 988
true
when 989
false
when 990
true
when 991
false
when 992
true
when 993
false
when 994
true
when 995
false
when 996
true
when 997
false
when 998
true
when 999
false
when 1000
true
when 1001
false
when 1002
true
when 1003
false
when 1004
true
when 1005
false
when 1006
true
when 1007
false
when 1008
true
when 1009
false
when 1010
true
when 1011
false
when 1012
true
when 1013
false
when 1014
true
when 1015
false
when 1016
true
when 1017
false
when 1018
true
when 1019
false
when 1020
true
when 1021
false
when 1022
true
when 1023
false
when 1024
true
when 1025
false
when 1026
true
when 1027
false
when 1028
true
when 1029
false
when 1030
true
when 1031
false
when 1032
true
when 1033
false
when 1034
true
when 1035
false
when 1036
true
when 1037
false
when 1038
true
when 1039
false
when 1040
true
when 1041
false
when 1042
true
when 1043
false
when 1044
true
when 1045
false
when 1046
true
when 1047
false
when 1048
true
when 1049
false
when 1050
true
when 1051
false
when 1052
true
when 1053
false
when 1054
true
when 1055
false
when 1056
true
when 1057
false
when 1058
true
when 1059
false
when 1060
true
when 1061
false
when 1062
true
when 1063
false
when 1064
true
when 1065
false
when 1066
true
when 1067
false
when 1068
true
when 1069
false
when 1070
true
when 1071
false
when 1072
true
when 1073
false
when 1074
true
when 1075
false
when 1076
true
when 1077
false
when 1078
true
when 1079
false
when 1080
true
when 1081
false
when 1082
true
when 1083
false
when 1084
true
when 1085
false
when 1086
true
when 1087
false
when 1088
true
when 1089
false
when 1090
true
when 1091
false
when 1092
true
when 1093
false
when 1094
true
when 1095
false
when 1096
true
when 1097
false
when 1098
true
when 1099
false
when 1100
true
when 1101
false
when 1102
true
when 1103
false
when 1104
true
when 1105
false
when 1106
true
when 1107
false
when 1108
true
when 1109
false
when 1110
true
when 1111
false
when 1112
true
when 1113
false
when 1114
true
when 1115
false
when 1116
true
when 1117
false
when 1118
true
when 1119
false
when 1120
true
when 1121
false
when 1122
true
when 1123
false
when 1124
true
when 1125
false
when 1126
true
when 1127
false
when 1128
true
when 1129
false
when 1130
true
when 1131
false
when 1132
true
when 1133
false
when 1134
true
when 1135
false
when 1136
true
when 1137
false
when 1138
true
when 1139
false
when 1140
true
when 1141
false
when 1142
true
when 1143
false
when 1144
true
when 1145
false
when 1146
true
when 1147
false
when 1148
true
when 1149
false
when 1150
true
when 1151
false
when 1152
true
when 1153
false
when 1154
true
when 1155
false
when 1156
true
when 1157
false
when 1158
true
when 1159
false
when 1160
true
when 1161
false
when 1162
true
when 1163
false
when 1164
true
when 1165
false
when 1166
true
when 1167
false
when 1168
true
when 1169
false
when 1170
true
when 1171
false
when 1172
true
when 1173
false
when 1174
true
when 1175
false
when 1176
true
when 1177
false
when 1178
true
when 1179
false
when 1180
true
when 1181
false
when 1182
true
when 1183
false
when 1184
true
when 1185
false
when 1186
true
when 1187
false
when 1188
true
when 1189
false
when 1190
true
when 1191
false
when 1192
true
when 1193
false
when 1194
true
when 1195
false
when 1196
true
when 1197
false
when 1198
true
when 1199
false
when 1200
true
when 1201
false
when 1202
true
when 1203
false
when 1204
true
when 1205
false
when 1206
true
when 1207
false
when 1208
true
when 1209
false
when 1210
true
when 1211
false
when 1212
true
when 1213
false
when 1214
true
when 1215
false
when 1216
true
when 1217
false
when 1218
true
when 1219
false
when 1220
true
when 1221
false
when 1222
true
when 1223
false
when 1224
true
when 1225
false
when 1226
true
when 1227
false
when 1228
true
when 1229
false
when 1230
true
when 1231
false
when 1232
true
when 1233
false
when 1234
true
when 1235
false
when 1236
true
when 1237
false
when 1238
true
when 1239
false
when 1240
true
when 1241
false
when 1242
true
when 1243
false
when 1244
true
when 1245
false
when 1246
true
when 1247
false
when 1248
true
when 1249
false
when 1250
true
when 1251
false
when 1252
true
when 1253
false
when 1254
true
when 1255
false
when 1256
true
when 1257
false
when 1258
true
when 1259
false
when 1260
true
when 1261
false
when 1262
true
when 1263
false
when 1264
true
when 1265
false
when 1266
true
when 1267
false
when 1268
true
when 1269
false
when 1270
true
when 1271
false
when 1272
true
when 1273
false
when 1274
true
when 1275
false
when 1276
true
when 1277
false
when 1278
true
when 1279
false
when 1280
true
when 1281
false
when 1282
true
when 1283
false
when 1284
true
when 1285
false
when 1286
true
when 1287
false
when 1288
true
when 1289
false
when 1290
true
when 1291
false
when 1292
true
when 1293
false
when 1294
true
when 1295
false
when 1296
true
when 1297
false
when 1298
true
when 1299
false
when 1300
true
when 1301
false
when 1302
true
when 1303
false
when 1304
true
when 1305
false
when 1306
true
when 1307
false
when 1308
true
when 1309
false
when 1310
true
when 1311
false
when 1312
true
when 1313
false
when 1314
true
when 1315
false
when 1316
true
when 1317
false
when 1318
true
when 1319
false
when 1320
true
when 1321
false
when 1322
true
when 1323
false
when 1324
true
when 1325
false
when 1326
true
when 1327
false
when 1328
true
when 1329
false
when 1330
true
when 1331
false
when 1332
true
when 1333
false
when 1334
true
when 1335
false
when 1336
true
when 1337
false
when 1338
true
when 1339
false
when 1340
true
when 1341
false
when 1342
true
when 1343
false
when 1344
true
when 1345
false
when 1346
true
when 1347
false
when 1348
true
when 1349
false
when 1350
true
when 1351
false
when 1352
true
when 1353
false
when 1354
true
when 1355
false
when 1356
true
when 1357
false
when 1358
true
when 1359
false
when 1360
true
when 1361
false
when 1362
true
when 1363
false
when 1364
true
when 1365
false
when 1366
true
when 1367
false
when 1368
true
when 1369
false
when 1370
true
when 1371
false
when 1372
true
when 1373
false
when 1374
true
when 1375
false
when 1376
true
when 1377
false
when 1378
true
when 1379
false
when 1380
true
when 1381
false
when 1382
true
when 1383
false
when 1384
true
when 1385
false
when 1386
true
when 1387
false
when 1388
true
when 1389
false
when 1390
true
when 1391
false
when 1392
true
when 1393
false
when 1394
true
when 1395
false
when 1396
true
when 1397
false
when 1398
true
when 1399
false
when 1400
true
when 1401
false
when 1402
true
when 1403
false
when 1404
true
when 1405
false
when 1406
true
when 1407
false
when 1408
true
when 1409
false
when 1410
true
when 1411
false
when 1412
true
when 1413
false
when 1414
true
when 1415
false
when 1416
true
when 1417
false
when 1418
true
when 1419
false
when 1420
true
when 1421
false
when 1422
true
when 1423
false
when 1424
true
when 1425
false
when 1426
true
when 1427
false
when 1428
true
when 1429
false
when 1430
true
when 1431
false
when 1432
true
when 1433
false
when 1434
true
when 1435
false
when 1436
true
when 1437
false
when 1438
true
when 1439
false
when 1440
true
when 1441
false
when 1442
true
when 1443
false
when 1444
true
when 1445
false
when 1446
true
when 1447
false
when 1448
true
when 1449
false
when 1450
true
when 1451
false
when 1452
true
when 1453
false
when 1454
true
when 1455
false
when 1456
true
when 1457
false
when 1458
true
when 1459
false
when 1460
true
when 1461
false
when 1462
true
when 1463
false
when 1464
true
when 1465
false
when 1466
true
when 1467
false
when 1468
true
when 1469
false
when 1470
true
when 1471
false
when 1472
true
when 1473
false
when 1474
true
when 1475
false
when 1476
true
when 1477
false
when 1478
true
when 1479
false
when 1480
true
when 1481
false
when 1482
true
when 1483
false
when 1484
true
when 1485
false
when 1486
true
when 1487
false
when 1488
true
when 1489
false
when 1490
true
when 1491
false
when 1492
true
when 1493
false
when 1494
true
when 1495
false
when 1496
true
when 1497
false
when 1498
true
when 1499
false
when 1500
true
when 1501
false
when 1502
true
when 1503
false
when 1504
true
when 1505
false
when 1506
true
when 1507
false
when 1508
true
when 1509
false
when 1510
true
when 1511
false
when 1512
true
when 1513
false
when 1514
true
when 1515
false
when 1516
true
when 1517
false
when 1518
true
when 1519
false
when 1520
true
when 1521
false
when 1522
true
when 1523
false
when 1524
true
when 1525
false
when 1526
true
when 1527
false
when 1528
true
when 1529
false
when 1530
true
when 1531
false
when 1532
true
when 1533
false
when 1534
true
when 1535
false
when 1536
true
when 1537
false
when 1538
true
when 1539
false
when 1540
true
when 1541
false
when 1542
true
when 1543
false
when 1544
true
when 1545
false
when 1546
true
when 1547
false
when 1548
true
when 1549
false
when 1550
true
when 1551
false
when 1552
true
when 1553
false
when 1554
true
when 1555
false
when 1556
true
when 1557
false
when 1558
true
when 1559
false
when 1560
true
when 1561
false
when 1562
true
when 1563
false
when 1564
true
when 1565
false
when 1566
true
when 1567
false
when 1568
true
when 1569
false
when 1570
true
when 1571
false
when 1572
true
when 1573
false
when 1574
true
when 1575
false
when 1576
true
when 1577
false
when 1578
true
when 1579
false
when 1580
true
when 1581
false
when 1582
true
when 1583
false
when 1584
true
when 1585
false
when 1586
true
when 1587
false
when 1588
true
when 1589
false
when 1590
true
when 1591
false
when 1592
true
when 1593
false
when 1594
true
when 1595
false
when 1596
true
when 1597
false
when 1598
true
when 1599
false
when 1600
true
when 1601
false
when 1602
true
when 1603
false
when 1604
true
when 1605
false
when 1606
true
when 1607
false
when 1608
true
when 1609
false
when 1610
true
when 1611
false
when 1612
true
when 1613
false
when 1614
true
when 1615
false
when 1616
true
when 1617
false
when 1618
true
when 1619
false
when 1620
true
when 1621
false
when 1622
true
when 1623
false
when 1624
true
when 1625
false
when 1626
true
when 1627
false
when 1628
true
when 1629
false
when 1630
true
when 1631
false
when 1632
true
when 1633
false
when 1634
true
when 1635
false
when 1636
true
when 1637
false
when 1638
true
when 1639
false
when 1640
true
when 1641
false
when 1642
true
when 1643
false
when 1644
true
when 1645
false
when 1646
true
when 1647
false
when 1648
true
when 1649
false
when 1650
true
when 1651
false
when 1652
true
when 1653
false
when 1654
true
when 1655
false
when 1656
true
when 1657
false
when 1658
true
when 1659
false
when 1660
true
when 1661
false
when 1662
true
when 1663
false
when 1664
true
when 1665
false
when 1666
true
when 1667
false
when 1668
true
when 1669
false
when 1670
true
when 1671
false
when 1672
true
when 1673
false
when 1674
true
when 1675
false
when 1676
true
when 1677
false
when 1678
true
when 1679
false
when 1680
true
when 1681
false
when 1682
true
when 1683
false
when 1684
true
when 1685
false
when 1686
true
when 1687
false
when 1688
true
when 1689
false
when 1690
true
when 1691
false
when 1692
true
when 1693
false
when 1694
true
when 1695
false
when 1696
true
when 1697
false
when 1698
true
when 1699
false
when 1700
true
when 1701
false
when 1702
true
when 1703
false
when 1704
true
when 1705
false
when 1706
true
when 1707
false
when 1708
true
when 1709
false
when 1710
true
when 1711
false
when 1712
true
when 1713
false
when 1714
true
when 1715
false
when 1716
true
when 1717
false
when 1718
true
when 1719
false
when 1720
true
when 1721
false
when 1722
true
when 1723
false
when 1724
true
when 1725
false
when 1726
true
when 1727
false
when 1728
true
when 1729
false
when 1730
true
when 1731
false
when 1732
true
when 1733
false
when 1734
true
when 1735
false
when 1736
true
when 1737
false
when 1738
true
when 1739
false
when 1740
true
when 1741
false
when 1742
true
when 1743
false
when 1744
true
when 1745
false
when 1746
true
when 1747
false
when 1748
true
when 1749
false
when 1750
true
when 1751
false
when 1752
true
when 1753
false
when 1754
true
when 1755
false
when 1756
true
when 1757
false
when 1758
true
when 1759
false
when 1760
true
when 1761
false
when 1762
true
when 1763
false
when 1764
true
when 1765
false
when 1766
true
when 1767
false
when 1768
true
when 1769
false
when 1770
true
when 1771
false
when 1772
true
when 1773
false
when 1774
true
when 1775
false
when 1776
true
when 1777
false
when 1778
true
when 1779
false
when 1780
true
when 1781
false
when 1782
true
when 1783
false
when 1784
true
when 1785
false
when 1786
true
when 1787
false
when 1788
true
when 1789
false
when 1790
true
when 1791
false
when 1792
true
when 1793
false
when 1794
true
when 1795
false
when 1796
true
when 1797
false
when 1798
true
when 1799
false
when 1800
true
when 1801
false
when 1802
true
when 1803
false
when 1804
true
when 1805
false
when 1806
true
when 1807
false
when 1808
true
when 1809
false
when 1810
true
when 1811
false
when 1812
true
when 1813
false
when 1814
true
when 1815
false
when 1816
true
when 1817
false
when 1818
true
when 1819
false
when 1820
true
when 1821
false
when 1822
true
when 1823
false
when 1824
true
when 1825
false
when 1826
true
when 1827
false
when 1828
true
when 1829
false
when 1830
true
when 1831
false
when 1832
true
when 1833
false
when 1834
true
when 1835
false
when 1836
true
when 1837
false
when 1838
true
when 1839
false
when 1840
true
when 1841
false
when 1842
true
when 1843
false
when 1844
true
when 1845
false
when 1846
true
when 1847
false
when 1848
true
when 1849
false
when 1850
true
when 1851
false
when 1852
true
when 1853
false
when 1854
true
when 1855
false
when 1856
true
when 1857
false
when 1858
true
when 1859
false
when 1860
true
when 1861
false
when 1862
true
when 1863
false
when 1864
true
when 1865
false
when 1866
true
when 1867
false
when 1868
true
when 1869
false
when 1870
true
when 1871
false
when 1872
true
when 1873
false
when 1874
true
when 1875
false
when 1876
true
when 1877
false
when 1878
true
when 1879
false
when 1880
true
when 1881
false
when 1882
true
when 1883
false
when 1884
true
when 1885
false
when 1886
true
when 1887
false
when 1888
true
when 1889
false
when 1890
true
when 1891
false
when 1892
true
when 1893
false
when 1894
true
when 1895
false
when 1896
true
when 1897
false
when 1898
true
when 1899
false
when 1900
true
when 1901
false
when 1902
true
when 1903
false
when 1904
true
when 1905
false
when 1906
true
when 1907
false
when 1908
true
when 1909
false
when 1910
true
when 1911
false
when 1912
true
when 1913
false
when 1914
true
when 1915
false
when 1916
true
when 1917
false
when 1918
true
when 1919
false
when 1920
true
when 1921
false
when 1922
true
when 1923
false
when 1924
true
when 1925
false
when 1926
true
when 1927
false
when 1928
true
when 1929
false
when 1930
true
when 1931
false
when 1932
true
when 1933
false
when 1934
true
when 1935
false
when 1936
true
when 1937
false
when 1938
true
when 1939
false
when 1940
true
when 1941
false
when 1942
true
when 1943
false
when 1944
true
when 1945
false
when 1946
true
when 1947
false
when 1948
true
when 1949
false
when 1950
true
when 1951
false
when 1952
true
when 1953
false
when 1954
true
when 1955
false
when 1956
true
when 1957
false
when 1958
true
when 1959
false
when 1960
true
when 1961
false
when 1962
true
when 1963
false
when 1964
true
when 1965
false
when 1966
true
when 1967
false
when 1968
true
when 1969
false
when 1970
true
when 1971
false
when 1972
true
when 1973
false
when 1974
true
when 1975
false
when 1976
true
when 1977
false
when 1978
true
when 1979
false
when 1980
true
when 1981
false
when 1982
true
when 1983
false
when 1984
true
when 1985
false
when 1986
true
when 1987
false
when 1988
true
when 1989
false
when 1990
true
when 1991
false
when 1992
true
when 1993
false
when 1994
true
when 1995
false
when 1996
true
when 1997
false
when 1998
true
when 1999
false
when 2000
true
when 2001
false
when 2002
true
when 2003
false
when 2004
true
when 2005
false
when 2006
true
when 2007
false
when 2008
true
when 2009
false
when 2010
true
when 2011
false
when 2012
true
when 2013
false
when 2014
true
when 2015
false
when 2016
true
when 2017
false
when 2018
true
when 2019
false
when 2020
true
when 2021
false
when 2022
true
when 2023
false
when 2024
true
when 2025
false
when 2026
true
when 2027
false
when 2028
true
when 2029
false
when 2030
true
when 2031
false
when 2032
true
when 2033
false
when 2034
true
when 2035
false
when 2036
true
when 2037
false
when 2038
true
when 2039
false
when 2040
true
when 2041
false
when 2042
true
when 2043
false
when 2044
true
when 2045
false
when 2046
true
when 2047
false
when 2048
true
when 2049
false
when 2050
true
when 2051
false
when 2052
true
when 2053
false
when 2054
true
when 2055
false
when 2056
true
when 2057
false
when 2058
true
when 2059
false
when 2060
true
when 2061
false
when 2062
true
when 2063
false
when 2064
true
when 2065
false
when 2066
true
when 2067
false
when 2068
true
when 2069
false
when 2070
true
when 2071
false
when 2072
true
when 2073
false
when 2074
true
when 2075
false
when 2076
true
when 2077
false
when 2078
true
when 2079
false
when 2080
true
when 2081
false
when 2082
true
when 2083
false
when 2084
true
when 2085
false
when 2086
true
when 2087
false
when 2088
true
when 2089
false
when 2090
true
when 2091
false
when 2092
true
when 2093
false
when 2094
true
when 2095
false
when 2096
true
when 2097
false
when 2098
true
when 2099
false
when 2100
true
when 2101
false
when 2102
true
when 2103
false
when 2104
true
when 2105
false
when 2106
true
when 2107
false
when 2108
true
when 2109
false
when 2110
true
when 2111
false
when 2112
true
when 2113
false
when 2114
true
when 2115
false
when 2116
true
when 2117
false
when 2118
true
when 2119
false
when 2120
true
when 2121
false
when 2122
true
when 2123
false
when 2124
true
when 2125
false
when 2126
true
when 2127
false
when 2128
true
when 2129
false
when 2130
true
when 2131
false
when 2132
true
when 2133
false
when 2134
true
when 2135
false
when 2136
true
when 2137
false
when 2138
true
when 2139
false
when 2140
true
when 2141
false
when 2142
true
when 2143
false
when 2144
true
when 2145
false
when 2146
true
when 2147
false
when 2148
true
when 2149
false
when 2150
true
when 2151
false
when 2152
true
when 2153
false
when 2154
true
when 2155
false
when 2156
true
when 2157
false
when 2158
true
when 2159
false
when 2160
true
when 2161
false
when 2162
true
when 2163
false
when 2164
true
when 2165
false
when 2166
true
when 2167
false
when 2168
true
when 2169
false
when 2170
true
when 2171
false
when 2172
true
when 2173
false
when 2174
true
when 2175
false
when 2176
true
when 2177
false
when 2178
true
when 2179
false
when 2180
true
when 2181
false
when 2182
true
when 2183
false
when 2184
true
when 2185
false
when 2186
true
when 2187
false
when 2188
true
when 2189
false
when 2190
true
when 2191
false
when 2192
true
when 2193
false
when 2194
true
when 2195
false
when 2196
true
when 2197
false
when 2198
true
when 2199
false
when 2200
true
when 2201
false
when 2202
true
when 2203
false
when 2204
true
when 2205
false
when 2206
true
when 2207
false
when 2208
true
when 2209
false
when 2210
true
when 2211
false
when 2212
true
when 2213
false
when 2214
true
when 2215
false
when 2216
true
when 2217
false
when 2218
true
when 2219
false
when 2220
true
when 2221
false
when 2222
true
when 2223
false
when 2224
true
when 2225
false
when 2226
true
when 2227
false
when 2228
true
when 2229
false
when 2230
true
when 2231
false
when 2232
true
when 2233
false
when 2234
true
when 2235
false
when 2236
true
when 2237
false
when 2238
true
when 2239
false
when 2240
true
when 2241
false
when 2242
true
when 2243
false
when 2244
true
when 2245
false
when 2246
true
when 2247
false
when 2248
true
when 2249
false
when 2250
true
when 2251
false
when 2252
true
when 2253
false
when 2254
true
when 2255
false
when 2256
true
when 2257
false
when 2258
true
when 2259
false
when 2260
true
when 2261
false
when 2262
true
when 2263
false
when 2264
true
when 2265
false
when 2266
true
when 2267
false
when 2268
true
when 2269
false
when 2270
true
when 2271
false
when 2272
true
when 2273
false
when 2274
true
when 2275
false
when 2276
true
when 2277
false
when 2278
true
when 2279
false
when 2280
true
when 2281
false
when 2282
true
when 2283
false
when 2284
true
when 2285
false
when 2286
true
when 2287
false
when 2288
true
when 2289
false
when 2290
true
when 2291
false
when 2292
true
when 2293
false
when 2294
true
when 2295
false
when 2296
true
when 2297
false
when 2298
true
when 2299
false
when 2300
true
when 2301
false
when 2302
true
when 2303
false
when 2304
true
when 2305
false
when 2306
true
when 2307
false
when 2308
true
when 2309
false
when 2310
true
when 2311
false
when 2312
true
when 2313
false
when 2314
true
when 2315
false
when 2316
true
when 2317
false
when 2318
true
when 2319
false
when 2320
true
when 2321
false
when 2322
true
when 2323
false
when 2324
true
when 2325
false
when 2326
true
when 2327
false
when 2328
true
when 2329
false
when 2330
true
when 2331
false
when 2332
true
when 2333
false
when 2334
true
when 2335
false
when 2336
true
when 2337
false
when 2338
true
when 2339
false
when 2340
true
when 2341
false
when 2342
true
when 2343
false
when 2344
true
when 2345
false
when 2346
true
when 2347
false
when 2348
true
when 2349
false
when 2350
true
when 2351
false
when 2352
true
when 2353
false
when 2354
true
when 2355
false
when 2356
true
when 2357
false
when 2358
true
when 2359
false
when 2360
true
when 2361
false
when 2362
true
when 2363
false
when 2364
true
when 2365
false
when 2366
true
when 2367
false
when 2368
true
when 2369
false
when 2370
true
when 2371
false
when 2372
true
when 2373
false
when 2374
true
when 2375
false
when 2376
true
when 2377
false
when 2378
true
when 2379
false
when 2380
true
when 2381
false
when 2382
true
when 2383
false
when 2384
true
when 2385
false
when 2386
true
when 2387
false
when 2388
true
when 2389
false
when 2390
true
when 2391
false
when 2392
true
when 2393
false
when 2394
true
when 2395
false
when 2396
true
when 2397
false
when 2398
true
when 2399
false
when 2400
true
end
end
def odd_odd(a)
a.odd?
end
require 'benchmark/ips'
Benchmark.ips do |x|
x.report('if') { 2400.times { |i| odd_if ((i..2400)) } }
x.report('case') { 2400.times { |i| odd_case((i..2400)) } }
x.report('case no range') { 2400.times { |i| odd_case((i..2400).first) } }
x.report('odd?') { 2400.times { |i| odd_odd ((i..2400).first) } }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment