#include using namespace std; typedef int64_t ll; void solve() { cin.tie(nullptr); ios::sync_with_stdio(false); ll a,b; cin>>a>>b; ll ans=min(a,b)*2-1; if(a!=b){ ans++; } cout<