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