s = input() for c in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ': if s.count(c) > 1: print('NO') break else: print('YES')