100 atcoder#ABC212A. [ABC212A] Alloy
[ABC212A] Alloy
Score : points
Problem Statement
Takahashi melted and mixed grams of gold and grams of silver 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 and .
- Pure silver, if and .
- An alloy, if and .
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
If the product is pure gold, print Gold
; if it is pure silver, print Silver
; if it is an alloy, print Alloy
.
50 50
Alloy
We have and , so the product is an alloy.
100 0
Gold
We have and , so the product is pure gold.
0 100
Silver
We have and , so the product is pure silver.
100 2
Alloy