def mainProc(s): if len(s) != len(set(s)): print('NO') else : print('YES') if __name__ == '__main__': s = input() mainProc(s)