Valid Triangle (II)
Time Limit: 1 sec
A triangle is a polygon with three edges and three vertices.
In a triangle have 3 angle and the summation of 3 angle is 180 degree.
Make a simple program that reads 3 integer numbers A, B, and C denoted the value of 3 angle in degree of a triangle. You need to determind that it's valid triangle or not.
Input file contain a series of line, each line contain 3 integer numbers A, B, and C (0<=A, B, C<=180). Input is terminated by EOF.
For each line of input, print "YES" if the triangle is valid otherwise print "NO" in a separate line.
60 60 60
60 60 90
45 45 90
Problem Setter: Shahin ShamS