#include #include #include using namespace std; int dp[2][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"; }