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