1171 - 三位回文数

请从小到大输出m~n之间所有的3位的回文数,并求出这些数有多少个。

Input

两个整数mn用空格隔开(m<=n,且mn一定都是3位数)。

Output

先输出m~n之间所有的3位的回文数,每行1个;

最后1行输出3位回文数总共有多少个;

Examples

Input

100 200

Output

101
111
121
131
141
151
161
171
181
191
10
Time Limit 1 second
Memory Limit 64 MB
Discuss Stats
上一题 下一题