def is_sentence_palindrome(s):
# Change the string into lowercase and remove all non-alphanumeric characters
s = ''.join(c for c in s.lower() if c.isalnum())
return s == s[::-1]
print("yes" if is_sentence_palindrome("Top step's pup's pet spot.") else "no")
'''
run:
yes
'''