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