#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a, b, c, res;
  cin >> a >> b >> c;
  if (a > b) {
    res = 2 * c + 2 * b + 1;
  } else if (a < b) {
    res = 2 * c + 2 * a + 1;
  } else {
    res = 2 * c + a + b;
  }
  cout << res << endl;
  return 0;
}
