s = input() c = [0]*26 for i in s: c[ord(i) - ord("a")] += 1 found = False for i in s: if c[ord(i) - ord("a")] == 1: found = True print (i) break if not found: print ("no")