func_code_string: #include <bits/stdc++.h>   using namespace std;   const int NMAX = 50;   int n;   int a[5][NMAX + 5];   int b[NMAX + 5];   vector<int> ans;   int main() {     cin >> n;     for (int i = 1; i <= 2; i++)       for (int j = 1; j < n; j++) {         cin >> a[i][j];         a[i][j] += a[i][j - 1];       }     a[1][n] = a[1][n - 1];     a[2][n] = a[2][n - 1];     for (int i = 1; i <= n; i++) cin >> b[i];     for (int i = 1; i <= n; i++) {       int cost = b[i];       cost += a[1][i - 1];       cost += a[2][n - 1] - a[2][i - 1];       ans.push_back(cost);     }     sort(ans.begin(), ans.end());     cout << ans[0] + ans[1] <<   n ;     return 0;   }   