#include using namespace std; #define int long long #define FOR(i, s, n) for (int i = (s); i < (n); i++) #define RFOR(i, s, n) for (int i = (n) - 1; i >= (s); i--) #define REP(i, n) FOR(i, 0, n) #define RREP(i, n) RFOR(i, 0, n) #define ALL(a) a.begin(), a.end() const long long MOD = 1e9+7, INF = 1e18; templateinline bool CHMAX(T&a,T b){if(ainline bool CHMIN(T&a,T b){if(a>b){a=b;return true;}return false;} signed main(){ int N,K,ans = 0; cin>>N>>K; for(int i = 2;i*i <= K;i++){ if(K%i)continue; int a = i,b = K / i; int x = max(0ll,(a-1)-max(0ll,(a-1-N)*2)); int y = max(0ll,(b-1)-max(0ll,(b-1-N)*2)); cout<