func_code_string: #include <bits/stdc++.h>   using namespace std;   int n, a[3][55], b[55];   int sum(int row, int f, int e) {     int res = 0;     for (int i = f; i <= e; ++i) res += a[row][i];     return res;   }   int main() {     cin >> n;     for (int x = 1; x <= 2; ++x)       for (int i = 1; i < n; ++i) cin >> a[x][i];     for (int i = 1; i <= n; ++i) cin >> b[i];     int ans = (1 << 30);     for (int i = 1; i < n; ++i)       for (int j = i + 1; j <= n; ++j)         ans = min(ans, sum(1, 1, i - 1) + sum(2, i, n - 1) + b[i] +                            sum(1, 1, j - 1) + sum(2, j, n - 1) + b[j]);     cout << ans;   }   