For this Question: Newton is playing a Cricket match. He has a target of x runs in y overs to win the game. He is scoring at the run rate of z. Tell whether he will able to win match for his team?The first line contains the integer x denoting the target runs to win the match.
The following line contains the integer y denoting the number of overs left.
The following line contains the z denoting the current run rate.

<b>Constraints</b>
1 &le; x &le; 500
1 &le; y &le; 50
1 &le; z &le; 12
x,y and z are IntegersPrint "Newton's team will win" if he achieves the target otherwise print "Newton's team will lose"Sample Input:
300
50
6

Sample output:
Newton's team will win, I have written this Solution Code: import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt(); 
        assert(x>= 1 && x<= 500);
        int y = sc.nextInt(); 
        assert(y>= 1 && y<= 50);
        float z = sc.nextFloat(); 
        assert(z>= 1 && z<= 12);
        int currentScore = (int) (z * y ); 
        int requiredScore = x;
        if (currentScore >= requiredScore) {
            System.out.println("Newton's team will win");
        } else {
            System.out.println("Newton's team will lose");
        }
        sc.close();
    }
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?