s = list(input()) l = set(s) print(['NO', 'YES'][len(s) == len(l)])