using System; class DaLiJePalindrom { static void Main() { Console.Write("Unesi string: "); string s = Console.ReadLine(); Console.WriteLine(Palindrom(s)); } static bool Palindrom(string s) { int i = 0; int j = s.Length - 1; while(i < j) { if(NijeSlovo(s[i])) { i++; continue; } if(NijeSlovo(s[j])) { j--; continue; } if(NijeIstoSlovo(s[i], s[j])) { return false; } i++; j--; } return true; } static bool NijeSlovo(char c) { return !char.IsLetter(c); } static bool NijeIstoSlovo(char a, char b) { return char.ToLower(a) != char.ToLower(b); } }