#coding:utf-8 def main(): s = input() sset = set(s) if len(sset) == len(s): print('YES') else: print('NO') if __name__ == '__main__': main()