#include <bits/stdc++.h>
using namespace std;
const int N = 1e+5 + 10;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n, m, q;
  cin >> n >> m >> q;
  int64_t cur = 0;
  for (int i = 0; i < n; ++i) {
    int a;
    cin >> a;
    if (i & 1) a *= -1;
    cur += a;
  }
  vector<int> b(m);
  set<int64_t> fans;
  int64_t fcur = 0;
  for (int i = 0; i < m; ++i) {
    cin >> b[i];
    if (i & 1) b[i] *= -1;
    fcur += b[i];
    if (i >= n) fcur -= b[i - n];
    if (i >= n - 1) {
      if ((i - n + 1) & 1)
        fans.insert(-fcur);
      else
        fans.insert(fcur);
    }
  }
  vector<int> l(q + 1), r(q + 1), x(q + 1);
  for (int i = 1; i <= q; ++i) {
    cin >> l[i] >> r[i] >> x[i];
  }
  for (int i = 0; i <= q; ++i) {
    --l[i];
    if ((r[i] - l[i]) & 1) {
      if (l[i] & 1) x[i] *= -1;
      cur += x[i];
    }
    auto it = fans.lower_bound(cur);
    int64_t ans = 1e+18;
    if (it != fans.end()) {
      ans = abs(cur - *it);
    }
    if (it != fans.begin()) {
      --it;
      ans = min(ans, abs(cur - *it));
    }
    cout << ans << '\n';
  }
  return 0;
}
