#pragma GCC optimize("O3") #ifdef LOCAL #include "algo/debug_ver3.hpp" #else #define debug(...) #define debugArr(...) #endif #include using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int n; string s; cin >> n >> s; set st; for (char ch : s) { st.insert(ch); } cout << (n != int(st.size()) ? "Yes" : "No") << '\n'; }