For this Question: Daemon has 2 dragon eggs, one is made of A grams of Gold and the other is made of B grams of Silver.

We know that Gold costs G coins per gram and Silver costs S coins per gram. You need to determine which of the two dragon eggs are more valuable.The input contains 4 space-separated integers G, S, A, B.

<b> Constraints: </b>
1 ≤ G, S, A, B ≤ 10<sup>4</sup>Print "Gold" (without quotes) if the Gold egg costs <b>equal to or more than</b> the silver egg. Otherwise, print "Silver" (without quotes). 
Note that the output is case-sensitive.Sample Input 1:
5 4 4 5

Sample Output 1:
Gold

Sample Input 2:
1 1 2 3

Sample Output 2:
Silver, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
    public static void main (String[] args) throws IOException {

    BufferedReader bi = new BufferedReader(new InputStreamReader(System.in));
    int [] num = new int[4];
    String[] str = bi.readLine().split(" ");
    for(int i = 0; i < str.length; i++)
        num[i] = Integer.parseInt(str[i]);
    if((num[0] * num[2]) >= (num[1] * num[3]))
        System.out.print("Gold");
    else
        System.out.print("Silver");
    }
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?