#Lutece1178. 有趣的11整除

有趣的11整除

Migrated from Lutece 1178 有趣的11整除

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

给一个数,我们对他进行以下操作 把每个数位加起来,接在数字后面。 我们把它重复t次,问最后的数字能否被11整除。 When n=123 and t=4 then we can get 123->1236->123612->12361215.

Input

多组数据 两个数 0<=n<10^4 (表示初始的数字) ,t(0<=t<10^5)代表重复次数。 0 0结束

Output

每组数据给一行 ,Yes表示可以,No表示不可以。

Samples

35 2
35 1
0 0
Yes
No