#abc334a. A - Christmas Present
A - Christmas Present
Score : points
问题描述
Takahashi,一位年轻的棒球爱好者,今年表现得非常乖巧,因此圣诞老人决定送给他一个更贵的礼物——要么是一只棒球棒,要么是一只手套。
如果棒球棒的价格是 日元,手套的价格是 日元(),那么圣诞老人会给 Takahashi 送哪个礼物呢?
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
Takahashi, a young baseball enthusiast, has been a very good boy this year, so Santa has decided to give him a bat or a glove, whichever is more expensive.
If a bat costs yen and a glove costs yen (), which one will Santa give to Takahashi?
Constraints
- and are different integers between and , inclusive.
Input
The input is given from Standard Input in the following format:
Output
If Santa gives Takahashi a bat, print Bat
; if Santa gives him a glove, print Glove
.
Sample Input 1
300 100
Sample Output 1
Bat
The bat is more expensive than the glove, so Santa will give Takahashi the bat.
Sample Input 2
334 343
Sample Output 2
Glove
The glove is more expensive than the bat, so Santa will give Takahashi the glove.
update @ 2024/3/10 01:20:45