func_code_string: #include <bits/stdc++.h>   using namespace std;   long long a[200000];   int main() {     ios_base::sync_with_stdio(false);     cin.tie(nullptr);     int n;     cin >> n;     long long prev = 0;     long long last = 1e18;     for (int i = 0; i < n / 2; ++i) {       long long x;       cin >> x;       prev = max(prev, x - last);       last = x - prev;       a[i] = prev;       a[n - i - 1] = last;     }     for (int i = 0; i < n; ++i) {       cout << a[i] <<    ;     }     cout << endl;     return 0;   }   