REVERSE LENGTH DIVISBLE SOLUTION SSEC0020
Turn around Length Divisible Given a number N, check on the off chance that it is opposite length separable. A number is supposed to be opposite length detachable if the main I digits of the number is distinct by (l-i+1) where l is the quantity of digits in N and 0 < I <= l.
For instance, 652281 is converse length detachable in light of the fact that:
6 is detachable by 6
65 is detachable by 5
652 is detachable by 4
6522 is detachable by 3
65228 is detachable by 2
652281 is detachable by 1.
43268 isn’t opposite length distinct. Print Yes if the number is converse length distinct and no something else.
0 ≤ n ≤ 100000
The main line contains the number N.
Print “Yes” if the number is opposite length distinct in any case print “No” (without cites).