input();s=input();print("YNeos"[all(s.count(c)<2 for c in "QWERTYUIOPLKJHGFDSAZXCVBNM")::2])