from string import ascii_uppercase S = input() for s in ascii_uppercase : if S.count(s) > 1 : print("NO") break else : print("YES")