using System;
using System.Text;
public class Program
{
public static void Main()
string s1 ="tsst";
char[] chs = s1.ToCharArray();
bool isMatched = true;
int halfLength = Math.Abs(chs.Length-1/2);
for(int i = halfLength; i >=0;i--)
if(chs[i]!=chs[i * halfLength])
isMatched = false;
break;;
}
Console.WriteLine(isMatched);