#368. 整除
整除
No testdata at current.
Background
Special for beginners, ^_^
Description
给你 个大整数 ,问它能不能被 7 整除。
Format
Input
第 1 行 1 个整数 ,表示数据个数。
接下来 行,每行 2 个整数 和 ,其中 是 的位数。
Output
行,其中第 行为 能否被 7 整除。能输出 yEs
,否则输出 nO
。
Samples
3
1 7
3 111
20 49494949494949494949
yEs
nO
yEs
Limitation