#YACS202009C2. 中心对称数
中心对称数
题目描述
中心对称数是指沿中心旋转 180 度后不变的十进制正整数。
- ,, 旋转后不变;
- 旋转后为 , 旋转后为 ;
- 其他数字旋转后不能构成合理的数字。
给定一个正整数 ,请判断 是否是中心对称数。注意有一部分输入将会非常大。
输入格式
单个整数:表示 。
输出格式
- 如果输入的数字是中心对称数,输出
Strobogrammatic number
, - 否则输出
Not a strobogrammatic number
。
数据范围
记 的十进制长度为 ,
- 对于 的数据,;
- 对于 的数据,。
样例数据
输入:
18081
输出:
Strobogrammatic number
输入:
666
输出:
Not a strobogrammatic number
输入:
4287
输出:
Not a strobogrammatic number