Олимпиадный тренинг

Задача 38213. Tennis


Vasya, Petya and Kolya played tennis right through (the loser skipped the next game, giving up his place to the third). Vasya claims to have played x games, Petya – that played y parties, Kolya – z games.

Determine if it could be.

Input
Enter three non-negative integers x, y, z not exceeding 1000.

Imprint
Print YES (in capital letters) if it could be, and NO otherwise.
Examples
# Input Output
1 3 1 2 YES
2 1 1 1 NO