s = input() if s[0] == s[1]: print('Yes') else: print('No')