a=input() if len(a)==len(set(a)): print("YES") else: print("NO")