For this Question: Prime Minister loves to travel with their cabinet ministers.

Prime Minister has X cars that can seat 4 people and Y cars that can seat 7 people each. Determine the maximum number of people that can travel together in these cars.The first and only line of input contains a number of 4- seaters and 7- seater cars separated by space.

Constraints:
1 <= X, Y <= 100Print the maximum number of people that can travel with the Prime Minister.Sample Input:
4 8

Sample Output:
72

Sample Input:
2 3

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


public class Main {

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

        BufferedReader readInput = new BufferedReader(new InputStreamReader(System.in));
        String arr[] = readInput.readLine().trim().split(" ");
        int X = Integer.parseInt(arr[0]);
        int Y = Integer.parseInt(arr[1]);

        maxPeopleTravel(X, Y);

    }

    static void maxPeopleTravel(int X, int Y)
    {
        System.out.println((X*4) + (Y*7));
    }
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?