from collections import Counter def main(): c = Counter(input()) if max(c.values()) > 1: print("NO") else: print("YES") if __name__ == "__main__": main()