s=input() for i in s: if s.count(i)>=2: print("NO") exit() print("YES")