s=input() ans={} for i in s: if i not in ans: ans[i]=1 else: print('NO') break else: print('YES')