import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines S = read().rstrip() answer = 'YES' if len(S) == len(set(S)) else 'NO' print(answer)