using System;
using System.Linq;
public class Palindrome_CSharp
{
public static bool IsSentencePalindrome(string str) {
// Change the string into lowercase and remove all non-alphanumeric characters
str = new string(str.ToLower().Where(c => char.IsLetterOrDigit(c)).ToArray());
return str == new string(str.Reverse().ToArray());
}
public static void Main(string[] args)
{
Console.WriteLine(IsSentencePalindrome("Top step's pup's pet spot.") ? "yes" : "no");
}
}
/*
run:
yes
*/