#pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include #include #include using namespace std; int dp[2][50010],inf = 1000000000; int di[50010]; int main(){ int i,j,k,n,a,b; cin >> n >> a >> b; string s; cin >> s; for(i=0;i> v; for(i=0;i=j) ans = max(ans,2*j); } cout << ans << "\n"; }