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