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