#### Registered Users Only

Please login to view and utilize this feature.

## Problem Description

A number is divisible by 11 if the absolute difference between the sums of alternating digits is divisible by 11.

For example, 74954 is divisible by 11 because (7 + 9 + 4) - (4 + 5) = 11 is divisible by 11.

You are given a positive integer *N*. Determine if *N* is divisible by 11.

## Input

The only line of input will contain one integer, *N*.

## Output

Output 'YES' (without quotes) on a single line if N is divisible by 11. Otherwise, output 'NO' (without quotes).

## Limits

Subtask 1 (20%): 1 ≤ *N* ≤ 1000000

Subtask 2 (80%): *N* contains at most 1000000 digits

Subtask 3 (0%): Sample Testcases

## Sample Testcase 1

### Input

74954

### Output

YES

## Sample Testcase 1

### Input

20010

### Output

NO

### Tags

### Subtasks and Limits

Subtask | Score | #TC | Time | Memory | Scoring |
---|---|---|---|---|---|

1 | 20 | 27 | 1s | 32MB | Minimum |

2 | 80 | 37 | 1s | 32MB | Minimum |

3 | 0 | 2 | 1s | 32MB | Minimum |

### Judge Compile Command

g++ ans.cpp -o eleven -Wall -static -O2 -lm -m64 -s -w -std=gnu++14 -fmax-errors=512