| 
 
 
 | Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб. 
 
 Is it a triangle?Write a program to check whether a triangle is valid or not, when the three angles of the triangle 
are the inputs. A triangle is valid if the sum of all the three angles is equal to 180 degress.
Input specification  The first line contains three angles A, B and C of 
triangle separated by space.
 
Output specification  Display 'YES' or 'NO' if the triangle is valid or not.
 Constraints
 0 ≤ T ≤ 1001
 0 ≤ A,B,C ≤ 180
 
| Sample Input I | Sample Input II |  
| 
30 40 110 
 | 
60 60 50
 |  
| Sample Output I | Sample Output II |  | 
YES 
 | 
NO
 |  Для отправки решений необходимо выполнить вход.
 
 
 |