n = int(input()) if (n+1)%10: print('No') else: print('No')