N = list(input()) if len(set(N)) != len(N): print('NO') else: print('YES')