a=raw_input()
b=list(a)
if ("1" in b)or("2" in b)or("3" in b)or("4" in b)or("5" in b)or("6" in b)or("7" in b)or("8" in b)or("9" in b):
                                       print ("Yes")
else:
                                       print ("No")
