S = input() l = list(S) l_len = len(l) s = set(l) s_len = len(s) if l_len == s_len: print("YES") else: print("NO")