EasyRating 900
Equal Coins for Sisters
Three sisters have a, b and c coins. You have n more coins and must give all of them away so every sister ends with the same number. Print YES or NO.
Input
Four integers a, b, c, n.
Output
YES or NO.
Sample 1
Input
5 3 2 8
Output
YES
Sample 2
Input
100 101 102 105
Output
YES
Output appears here