For this Question: Alice wants to go to Bob's house. The location of their houses is given on a 2-D coordinate system. There are a total of 8 directions:
North - Directly above
South - Directly below
East - To the right
West - To the left
North East - In between north and east
North West - In between north and west
South East - In between south and east
South West - In between south and west
Find the direction in which Alice must go to reach Bob's house.There are two lines of input. The first line contains the x and y coordinate of Alice's house. The second line contains x and y coordinate of Bob's house. It is given that these two locations are different.

-100 <= Coordinates <= 100Print a single string denoting the direction in which Alice must move to reach Bob's house.Sample Input 1:
2 5
11 25

Sample Output 1:
North East

Sample Input 2:
23 12
-85 12

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

class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
	    
	 
	 	int x1, y1, x2, y2;
	 	x1=sc.nextInt();
	 	y1=sc.nextInt();
	 	x2=sc.nextInt();
	 	y2=sc.nextInt();
	if(x1 == x2){
		if(y1 < y2)
			System.out.print("North");
		else
			System.out.print("South");
	}
	else if(y1 == y2){
		if(x1 < x2)
			System.out.print("East");
		else
			System.out.print("West");
	}
	else if(x1 < x2 && y1 < y2)
		System.out.print("North East");
	else if(x1 < x2 && y1 > y2)
System.out.print("South East");
	else if(x1 > x2 && y1 < y2)
		System.out.print("North West");
	else
		System.out.print("South West");

	 
	 
	}


}, In this Programming Language: Java, Now tell me if this Code is compilable or not?