import strutils, algorithm let S = sorted(readLine stdin, cmp) proc judge(S: seq[char]): string = result = "YES" for i in 1 ..< len S: if S[i] == S[i - 1]: return "NO" echo judge S