102120: [AtCoder]ABC212 A - Alloy

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

Description

Score : $100$ points

Problem Statement

Takahashi melted and mixed $A$ grams of gold and $B$ grams of silver $(0 \leq A,B,\ 0 \lt A+B)$ to produce new metal.

What metal did he produce: pure gold, pure silver, or an alloy?

Formally, the product is called as follows.

  • Pure gold, if $0 \lt A$ and $B=0$.
  • Pure silver, if $A=0$ and $0 \lt B$.
  • An alloy, if $0 \lt A$ and $0 \lt B$.

Constraints

  • $0 \leq A,B \leq 100$
  • $1 \leq A+B$
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

$A$ $B$

Output

If the product is pure gold, print Gold; if it is pure silver, print Silver; if it is an alloy, print Alloy.


Sample Input 1

50 50

Sample Output 1

Alloy

We have $0 \lt A$ and $0 \lt B$, so the product is an alloy.


Sample Input 2

100 0

Sample Output 2

Gold

We have $0 \lt A$ and $B=0$, so the product is pure gold.


Sample Input 3

0 100

Sample Output 3

Silver

We have $A=0$ and $0 \lt B$, so the product is pure silver.


Sample Input 4

100 2

Sample Output 4

Alloy

Input

题意翻译

输入两个非负整数 $a,b$ ,如果 $a=0$ 输出“Silver”,如果 $b=0$ 输出“Gold”,如果 $a,b$ 都大于 $0$ 输出“Alloy”。(注:输出时的字符串不含双引号)

Output

分数:100分 部分 问题描述 Takahashi融化并混合了A克黄金和B克银(0≤A,B,0

加入题单

上一题 下一题 算法标签: