S = input() alphabet = [] for i in S: if i in alphabet: print("NO") exit() else: alphabet.append(i) print("YES")