Help on codeforces problem

https://codeforces.com/contest/1444/problem/A
IF you are able to get AC on the above problem then please respond to my query.
The answer for the test case (P=557307185726829409 && Q= 746530097)according to the judge is X=1 why can’t we have X=674968226?

p_i is divisible by x_i

@akshitm16 ah… thank you… the desmos scientific calculator is stupid it was showing me it was divisible even if P is odd and 6674968226 is even. Wasted half an hour for this … Thanks again buddy.