N=int(input()) S=input() kind = set() for s in S: kind.add(s) print("No" if N == len(kind) else "Yes")