def func(one, two, nums):
    if len(nums) == 0:
        if sum(one) == sum(two):
            return True
        else:
            return False
    return func(one+nums[:1], two, nums[1:]) or func(one, two+nums[:1], nums[1:])

s = [int(i) for i in input()]
if func([],[],s):
    print('Yes')
else:
    print('No')