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