import collections S = list(input()) cnt = collections.Counter(S) print('YES' if max(cnt.values()) <= 1 else 'NO')