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