3330 - 判断回文字符串(对撞指针)
Description

判断一个字符串是不是回文(正着读和反着读都一样,比如 `"level"`、`"12321"`)

Input

一个数字t;

然后是t个字符串;

Output

每行一个yes或者no表示他是否是回文字符串

Examples

Input

2
noon
moon

Output

yes
no
Hint

t\leq 100 字符串长度s[i].size() \leq 1000

题目参数
时间限制 1 秒
内存限制 128 MB
提交次数 1
通过次数 1