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