QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#85832#4827. Message Made of Noiseshr_AC ✓4ms3712kbC++171.3kb2023-03-08 16:35:052023-03-08 16:35:07

Judging History

This is the latest submission verdict.

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-03-08 16:35:07]
  • Judged
  • Verdict: AC
  • Time: 4ms
  • Memory: 3712kb
  • [2023-03-08 16:35:05]
  • Submitted

answer

# include <bits/stdc++.h>
using namespace std;
namespace Alisa {
    int n,m,a[10010];
    char s[10];
    int turn_(char s) { return s=='#' ? 0 : s-'a'+1;}
    void main() {
        scanf("%s%d",s+1,&m);
        for (int i=1;i<=m;i++) scanf("%d",&a[i]);

        n=strlen(s+1);
        for (int i=2;i<=n;i++) if (s[i]==s[i-1]) s[i]='#';

        vector<int> ans;
        int r=1;
        for (int i=1;i<=n;i++) for (int j=1;j<=20;j++) {
            while (a[r]%27!=turn_(s[i])) r++, assert(r<=m);
            ans.push_back(a[r]), r++;
        }

        printf("%d\n",(int)ans.size());
        for (auto o : ans) printf("%d ",o);
        printf("\n"); 
    }
}
namespace Eva {
    int n,a[10010];
    char ans[10];
    char turn_(int x) { return !x ? '#' : x+'a'-1;}
    void main() {
        scanf("%d",&n);
        for (int i=1;i<=n;i++) scanf("%d",&a[i]);

        int r=0;
        for (int i=1;i<=n;i++) if (i==1||a[i]%27!=a[i-1]%27) ans[++r]=turn_(a[i]%27);

        for (int i=2;i<=r;i++) if (ans[i]=='#') ans[i]=ans[i-1];

        printf("%s\n",ans+1);
    }
}
int main() {
//    freopen("in.in","r",stdin);
//    freopen("out.out","w",stdout);

    char opt[10];

    scanf("%s",opt+1);

    if (strlen(opt+1)==5) Alisa:: main();
    else Eva:: main();

    return 0;
}

详细

Test #1:

score: 100
Accepted
time: 4ms
memory: 3608kb

input:

Alisa
spark
10000
833080662 16249270 933346436 811379468 925271783 359705680 76365900 158342757 877083772 38085457 819965104 408973036 16049452 102494634 585189166 986634959 68282709 745375330 964742302 111199534 259074194 357880009 300942070 891323449 763894642 774838701 270621761 288500028 8289322...

output:

100
745375330 460835344 480683665 754096978 216703396 480158812 823447450 766716076 771292360 510402187 592364953 916966000 248760496 935118721 943941889 5225356 396852850 514175302 615313036 1282195 67715125 30500404 498172723 625495651 92631940 60037135 808824976 154038688 853754515 724269508 7433...

input:

Eva
48
823447450 766716076 592364953 248760496 935118721 943941889 5225356 396852850 514175302 615313036 67715125 60037135 808824976 154038688 743347546 776239675 172855609 368135944 375274 558691723 850460689 613720747 55392634 810478414 452845405 105383853 635367798 691096338 853845696 812694402 8...

output:

spark

result:

ok single line: 'spark'

Test #2:

score: 100
Accepted
time: 3ms
memory: 3712kb

input:

Alisa
zoo
10000
956754604 875535727 764768765 403840087 67159452 949712722 115576737 264236473 212511213 562986097 859669991 893717805 838891893 47770507 416355290 159696911 702519086 615482060 179929327 523223494 166469421 452823317 391263419 32353165 631726585 32531344 424699975 294307421 85611161...

output:

60
452823317 144917315 266229449 833855039 251439848 354298076 178500590 448719560 913722902 197449757 926411849 748626704 807465725 512366660 911515517 732656069 371684699 769883912 839240162 642914981 659991147 227505903 430127727 610486404 213487395 749876766 962141505 592310409 498008049 2879470...

input:

Eva
37
452823317 144917315 266229449 251439848 178500590 448719560 913722902 197449757 926411849 807465725 732656069 371684699 659991147 430127727 610486404 213487395 749876766 592310409 498008049 66716421 353515173 964764393 841154100 432956112 615975153 379982733 694971645 372628296 279229437 9803...

output:

zoo

result:

ok single line: 'zoo'

Test #3:

score: 100
Accepted
time: 3ms
memory: 3592kb

input:

Alisa
at
10000
310982107 539408279 796963309 809203668 523777662 545413064 979220389 847693910 138708955 656945625 74716593 934751180 481326343 167326361 231049220 522995900 37351748 788253568 916125796 387068110 517465221 271899863 460441305 620026841 944960218 415699339 335393844 48690159 42519562...

output:

40
916125796 353511622 330613057 64863235 260569252 797782474 828261910 305542828 360963136 497593207 170586244 922347973 250296535 937136062 723440674 583903756 863894269 39209320 607879999 249241888 683994557 372975320 219143819 745411376 447548240 910947485 914687039 600628277 845835095 406709363...

input:

Eva
22
353511622 797782474 828261910 305542828 360963136 497593207 170586244 937136062 607879999 249241888 683994557 372975320 219143819 745411376 910947485 914687039 398085671 168707711 98872751 544815713 823050929 105654692 

output:

at

result:

ok single line: 'at'

Test #4:

score: 100
Accepted
time: 2ms
memory: 3644kb

input:

Alisa
if
10000
503842924 757491266 141782843 236156593 872816374 282494629 8442020 266993146 431387022 916904904 536726783 139144491 897563232 774836180 933098003 649977536 426446349 179675381 976057133 192994215 912014737 649318938 281784409 433754655 579718136 693929967 122871398 670071564 6931916...

output:

40
670071564 141494535 913185639 904555116 453044511 235418274 241634457 455928813 688995729 371704851 346262778 428113359 77524515 74979792 162670176 545378031 467326782 426595257 457804854 942547275 265195653 617880723 813637446 263435172 317747130 683737287 321885015 590097696 699501885 561779988...

input:

Eva
24
670071564 913185639 904555116 235418274 241634457 455928813 371704851 346262778 545378031 467326782 426595257 942547275 813637446 317747130 683737287 321885015 699501885 561779988 319125858 148215021 340040625 319734627 444827463 9279663 

output:

if

result:

ok single line: 'if'

Test #5:

score: 100
Accepted
time: 3ms
memory: 3600kb

input:

Alisa
eel
10000
419034977 506627655 360958666 682067714 313353796 431192689 370972316 850816320 352477330 854979535 29434206 87388648 151667551 275112589 276381040 773593631 79329274 524349772 621505949 536647547 733312990 826490666 279158815 667907864 31822931 739964904 109173174 245982571 49308618...

output:

60
682067714 466608200 206379068 10429916 382135028 461229719 358333286 553522172 564864116 418792307 314950037 706868645 81974840 312407420 921489512 207990860 788565542 27606614 570050303 787658477 208342881 901507239 858245733 449131014 543927042 199165959 986907321 385274016 893594592 114600015 ...

input:

Eva
32
682067714 461229719 358333286 553522172 564864116 418792307 706868645 81974840 312407420 27606614 787658477 208342881 858245733 449131014 986907321 385274016 845610813 769318155 61337817 799619337 47160534 838041186 673668588 23936889 863610564 602495913 324445539 419688174 160942368 75976097...

output:

eel

result:

ok single line: 'eel'

Test #6:

score: 100
Accepted
time: 3ms
memory: 3612kb

input:

Alisa
cat
10000
429813780 552131166 455681195 172400210 186885255 914570530 663421268 36309837 82538846 199527239 779087404 945586459 313674436 774210063 266763546 350462343 300825395 764967849 225852148 348059331 687517865 907327558 175393488 120346637 521382066 657709825 513564198 595042659 958293...

output:

60
186885255 175393488 891141024 79396446 557587479 751257156 391000962 198972318 714016704 630386877 583841874 505439652 632213427 546498120 327018360 706908657 972237522 332847660 776083710 707380023 49654675 481945060 467293267 888466078 736626988 557227000 501182695 239344120 267533362 50978917 ...

input:

Eva
35
186885255 891141024 79396446 714016704 630386877 583841874 546498120 972237522 332847660 707380023 49654675 467293267 888466078 736626988 501182695 239344120 50978917 460134514 841188295 20730007 121353364 464080799 520762925 496882073 54770006 360644474 9916715 367643576 726961763 631671041 ...

output:

cat

result:

ok single line: 'cat'

Test #7:

score: 100
Accepted
time: 4ms
memory: 3632kb

input:

Alisa
real
10000
293521636 162312678 673316503 632028874 710190218 188928780 96341370 555961165 289029081 884342732 350209747 664696652 979603608 961578721 626304467 295252288 164649292 651680084 873526805 958035183 683416223 968734513 278011061 293645402 432614810 140880339 131416445 264789129 7699...

output:

80
162312678 556453764 996048432 186429969 28690866 515526300 969140043 986526882 849705246 315365742 453246750 899730387 291506760 759551274 594424998 124376436 27582381 986479038 367126821 241658361 288572333 128481881 148977554 721919930 55333616 412781918 893906825 806547353 71013110 37150709 56...

input:

Eva
45
162312678 556453764 28690866 515526300 986526882 849705246 315365742 453246750 291506760 124376436 27582381 367126821 128481881 148977554 55333616 893906825 806547353 71013110 37150709 306446900 144279716 120560486 733677782 286183751 929721700 880063651 946752679 597704482 666617149 16882986...

output:

real

result:

ok single line: 'real'

Test #8:

score: 100
Accepted
time: 3ms
memory: 3612kb

input:

Alisa
queue
10000
728126608 503051601 532065691 649125958 544642619 764381278 99807076 262423745 184581551 580643211 497976687 957044918 859521736 259842796 62623567 113655749 841320664 634874725 723467845 260164633 827046454 235948513 311899723 949510236 35721445 834116947 179412731 28282810 623612...

output:

100
951896600 546448292 415230938 801499148 618336656 239491097 372105566 446137055 932928587 308059136 531324296 762312671 252645821 405331010 285764291 438703064 607825934 245250494 780373187 391991093 111630360 440964480 134640462 636931803 327778833 910599618 334139844 765541173 612878691 772863...

input:

Eva
48
951896600 415230938 618336656 372105566 446137055 932928587 762312671 252645821 285764291 438703064 607825934 391991093 765541173 619433535 126859737 156645408 317845425 925262562 170027553 144470174 773248496 772005335 587507288 222549773 970554101 847532435 938249654 349258062 40534473 5005...

output:

queue

result:

ok single line: 'queue'

Test #9:

score: 100
Accepted
time: 2ms
memory: 3584kb

input:

Alisa
cotton
10000
767299611 979529394 39913161 316465148 694895023 593011984 513519165 256775663 243632888 431633332 223892604 123184313 731920779 174332419 251563430 741176400 264757675 259841890 770005896 455626677 665021206 586325250 809408942 435300393 279787411 300849439 269112903 624785753 12...

output:

120
767299611 455626677 799511259 60527280 825175758 862380138 452305380 125107419 37568775 806949786 264819972 711330663 102853398 186262392 463787832 914969739 463201257 846682986 263058870 845491584 992079213 877370523 992604606 949508610 209343813 342563109 557080134 923252568 858977259 25963339...

input:

Eva
58
799511259 862380138 452305380 806949786 264819972 463787832 914969739 463201257 846682986 263058870 845491584 992079213 949508610 858977259 328747155 212889156 779180055 135117033 136222359 752250800 963737966 554047553 821733869 96855743 970688252 80035823 31036925 697843532 525805148 605355...

output:

cotton

result:

ok single line: 'cotton'

Test #10:

score: 100
Accepted
time: 2ms
memory: 3644kb

input:

Alisa
zealous
10000
376434163 440125154 36359799 555365557 137615418 418390680 941228977 110954051 329055139 583988117 559131676 132626782 895760470 719530007 512820379 305723222 801475792 62346534 469882058 287661911 705144238 572901668 802362723 837688880 958060440 510581655 720263881 611350316 73...

output:

140
734759558 563183063 856067642 856043450 989631593 777897512 236425229 417623849 451179017 213801524 139681961 957278951 346497263 177558344 748198889 847068974 91167659 367657973 831242924 108944756 356357318 712316543 11649371 701037050 842636552 516483302 504969422 795878519 921536735 22741217...

input:

Eva
74
563183063 856067642 856043450 777897512 236425229 417623849 451179017 213801524 957278951 177558344 748198889 91167659 831242924 11649371 842636552 504969422 921536735 227412176 389132483 827427020 53180393 510264068 835985800 799934860 177493762 750609451 28300780 684158401 433004860 1991130...

output:

zealous

result:

ok single line: 'zealous'

Test #11:

score: 100
Accepted
time: 3ms
memory: 3632kb

input:

Alisa
assessee
10000
482462411 406338426 451753105 172617988 400471250 928079398 658730375 743529855 457495918 236775269 240125765 65250594 38143537 418720947 501030902 999438611 564408934 190385769 793443047 278651171 7840279 9961946 894345874 313117394 434989606 163661658 177490635 189003645 42853...

output:

160
928079398 50019094 957478375 160168105 984496600 722543977 942523345 120159289 822986488 654404968 58901338 863593273 25459705 764022322 408969730 627314491 241831873 447318478 597368791 507606805 72388396 864170281 105182299 874485928 687711430 345373570 327447541 314032888 505407754 907433812 ...

input:

Eva
79
50019094 160168105 984496600 120159289 822986488 654404968 58901338 863593273 25459705 764022322 72388396 864170281 105182299 874485928 345373570 505407754 907433812 997980094 190024291 264675457 920982628 927206803 238415589 796640049 691932429 749732949 695938635 675982341 436961844 4771797...

output:

assessee

result:

ok single line: 'assessee'

Test #12:

score: 100
Accepted
time: 3ms
memory: 3612kb

input:

Alisa
impatient
10000
456107448 565954838 600661924 423359702 440626827 441006466 795197649 443478311 770536535 709684383 92634315 850509440 341841933 416749530 775721850 324152699 710732825 975761495 731172339 389979549 818576792 935707276 703119428 671211209 695131944 227403587 89170727 832476447 ...

output:

180
341841933 628133220 715355127 488206665 149861970 731555937 88371738 44286408 490508550 739944837 717322887 723322476 332904393 970792677 404548731 159283809 78229755 452427453 418330827 798330366 116610448 772229092 819125986 893626978 347351854 140887768 114081979 788982862 46338628 932381374 ...

input:

Eva
83
341841933 628133220 488206665 88371738 44286408 490508550 717322887 452427453 798330366 116610448 347351854 140887768 788982862 702908320 930787834 417477442 212304199 391011070 780719593 290289163 454532650 887384203 285441883 850916329 456357391 358570546 169444213 574113976 280234906 68784...

output:

impatient

result:

ok single line: 'impatient'

Test #13:

score: 100
Accepted
time: 4ms
memory: 3640kb

input:

Alisa
bookkeeper
10000
390710414 631530615 963220561 501450406 351277306 602248210 85957489 881562188 450691883 138708871 331455659 745743962 340297641 243932822 682142300 643860072 962255409 429078261 419732560 641785179 681729629 753830142 211789688 516575649 543437870 822918258 88310983 576798802...

output:

200
390710414 4787669 828016589 34950233 610250870 471812015 141678668 792040844 938569196 139248506 726823613 735310631 502191794 692612480 513911441 504468839 824500325 420782852 543838484 630489125 30536367 453456942 454524684 976542306 232804977 263234625 925617012 326613696 475534680 868975440 ...

input:

Eva
105
390710414 34950233 610250870 471812015 141678668 726823613 502191794 513911441 504468839 420782852 543838484 630489125 453456942 976542306 263234625 925617012 475534680 273110253 374076834 869398233 586710906 388197414 914700276 174382254 94795812 773414109 254679390 105620436 280633475 2378...

output:

bookkeeper

result:

ok single line: 'bookkeeper'

Test #14:

score: 100
Accepted
time: 3ms
memory: 3624kb

input:

Alisa
copyrighted
10000
739557444 330252893 964326887 887910648 165070809 903235717 652009792 814643692 630901069 585765565 101206711 559866628 791788710 330613970 309583309 642328357 778635645 120527334 116527570 729858307 563138990 220835202 217041534 894279818 808177617 556013181 774973167 510000...

output:

220
520463154 461690256 785544591 527853729 111714123 892113105 742026099 852642885 32292435 323395851 873522066 701454090 901746489 848019297 491089989 17487471 364549656 839324811 782586687 302620134 803508324 766302891 2165064 307956264 686911983 851387451 331977462 620515527 642201198 347903331 ...

input:

Eva
113
461690256 527853729 111714123 323395851 873522066 491089989 364549656 839324811 302620134 766302891 2165064 642201198 347903331 704164848 456353718 972404691 400869690 88708569 359298627 178366821 396136888 557886787 333753253 667286062 538265995 59187715 851169751 151237249 255712102 305121...

output:

copyrighted

result:

ok single line: 'copyrighted'

Test #15:

score: 100
Accepted
time: 3ms
memory: 3620kb

input:

Alisa
squeezeboxes
10000
157094287 809151185 885591341 968810165 943658241 456220129 251205115 963575422 527082156 400831284 639279124 478290197 149013822 155506716 389372449 193333788 390911465 699989485 515969381 745192528 146306211 938174688 227793494 161046218 477570505 9894134 499988384 8103411...

output:

240
354247660 913790287 363543193 386484310 625320451 621773110 473417101 662703598 364659211 530324569 116779825 82610353 773863570 474500314 910279639 16833520 566194177 718912117 99625078 595838044 952960670 740997089 721846988 993276098 408209264 229065884 769311422 691356536 591258653 193927490...

input:

Eva
121
913790287 386484310 473417101 364659211 116779825 82610353 773863570 99625078 740997089 721846988 993276098 229065884 769311422 339820721 627702740 925942067 750430565 365030085 117218037 304289211 561722628 541212483 900156288 812995293 830275590 457616325 647954310 465298754 9821930 261440...

output:

squeezeboxes

result:

ok single line: 'squeezeboxes'

Test #16:

score: 100
Accepted
time: 3ms
memory: 3548kb

input:

Alisa
embarrassment
10000
863907095 50900552 940385214 923016987 195384280 149329830 157040498 699365836 728151611 802183368 964476670 766353465 883068628 140698617 576455081 638837097 462505317 428012304 717738800 611701562 107433485 338374166 40322202 553171030 361969314 458428199 482891314 240678...

output:

260
728151611 576455081 458428199 953763800 916288016 698108279 995340371 702503717 416070248 324983372 808021796 254205356 819835268 596445341 367155968 800716055 827044079 301249535 690857186 369103991 951298330 852160864 569785036 570069508 517837171 699865663 467094046 926809600 714122905 699458...

input:

Eva
135
728151611 458428199 916288016 698108279 995340371 702503717 254205356 800716055 301249535 690857186 369103991 951298330 852160864 569785036 570069508 517837171 926809600 714122905 699458476 39940006 591062845 621945229 243367672 356603539 940657727 532682813 347677571 147688382 680783483 112...

output:

embarrassment

result:

ok single line: 'embarrassment'

Test #17:

score: 100
Accepted
time: 3ms
memory: 3548kb

input:

Alisa
facelessnesses
10000
358815078 441702436 357306969 876232230 829173472 387236074 319588548 22588795 57315925 261669197 860052977 970248515 700859096 727417383 897121799 236588200 741288488 304680816 973597730 899737234 818651018 844515671 847720011 951605044 907126697 920420424 536760796 74546...

output:

280
299859603 149469711 348813627 661759206 753980676 295641420 500097624 580820604 24820512 893584311 504109851 659893641 484536795 183645717 919840326 582738954 939555591 196507923 99212910 335389443 207269713 641996119 54993439 322600591 312138766 809746930 114771439 679307473 88514803 100474993 ...

input:

Eva
130
149469711 580820604 893584311 659893641 484536795 939555591 312138766 114771439 679307473 306208351 573673645 238263256 828405064 373005651 726589416 969774582 739974477 516137889 142994352 20453367 494565078 759731781 665937210 215195862 175147680 504930596 720559265 508299791 292296551 529...

output:

facelessnesses

result:

ok single line: 'facelessnesses'

Test #18:

score: 100
Accepted
time: 2ms
memory: 3612kb

input:

Alisa
oxyphenbutazone
10000
798496889 591831196 689866887 718516037 939088236 750029536 32504325 524026335 454108713 535099022 19575145 267787878 714460751 824215363 128955594 411401580 370729264 520608037 586051245 545847182 156497495 298980033 263178383 961267578 735195675 768423754 868450776 3886...

output:

300
267787878 411401580 298980033 868450776 250927728 748000104 202748037 756030795 426873066 501056592 496510818 558748491 696579954 554403138 276661698 204030618 306212766 679652061 211318863 323961486 349641195 798215442 767584698 558639096 229831719 910395069 875278896 790768923 781489401 697518...

input:

Eva
140
411401580 298980033 868450776 748000104 202748037 426873066 496510818 554403138 323961486 349641195 558639096 910395069 875278896 790768923 781489401 697518834 502055574 759866829 845902707 149449858 757991086 463448599 757681423 280741462 102065695 332852785 34535914 157296706 229588909 369...

output:

oxyphenbutazone

result:

ok single line: 'oxyphenbutazone'

Test #19:

score: 100
Accepted
time: 3ms
memory: 3612kb

input:

Alisa
uncopyrightable
10000
40150886 763706492 122394813 807704159 536297792 750987557 115171123 810353340 610211761 244154724 969998196 16564183 375564698 574704451 798113067 379418611 35315906 832211290 55151894 916263535 105649044 475634989 856990225 797136254 921316465 143597900 736016212 474798...

output:

300
42629106 888924720 500435895 859955637 891488613 500345742 13175643 539892075 104071116 200060382 385130289 25316166 881263011 53836293 181586415 59752722 319712934 94470672 373145853 366703059 117845186 189298310 815138222 611688146 868962695 758420672 938468768 859660790 301225784 872184551 92...

input:

Eva
150
42629106 500435895 859955637 891488613 104071116 200060382 25316166 59752722 319712934 373145853 117845186 189298310 815138222 938468768 859660790 301225784 326410466 235045814 658960259 4892927 104379179 528240380 85808892 540110298 167196990 871184379 206575626 482156931 845272128 85891074...

output:

uncopyrightable

result:

ok single line: 'uncopyrightable'

Test #20:

score: 100
Accepted
time: 3ms
memory: 3640kb

input:

Alisa
decommissioning
10000
382835686 679002417 815396195 614990250 316953010 510954891 755838644 474793416 636240104 959829812 549408397 315423690 730153926 758389557 768870797 263724012 174045815 452197876 232033487 368630330 17284226 524695595 234115558 27688098 683706858 79961009 751009094 73156...

output:

300
549408397 440402836 284492659 873962734 708410992 97150243 425368318 612003766 136807870 981464071 459545188 391563373 745527379 526959247 950582659 727809196 371663806 967692910 130161091 853094920 985972154 145165478 28880933 505912964 139378865 626562572 755235122 809799071 225603176 39314465...

input:

Eva
145
549408397 440402836 708410992 97150243 425368318 981464071 745527379 727809196 371663806 985972154 145165478 139378865 626562572 225603176 22866170 455403929 599240354 943397879 533035571 758402222 991705629 461328078 933154590 495063012 831616473 89640381 852489498 26036805 855256782 117121...

output:

decommissioning

result:

ok single line: 'decommissioning'

Test #21:

score: 100
Accepted
time: 3ms
memory: 3584kb

input:

Alisa
kindheartedness
10000
184401044 43479672 626522598 125256287 393936792 796090108 623375502 964392055 745191771 685632155 122244894 795113405 154816720 751814796 908762470 986021242 828628967 790557756 662677460 258829873 931275678 435309418 514192615 132684947 462635436 502645052 66049087 6164...

output:

300
502645052 772534109 402780935 37895186 276463973 394584923 903860273 152864696 908247422 862259132 822951938 984694061 265778750 594241013 561036575 734696552 373643129 448367276 33772772 622506827 30082707 159855669 536587452 501751458 176489613 229701429 489707136 899623890 711918459 161356842...

input:

Eva
155
772534109 402780935 276463973 394584923 903860273 984694061 594241013 561036575 734696552 33772772 622506827 30082707 159855669 501751458 229701429 899623890 161356842 762360156 5744205 285146928 502351317 870747066 118822419 658833543 370051727 667999886 738792212 641291567 788354114 693904...

output:

kindheartedness

result:

ok single line: 'kindheartedness'

Test #22:

score: 100
Accepted
time: 3ms
memory: 3616kb

input:

Alisa
appropriateness
10000
330513032 853761192 471913635 973083553 210304782 192323109 93400951 312902092 218527177 220141550 772849545 474554266 236840727 992261006 242750804 48564115 825470066 137963562 557516732 280829723 624831146 479324406 32347115 449750828 375369355 14352941 431101170 936947...

output:

300
790036795 408923479 739043272 858797695 790641514 900860941 393759199 627575716 780022198 818081371 102838735 762510403 930212695 680812696 678916000 743424913 485228881 802442485 378172720 434988496 504622321 107458180 116960884 126621943 380875462 432782017 410864497 318214321 356133769 430672...

input:

Eva
155
408923479 858797695 790641514 393759199 762510403 678916000 802442485 378172720 504622321 107458180 126621943 380875462 410864497 356133769 945448756 776999698 869072884 545310322 241208226 665626788 7680474 736073541 625285899 735389307 966494268 398542545 280270935 324628281 914506218 5362...

output:

appropriateness

result:

ok single line: 'appropriateness'