The solution of the equation PX + 8q = 333 of X is 1, and P, q are prime numbers, P

The solution of the equation PX + 8q = 333 of X is 1, and P, q are prime numbers, P

By introducing x = 1 into the solution of the equation, we get
p+8q=333
Because P and Q are prime numbers,
So 8q