let _ = readLine() let s = readLine()! print(s.count == Set(s).count ? "No" : "Yes")