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