103340: [Atcoder]ABC334 A - Christmas Present

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:12 Solved:0

Description

Score : $100$ points

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 $B$ yen and a glove costs $G$ yen ($B\neq G$), which one will Santa give to Takahashi?

Constraints

  • $B$ and $G$ are different integers between $1$ and $1000$, inclusive.

Input

The input is given from Standard Input in the following format:

$B$ $G$

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.

Output

得分:100分

问题描述

棒球爱好者高桥今年表现非常好,所以圣诞老人决定送给他一支球棒或一只手套,看哪个更贵。

如果球棒的价格是B日元,手套的价格是G日元(B≠G),圣诞老人会送给高桥哪个呢?

限制条件

  • B和G是在1到1000之间的不同整数。

输入

输入从标准输入按以下格式给出:

$B$ $G$

输出

如果圣诞老人送给高桥一支球棒,打印Bat;如果圣诞老人送给他一只手套,打印Glove


样例输入1

300 100

样例输出1

Bat

球棒比手套贵,所以圣诞老人会送给高桥一支球棒。


样例输入2

334 343

样例输出2

Glove

手套比球棒贵,所以圣诞老人会送给高桥一只手套。

HINT

输出贵的那个物品?

加入题单

算法标签: