#include using namespace std; #define ll long long #define ul unsigned long long #define pb push_back #define ss second #define ff first #define fr(n) for(int i=0; i=0; i--) #define nl '\n' #define yes cout<<"YES"<>n>>k; if(k<=n/2) cout<<2*k-1<> TC; while (TC--) solve(); }