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