#include using namespace std; using ll=long long; using Graph=vector>; #define MOD 1000000007 /* srand((unsigned int)time(NULL)); for(int i=0;i<10;i++){ cout<>T; for(int i=0;i>A>>B; vector ans; while(2*A<=B){ ans.push_back(A); A+=A; } while(A