#include using namespace std; #define int long long signed main() { int N,H,ans = 1; cin >> N >> H; vectorvec(N); for(int i=0; i> vec[i]; ans *= (vec[i]%H); ans %= H; if(ans == 0){ cout << "YES" << endl; return 0; } } if(ans %H == 0){ cout << "YES" << endl; return 0; } cout << "NO" << endl; }