s = list(input()) ls = list('ABCDEFGHIJKLMNOPQRSTUVWXYZ') for i in s: if i in ls: ls.remove(i) else: print('NO') break else: print('YES')