#include <bits/stdc++.h>
int main() {
  long long int a, b, c, n;
  scanf("%lld%lld%lld", &a, &b, &c);
  if (a > b) {
    n = 2 * b + 1 + 2 * c;
    printf("%lld", n);
  }
  if (b > a) {
    n = 2 * a + 1 + 2 * c;
    printf("%lld", n);
  }
  if (a == b) {
    n = 2 * b + 2 * c;
    printf("%lld", n);
  }
  return 0;
}
