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