Problem Description

Check divisibility by 11 using digit positions rule.

Input Format

One non-negative integer n.

Output Format

YES or NO.

Sample Test Case

Input:
121
Output:
YES

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next