IMO 1968 SL 22

Find all positive integers … for which …,

IMO 1968 SL 22

Origin: CZS

Problem

Find all positive integers $x$ for which $p(x) = x^2 - 10x - 22$,

where $p(x)$ denotes the product of the digits of $x$.