public static void Main()
int q = Convert.ToInt32(Console.ReadLine());
for (int a0 = 0; a0 < q; a0++)
string s = Console.ReadLine();
int result = theLoveLetterMystery(s);
Console.WriteLine(result);
static int theLoveLetterMystery(string s){
for(int i = 0, j = s.Length-1; i < s.Length/2; i++, j--)
count += Math.Abs((int)s[j] - (int)s[i]);