input() s = input() print("Yes" if len(set(s)) == len(s) else "No")