from collections import Counter def main(): S = input() s_counter = Counter(S) if s_counter.most_common(1)[0][1] > 1: print("NO") else: print("YES") if __name__ == "__main__": main()