#include #include #include #include #include using namespace std; int main() { int a,b,ans; cin >> a >> b; if(a==b) ans = min(a, b)*2-1; else ans = min(a, b) * 2 ; cout <