For this Question: Given three numbers tell whether they form a pythagorus triplet or not. 
Given A , B and C. 
Three integers form pythagorus triplet if sum of square of two is equal to square of third.The first line of the input contains three space separated integers A, B and C.

Constraints
1 <= A,B,C <= 100The output should contain "YES" if they form a triplet else you should print "NO" without quotes.Sample Input
4 3 5

Sample Output
YES

Sample Input
4 6 5

Sample Output
NO, I have written this Solution Code: nums=list(map(int,input().rstrip().split()))
nums.sort()
if((nums[0]**2)+(nums[1]**2)==(nums[2]**2)):
    print("YES")
else:
    print("NO"), In this Programming Language: Python, Now tell me if this Code is compilable or not?