For this Question: You are given three integers A, B and C, which are the side lengths of a triangle in some order. Print "Yes" if this triangle is right-angled, otherwise print "No".The input consists of a single line containing three space-separated integers A, B and C.

Constraints:
1 &le; A, B, C &le; 1000Print a single word "Yes" if the given triangle is right-angled, otherwise print "No".

Note:
The quotation marks are only for clarity, you should not print them in output.
The output is case-sensitive.Sample Input 1:
3 4 5
Sample Output 1:
Yes

Sample Input 2:
10 9 10
Sample Output 2:
No

Sample Input 3:
5 4 3
Sample Output 3:
Yes, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
    public static void main (String[] args) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
        String[] inp = br.readLine().split(" ");
        int a = Integer.parseInt(inp[0]);
        int b = Integer.parseInt(inp[1]);
        int c = Integer.parseInt(inp[2]);
        if(a * a == b * b + c * c)
            bw.write("Yes"+"\n");
        else if(b * b == a * a + c * c)
            bw.write("Yes"+"\n");
        else if(c * c == b * b + a * a)
            bw.write("Yes"+"\n");
        else
            bw.write("No"+"\n");
        bw.flush();

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