For this Question: Given a function f(x) = ax<sup>2 </sup> + bx + c. You are given an integer P. Print the value of f(P).The first input line contains three integers a, b, c - the coefficients of the quadratic equations.
The second line contains integer P

Constraints:
0 <= a, b, c, P <= 100Print the value of f(P).Sample Input 1:
1 1 1
1

Output:
3

Explanation:
f(x) = x<sup>2 </sup> + x + 1
f(1) = 1*1 + 1 +1 = 3 

Sample Input 2:
1 2 3 
7

Output:
66

Explanation:
f(x) = x<sup>2</sup> + 2x + 3
f(7) = 7*7 + 2*7 + 3 = 66, I have written this Solution Code: /*package whatever //do not write package name here */

import java.io.*;
import java.util.Scanner;

class Main {
	public static void main (String[] args) {
	    int a,b,c,d;
	    Scanner s = new Scanner(System.in);
        a = s.nextInt();
        b = s.nextInt();
        c = s.nextInt();
        d = s.nextInt();
        System.out.println(a*d*d + b*d + c);
		
	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?