inp = input() if str.isdecimal(inp) == False: ans='No' elif len(inp) != 2: ans='No' elif int(inp) < 10: ans = 'No' else: ans = 'Yes' print (ans)