A - Blackjack
Trạng thái
Given are three integers \(A_1, A_2, A_3\). If \(A_1 + A_2 + A_3\) is greater than or equal to 22, print \("bust"\); otherwise, print \("win"\).
Constraints
- \(1 \le A_i \le 13 (i=1,2,3)\)
- All values in input are integers.
Input
- Input is given from Standard Input in the following format: \(A_1\) \(A_2\) \(A_3\)
Output:
- If \(A_1 + A_2 + A_3\) is greater than or equal to 22, print “bust”; otherwise, print “win”.
5 7 9
win
13 7 2
bust
Thông tin
Thông tin bài tập
Điểm
100
Giới hạn thời gian:
1.0s
Giới hạn bộ nhớ:
64 M
I/O
stdin -> stdout
Tác giả
Loại đề bài
A01 - Nhập môn: Biến, hằng và phép toán
Ngôn ngữ cho phép
C, C#, C++, Java, Pascal, Python, Text