For this Question: Our five power rangers have powers P1, P2, P3, P4, and P5. 
To ensure the proper distribution of power, the power of every power ranger must remain <b>less</b> than the sum of powers of other power rangers.
If the above condition is not met, there's an emergency. Can you let us know if there's an emergency?The first and the only line of input contains 5 integers P1, P2, P3, P4, and P5.


Constraints
0 <= P1, P2, P3, P4, P5 <= 100Output "SPD Emergency" (without quotes) if there's an emergency, else output "Stable".Sample Input
1 2 3 4 5

Sample Output
Stable

Explanation
The power of every power ranger is less than the sum of powers of other power rangers. 

Sample Input
1 2 3 4 100

Sample Output
SPD Emergency

Explanation
The power of the 5th power ranger (100) is not less than the sum of powers of other power rangers (1+2+3+4=10)., I have written this Solution Code: import java.io.*;
import java.util.*;



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

	int[] arr=new int[5];
	BufferedReader rd=new BufferedReader(new InputStreamReader(System.in));
	String[] s=rd.readLine().split(" ");
	int sum=0;

	for(int i=0;i<5;i++){
		arr[i]=Integer.parseInt(s[i]);
		sum+=arr[i];
	}

	int i=0,j=arr.length-1;
	boolean isEmergency=false;
	while(i<=j)
	{
		int temp=arr[i];
		sum-=arr[i];
		if(arr[i]>= sum)
		{
			isEmergency=true;
			break;
		}

		sum+=temp;
		i++;
	}

	if(isEmergency==false)
	{
		System.out.println("Stable");
	}
	else
	{
		System.out.println("SPD Emergency");
	}





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