#include using namespace std; typedef long long int ll; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n,h; cin >> n >> h; vector> f; for(int i=2;i*i<=h;i++){ if(h%i==0){ int cnt=0; while(h%i==0){ h/=i; cnt++; } f.push_back({i,cnt}); } } if(h>1)f.push_back({h,1}); vector a(n); for(int i=0;i> a[i]; } bool ok=true; for(int i=0;i