\(P\), \(Q\), \(R\), \(S\), \(X\), and \(Y\) are distinct single-digit whole numbers taking values from 0 to 9.
\(PQ\) is a two-digit number with \(Q\) being in the units place and \(P\) in the tens place. Similarly, \(RS\) is a two-digit number.
It is known that \(PQ\) and \(RS\) are consecutive numbers and \((PQ)^2+(RS)^2=XYP\), with \(XYP\) being a three-digit number.
The value of \(Y\) is