問題一覧 > ネタ問題

No.8125 Pure White Rock-Paper-Scissors

レベル : / 実行時間制限 : 1ケース 1.000秒 / メモリ制限 : 1024 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 46
作問者 : harurun / テスター : littlegirl112
お気に入りにしたユーザー ProblemId : 13223 / 自分の提出
問題文最終更新日: 2026-03-31 23:06:40
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder April Fool Contest 2026 (順位表) の他の問題:

Problem Statement

Alice and Bob play the following game.

Initially, each of them has $R$ R cards, $P$ P cards, and $S$ S cards in hand.

Alice goes first, and they take turns alternately.

The player whose turn it is acts as follows, depending on the type of card on the field. It can be proved that there is at most one card on the field at the start of each turn.

  • If there is no card on the field, play any one card from hand onto the field.

  • If there is an R card on the field, choose and perform one of the following.

    • Play one P card from hand onto the field. Then, eat the R card on the field.
    • Play one R card from hand onto the field. Then, eat all the cards on the field.

  • If there is an S card on the field, choose and perform one of the following.

    • Play one R card from hand onto the field. Then, eat the S card on the field.
    • Play one S card from hand onto the field. Then, eat all the cards on the field.

  • If there is a P card on the field, choose and perform one of the following.

    • Play one S card from hand onto the field. Then, eat the P card on the field.
    • Play one P card from hand onto the field. Then, eat all the cards on the field.

Cards eaten by a player disappear from the field and can no longer be used.

The player who cannot play a card from hand onto the field at the start of their turn loses, and the other player wins. Determine which player wins when both play optimally to win. Print Alice if Alice wins, and Bob if Bob wins.

Input

The input is given from standard input in the following format.

$R\ P\ S$
  • All input values are integers.
  • $1\leq R,P,S\leq 10^{14}$

Output

Print the answer on one line, followed by a newline.

Sample

Sample 0001
Input
282 568 338
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0002
Input
501 791 328
Output
Bob

Bob always wins.

Sample 0003
Input
675 490 941
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0004
Input
982 426 428
Output
Bob

Bob always wins, so print Bob.

Sample 0005
Input
117 739 386
Output
Bob

Bob always wins, so print Bob.

Sample 0006
Input
88 579 602
Output
Bob

Bob always wins, so print Bob.

Sample 0007
Input
819 265 104
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0008
Input
553 746 78
Output
Bob

Bob always wins.

Sample 0009
Input
210 8 646
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0010
Input
922 417 929
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0011
Input
197 852 598
Output
Bob

Bob always wins.

Sample 0012
Input
958 354 929
Output
Bob

Bob always wins.

Sample 0013
Input
919 230 849
Output
Bob

Bob always wins.

Sample 0014
Input
420 281 136
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0015
Input
25 55 28
Output
Bob

Bob always wins.

Sample 0016
Input
85 185 513
Output
Bob

Bob always wins.

Sample 0017
Input
789 286 896
Output
Bob

Bob always wins.

Sample 0018
Input
647 517 834
Output
Bob

Bob always wins, so print Bob.

Sample 0019
Input
772 585 857
Output
Bob

Bob always wins.

Sample 0020
Input
574 128 135
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0021
Input
168 311 763
Output
Bob

Bob always wins, so print Bob.

Sample 0022
Input
929 268 585
Output
Bob

Bob always wins.

Sample 0023
Input
911 166 597
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0024
Input
360 15 516
Output
Bob

Bob always wins, so print Bob.

Sample 0025
Input
207 629 460
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0026
Input
285 721 560
Output
Bob

Bob always wins.

Sample 0027
Input
969 192 162
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0028
Input
586 470 78
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0029
Input
540 470 340
Output
Bob

Bob always wins.

Sample 0030
Input
791 478 243
Output
Bob

Bob always wins.

Sample 0031
Input
509 984 586
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0032
Input
24 260 499
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0033
Input
69 973 362
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0034
Input
520 323 642
Output
Bob

Bob always wins, so print Bob.

Sample 0035
Input
10 365 273
Output
Bob

Bob always wins, so print Bob.

Sample 0036
Input
867 21 273
Output
Bob

Bob always wins.

Sample 0037
Input
803 806 281
Output
Bob

Bob always wins.

Sample 0038
Input
935 792 514
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0039
Input
847 891 395
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0040
Input
155 695 203
Output
Bob

Bob always wins.

Sample 0041
Input
549 576 279
Output
Bob

Bob always wins.

Sample 0042
Input
92 934 243
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0043
Input
636 386 760
Output
Bob

Bob always wins.

Sample 0044
Input
437 689 413
Output
Bob

Bob always wins, so print Bob.

Sample 0045
Input
119 391 408
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0046
Input
600 23 700
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0047
Input
139 804 461
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0048
Input
42 206 832
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0049
Input
115 866 126
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0050
Input
692 341 290
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0051
Input
86 402 376
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0052
Input
547 56 126
Output
Bob

Bob always wins.

Sample 0053
Input
863 886 708
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0054
Input
244 300 914
Output
Bob

Bob always wins.

Sample 0055
Input
204 131 367
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0056
Input
555 204 780
Output
Bob

Bob always wins, so print Bob.

Sample 0057
Input
175 991 265
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0058
Input
273 593 403
Output
Bob

Bob always wins.

Sample 0059
Input
408 389 958
Output
Bob

Bob always wins.

Sample 0060
Input
342 695 772
Output
Bob

Bob always wins, so print Bob.

Sample 0061
Input
103 913 685
Output
Bob

Bob always wins.

Sample 0062
Input
506 438 217
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0063
Input
492 707 529
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0064
Input
303 593 994
Output
Bob

Bob always wins.

Sample 0065
Input
326 100 978
Output
Bob

Bob always wins.

Sample 0066
Input
971 568 621
Output
Bob

Bob always wins, so print Bob.

Sample 0067
Input
362 317 482
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0068
Input
228 509 991
Output
Bob

Bob always wins.

Sample 0069
Input
402 43 176
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0070
Input
62 298 558
Output
Bob

Bob always wins, so print Bob.

Sample 0071
Input
343 541 952
Output
Bob

Bob always wins.

Sample 0072
Input
918 163 431
Output
Bob

Bob always wins.

Sample 0073
Input
96 148 404
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0074
Input
388 917 531
Output
Bob

Bob always wins.

Sample 0075
Input
346 389 345
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0076
Input
746 777 529
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0077
Input
342 369 261
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0078
Input
1 748 736
Output
Bob

Bob always wins.

Sample 0079
Input
35 400 537
Output
Bob

Bob always wins, so print Bob.

Sample 0080
Input
82 134 918
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0081
Input
796 237 776
Output
Bob

Bob always wins.

Sample 0082
Input
892 707 912
Output
Bob

Bob always wins, so print Bob.

Sample 0083
Input
855 183 339
Output
Bob

Bob always wins.

Sample 0084
Input
607 752 72
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0085
Input
90 186 210
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0086
Input
128 153 475
Output
Bob

Bob always wins, so print Bob.

Sample 0087
Input
602 224 875
Output
Bob

Bob always wins.

Sample 0088
Input
931 153 995
Output
Bob

Bob always wins.

Sample 0089
Input
232 671 231
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0090
Input
334 730 934
Output
Bob

Bob always wins.

Sample 0091
Input
153 171 270
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0092
Input
90 129 402
Output
Bob

Bob always wins.

Sample 0093
Input
758 218 482
Output
Bob

Bob always wins, so print Bob.

Sample 0094
Input
563 720 850
Output
Bob

Bob always wins.

Sample 0095
Input
652 780 431
Output
Bob

Bob always wins.

Sample 0096
Input
164 543 454
Output
Bob

Bob always wins, so print Bob.

Sample 0097
Input
430 941 141
Output
Bob

Bob always wins, so print Bob.

Sample 0098
Input
143 84 556
Output
Bob

Bob always wins.

Sample 0099
Input
88 653 150
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0100
Input
257 147 325
Output
Bob

Bob always wins.

Sample 0101
Input
726 456 195
Output
Bob

Bob always wins.

Sample 0102
Input
468 641 997
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0103
Input
975 614 868
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0104
Input
567 568 323
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0105
Input
186 405 597
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0106
Input
877 299 876
Output
Bob

Bob always wins, so print Bob.

Sample 0107
Input
457 839 135
Output
Bob

Bob always wins.

Sample 0108
Input
114 467 283
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0109
Input
645 22 332
Output
Bob

Bob always wins.

Sample 0110
Input
846 568 935
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0111
Input
17 29 35
Output
Bob

Bob always wins.

Sample 0112
Input
340 411 5
Output
Bob

Bob always wins.

Sample 0113
Input
954 247 14
Output
Bob

Bob always wins.

Sample 0114
Input
350 71 281
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0115
Input
452 241 765
Output
Bob

Bob always wins, so print Bob.

Sample 0116
Input
916 459 920
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0117
Input
106 18 416
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0118
Input
220 164 48
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0119
Input
831 579 561
Output
Bob

Bob always wins.

Sample 0120
Input
589 198 806
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0121
Input
857 998 845
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0122
Input
401 330 187
Output
Bob

Bob always wins.

Sample 0123
Input
385 552 575
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0124
Input
308 654 145
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0125
Input
445 778 910
Output
Bob

Bob always wins, so print Bob.

Sample 0126
Input
184 188 384
Output
Bob

Bob always wins.

Sample 0127
Input
819 589 77
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0128
Input
562 157 847
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0129
Input
701 211 843
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0130
Input
22 34 484
Output
Bob

Bob always wins.

Sample 0131
Input
467 435 475
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0132
Input
231 784 983
Output
Bob

Bob always wins.

Sample 0133
Input
784 371 843
Output
Bob

Bob always wins.

Sample 0134
Input
179 250 948
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0135
Input
765 389 979
Output
Bob

Bob always wins, so print Bob.

Sample 0136
Input
742 92 138
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0137
Input
378 976 239
Output
Bob

Bob always wins.

Sample 0138
Input
376 294 194
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0139
Input
868 851 522
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0140
Input
190 692 711
Output
Bob

Bob always wins.

Sample 0141
Input
256 608 270
Output
Bob

Bob always wins, so print Bob.

Sample 0142
Input
405 416 286
Output
Bob

Bob always wins.

Sample 0143
Input
560 961 828
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0144
Input
432 720 63
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0145
Input
780 143 508
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0146
Input
31 939 164
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0147
Input
781 401 870
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0148
Input
903 444 165
Output
Bob

Bob always wins.

Sample 0149
Input
478 103 148
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0150
Input
695 548 242
Output
Bob

Bob always wins, so print Bob.

Sample 0151
Input
608 72 697
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0152
Input
210 84 921
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0153
Input
200 237 751
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0154
Input
653 127 813
Output
Bob

Bob always wins.

Sample 0155
Input
349 831 791
Output
Bob

Bob always wins.

Sample 0156
Input
790 140 474
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0157
Input
198 182 376
Output
Bob

Bob always wins.

Sample 0158
Input
859 307 724
Output
Bob

Bob always wins.

Sample 0159
Input
497 291 49
Output
Bob

Bob always wins.

Sample 0160
Input
938 372 256
Output
Bob

Bob always wins, so print Bob.

Sample 0161
Input
265 465 998
Output
Bob

Bob always wins.

Sample 0162
Input
904 399 857
Output
Bob

Bob always wins.

Sample 0163
Input
141 246 666
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0164
Input
89 175 357
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0165
Input
630 864 477
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0166
Input
412 458 993
Output
Bob

Bob always wins.

Sample 0167
Input
929 966 967
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0168
Input
983 688 165
Output
Bob

Bob always wins, so print Bob.

Sample 0169
Input
236 56 842
Output
Bob

Bob always wins.

Sample 0170
Input
582 217 578
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0171
Input
180 124 992
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0172
Input
107 397 306
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0173
Input
465 305 148
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0174
Input
901 470 438
Output
Bob

Bob always wins.

Sample 0175
Input
639 958 347
Output
Bob

Bob always wins.

Sample 0176
Input
789 266 970
Output
Bob

Bob always wins.

Sample 0177
Input
191 47 113
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0178
Input
451 482 741
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0179
Input
884 296 629
Output
Bob

Bob always wins.

Sample 0180
Input
710 945 46
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0181
Input
582 516 819
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0182
Input
5 937 975
Output
Bob

Bob always wins, so print Bob.

Sample 0183
Input
923 612 382
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0184
Input
941 453 145
Output
Bob

Bob always wins, so print Bob.

Sample 0185
Input
713 1000 366
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0186
Input
384 622 668
Output
Bob

Bob always wins.

Sample 0187
Input
13 597 389
Output
Bob

Bob always wins.

Sample 0188
Input
571 902 660
Output
Bob

Bob always wins, so print Bob.

Sample 0189
Input
387 236 781
Output
Bob

Bob always wins, so print Bob.

Sample 0190
Input
881 382 708
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0191
Input
465 360 795
Output
Bob

Bob always wins.

Sample 0192
Input
681 957 333
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0193
Input
135 511 29
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0194
Input
450 442 728
Output
Bob

Bob always wins.

Sample 0195
Input
910 85 760
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0196
Input
408 974 616
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0197
Input
447 229 701
Output
Bob

Bob always wins.

Sample 0198
Input
317 278 593
Output
Bob

Bob always wins.

Sample 0199
Input
989 904 753
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0200
Input
421 724 232
Output
Bob

Bob always wins, so print Bob.

Sample 0201
Input
251 896 527
Output
Bob

Bob always wins.

Sample 0202
Input
443 240 397
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0203
Input
198 883 269
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0204
Input
475 70 562
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0205
Input
561 951 189
Output
Bob

Bob always wins.

Sample 0206
Input
747 231 102
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0207
Input
851 185 800
Output
Bob

Bob always wins, so print Bob.

Sample 0208
Input
271 229 445
Output
Bob

Bob always wins.

Sample 0209
Input
954 765 630
Output
Bob

Bob always wins.

Sample 0210
Input
831 463 272
Output
Bob

Bob always wins, so print Bob.

Sample 0211
Input
731 922 507
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0212
Input
239 535 819
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0213
Input
689 599 278
Output
Bob

Bob always wins.

Sample 0214
Input
138 280 743
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0215
Input
359 524 764
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0216
Input
339 255 486
Output
Bob

Bob always wins.

Sample 0217
Input
464 105 214
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0218
Input
273 788 640
Output
Bob

Bob always wins, so print Bob.

Sample 0219
Input
291 568 815
Output
Bob

Bob always wins.

Sample 0220
Input
567 568 161
Output
Bob

Bob always wins.

Sample 0221
Input
962 636 913
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0222
Input
901 400 346
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0223
Input
828 915 660
Output
Bob

Bob always wins.

Sample 0224
Input
975 94 92
Output
Bob

Bob always wins.

Sample 0225
Input
293 647 842
Output
Bob

Bob always wins, so print Bob.

Sample 0226
Input
70 775 910
Output
Bob

Bob always wins.

Sample 0227
Input
717 846 84
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0228
Input
78 643 170
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0229
Input
906 854 994
Output
Bob

Bob always wins.

Sample 0230
Input
674 450 226
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0231
Input
517 649 697
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0232
Input
674 377 191
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0233
Input
77 949 621
Output
Bob

Bob always wins, so print Bob.

Sample 0234
Input
264 730 248
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0235
Input
752 978 700
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0236
Input
353 406 915
Output
Bob

Bob always wins.

Sample 0237
Input
373 42 449
Output
Bob

Bob always wins, so print Bob.

Sample 0238
Input
13 70 835
Output
Bob

Bob always wins.

Sample 0239
Input
126 222 462
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0240
Input
705 928 149
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0241
Input
812 503 656
Output
Bob

Bob always wins, so print Bob.

Sample 0242
Input
614 22 498
Output
Bob

Bob always wins, so print Bob.

Sample 0243
Input
756 517 644
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0244
Input
578 891 637
Output
Bob

Bob always wins, so print Bob.

Sample 0245
Input
332 448 921
Output
Bob

Bob always wins.

Sample 0246
Input
771 116 652
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0247
Input
416 739 384
Output
Bob

Bob always wins, so print Bob.

Sample 0248
Input
658 435 149
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0249
Input
128 764 566
Output
Bob

Bob always wins, so print Bob.

Sample 0250
Input
909 956 349
Output
Bob

Bob always wins, so print Bob.

Sample 0251
Input
465 656 796
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0252
Input
322 802 766
Output
Bob

Bob always wins, so print Bob.

Sample 0253
Input
644 287 608
Output
Bob

Bob always wins, so print Bob.

Sample 0254
Input
995 178 501
Output
Bob

Bob always wins, so print Bob.

Sample 0255
Input
908 181 936
Output
Bob

Bob always wins, so print Bob.

Sample 0256
Input
276 773 814
Output
Bob

Bob always wins.

Sample 0257
Input
258 413 220
Output
Bob

Bob always wins, so print Bob.

Sample 0258
Input
955 396 377
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0259
Input
626 539 563
Output
Bob

Bob always wins.

Sample 0260
Input
680 86 71
Output
Bob

Bob always wins, so print Bob.

Sample 0261
Input
847 141 686
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0262
Input
446 190 336
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0263
Input
888 832 386
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0264
Input
413 586 486
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0265
Input
509 962 311
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0266
Input
162 389 556
Output
Bob

Bob always wins.

Sample 0267
Input
448 768 917
Output
Bob

Bob always wins.

Sample 0268
Input
195 54 561
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0269
Input
903 287 457
Output
Bob

Bob always wins.

Sample 0270
Input
797 857 182
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0271
Input
591 411 780
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0272
Input
9 448 353
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0273
Input
165 588 273
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0274
Input
896 156 514
Output
Bob

Bob always wins.

Sample 0275
Input
646 991 37
Output
Bob

Bob always wins.

Sample 0276
Input
444 993 399
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0277
Input
585 278 919
Output
Bob

Bob always wins.

Sample 0278
Input
174 988 242
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0279
Input
488 321 838
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0280
Input
587 746 962
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0281
Input
425 668 176
Output
Bob

Bob always wins.

Sample 0282
Input
336 595 743
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0283
Input
361 143 819
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0284
Input
395 897 382
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0285
Input
657 675 720
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0286
Input
330 422 220
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0287
Input
543 304 422
Output
Bob

Bob always wins, so print Bob.

Sample 0288
Input
867 200 904
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0289
Input
436 334 958
Output
Bob

Bob always wins, so print Bob.

Sample 0290
Input
604 520 847
Output
Bob

Bob always wins.

Sample 0291
Input
201 654 927
Output
Bob

Bob always wins.

Sample 0292
Input
419 934 267
Output
Bob

Bob always wins.

Sample 0293
Input
50 24 385
Output
Bob

Bob always wins.

Sample 0294
Input
760 380 885
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0295
Input
908 979 111
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0296
Input
817 983 414
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0297
Input
927 699 642
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0298
Input
778 615 632
Output
Bob

Bob always wins.

Sample 0299
Input
64 389 33
Output
Bob

Bob always wins.

Sample 0300
Input
235 653 948
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0301
Input
398 38 428
Output
Bob

Bob always wins.

Sample 0302
Input
966 104 145
Output
Bob

Bob always wins.

Sample 0303
Input
453 70 287
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0304
Input
627 325 776
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0305
Input
807 270 840
Output
Bob

Bob always wins.

Sample 0306
Input
276 316 731
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0307
Input
137 768 148
Output
Bob

Bob always wins, so print Bob.

Sample 0308
Input
295 983 639
Output
Bob

Bob always wins.

Sample 0309
Input
157 184 739
Output
Bob

Bob always wins.

Sample 0310
Input
353 556 171
Output
Bob

Bob always wins.

Sample 0311
Input
749 349 846
Output
Bob

Bob always wins.

Sample 0312
Input
320 140 566
Output
Bob

Bob always wins, so print Bob.

Sample 0313
Input
337 807 287
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0314
Input
51 742 962
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0315
Input
630 187 560
Output
Bob

Bob always wins, so print Bob.

Sample 0316
Input
224 840 772
Output
Bob

Bob always wins.

Sample 0317
Input
458 726 490
Output
Bob

Bob always wins, so print Bob.

Sample 0318
Input
940 130 37
Output
Bob

Bob always wins, so print Bob.

Sample 0319
Input
453 772 908
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0320
Input
297 924 453
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0321
Input
877 864 608
Output
Bob

Bob always wins, so print Bob.

Sample 0322
Input
244 991 898
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0323
Input
235 185 633
Output
Bob

Bob always wins, so print Bob.

Sample 0324
Input
637 543 926
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0325
Input
966 570 543
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0326
Input
865 273 158
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0327
Input
72 539 712
Output
Bob

Bob always wins.

Sample 0328
Input
274 874 553
Output
Bob

Bob always wins.

Sample 0329
Input
480 186 279
Output
Bob

Bob always wins.

Sample 0330
Input
679 803 462
Output
Bob

Bob always wins.

Sample 0331
Input
328 607 523
Output
Bob

Bob always wins, so print Bob.

Sample 0332
Input
51 906 717
Output
Bob

Bob always wins.

Sample 0333
Input
765 551 277
Output
Bob

Bob always wins, so print Bob.

Sample 0334
Input
749 792 484
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0335
Input
284 673 690
Output
Bob

Bob always wins.

Sample 0336
Input
1 381 482
Output
Bob

Bob always wins, so print Bob.

Sample 0337
Input
261 841 842
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0338
Input
205 501 698
Output
Bob

Bob always wins.

Sample 0339
Input
585 187 902
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0340
Input
351 574 911
Output
Bob

Bob always wins, so print Bob.

Sample 0341
Input
222 278 364
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0342
Input
114 979 797
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0343
Input
179 436 222
Output
Bob

Bob always wins.

Sample 0344
Input
464 486 778
Output
Bob

Bob always wins, so print Bob.

Sample 0345
Input
999 759 132
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0346
Input
464 72 652
Output
Bob

Bob always wins.

Sample 0347
Input
763 619 184
Output
Bob

Bob always wins, so print Bob.

Sample 0348
Input
303 336 819
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0349
Input
650 233 8
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0350
Input
74 125 368
Output
Bob

Bob always wins.

Sample 0351
Input
864 787 617
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0352
Input
171 728 451
Output
Bob

Bob always wins.

Sample 0353
Input
130 804 308
Output
Bob

Bob always wins, so print Bob.

Sample 0354
Input
848 680 65
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0355
Input
930 723 723
Output
Bob

Bob always wins.

Sample 0356
Input
902 812 689
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0357
Input
355 905 495
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0358
Input
245 756 511
Output
Bob

Bob always wins.

Sample 0359
Input
235 115 487
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0360
Input
339 714 810
Output
Bob

Bob always wins.

Sample 0361
Input
790 386 309
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0362
Input
271 424 547
Output
Bob

Bob always wins.

Sample 0363
Input
183 844 593
Output
Bob

Bob always wins.

Sample 0364
Input
843 67 845
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0365
Input
89 81 127
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0366
Input
509 254 803
Output
Bob

Bob always wins.

Sample 0367
Input
397 413 54
Output
Bob

Bob always wins.

Sample 0368
Input
852 564 501
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0369
Input
42 101 991
Output
Bob

Bob always wins.

Sample 0370
Input
551 248 848
Output
Bob

Bob always wins.

Sample 0371
Input
877 935 834
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0372
Input
78 628 50
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0373
Input
501 882 372
Output
Bob

Bob always wins.

Sample 0374
Input
688 22 424
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0375
Input
372 437 514
Output
Bob

Bob always wins, so print Bob.

Sample 0376
Input
545 287 5
Output
Bob

Bob always wins.

Sample 0377
Input
251 881 515
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0378
Input
305 853 759
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0379
Input
428 689 287
Output
Bob

Bob always wins.

Sample 0380
Input
432 640 818
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0381
Input
606 541 149
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0382
Input
604 432 746
Output
Bob

Bob always wins.

Sample 0383
Input
403 809 300
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0384
Input
289 821 105
Output
Bob

Bob always wins.

Sample 0385
Input
297 649 296
Output
Bob

Bob always wins.

Sample 0386
Input
856 90 674
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0387
Input
861 872 616
Output
Bob

Bob always wins.

Sample 0388
Input
728 900 586
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0389
Input
597 192 21
Output
Bob

Bob always wins.

Sample 0390
Input
438 681 690
Output
Bob

Bob always wins.

Sample 0391
Input
627 84 774
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0392
Input
428 287 716
Output
Bob

Bob always wins, so print Bob.

Sample 0393
Input
876 34 332
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0394
Input
71 333 82
Output
Bob

Bob always wins.

Sample 0395
Input
788 627 286
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0396
Input
483 2 352
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0397
Input
678 474 468
Output
Bob

Bob always wins.

Sample 0398
Input
438 372 999
Output
Bob

Alice cannot win no matter how she plays her cards.

Sample 0399
Input
603 882 648
Output
Bob

Bob always wins.

Sample 0400
Input
636 19 317
Output
Bob

Bob always wins.

Sample 0401
Input
511 799 337
Output
Bob

Alice cannot win no matter how she plays her cards.

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。