func_code_string: #include <bits/stdc++.h>   using namespace std;   long long a, b, c, ans;   int main() {     cin >> a >> b >> c;     long long pom = min(a, b);     a -= pom;     b -= pom;     ans = c + pom;     ans <<= 1;     if (a or b) ans++;     cout << ans;   }   