s = input() n = len(s) seen = set() for i in range(n): if s[i] in seen: print("NO") exit() seen.add(s[i]) print("YES")