#yuki730 import sys s=raw_input() for i in xrange(len(s)): if s.count(s[i])>1: print 'NO' sys,exit() print 'YES'