#include using namespace std; //#include //using namespace atcoder; using ll = long long; using ull = unsigned long long; #define rep(i,n) for(int i=0;i<(n);++i) int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int n; cin >> n; string s; cin >> s; map count; for(int i=0;isecond>=2)ok = true; } ok ? cout << "Yes" << endl : cout << "No" << endl; }