a=int(input()) print('Yes' if len(set(input())) == a else 'No')