5965: ABC212 —— A - Alloy
[Creator : ]
Description
Takahashi melted and mixed $A$ grams of gold and $B$ grams of silver $(0≤A,\ B,\ 0<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.
What me
Formally, the product is called as follows.
- Pure gold, if $0<A$ and $B=0$.
- Pure silver, if $A=0$ and $0<B$.
- An alloy, if $0<A$ and $0<B$.
Input
Input is given from Standard Input in the following format:
$A\ B$
$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 1 Input
50 50
Sample 1 Output
Alloy
We have 0<A0<A and 0<B0<B, so the product is an alloy.
Sample 2 Input
100 0
Sample 2 Output
Gold
We have 0<A0<A and B=0B=0, so the product is pure gold.
Sample 3 Input
0 100
Sample 3 Output
Silver
We have A=0A=0 and 0<B0<B, so the product is pure silver.
HINT
题目来源:AtCoder ABC212 A题。