Points $A,$ $B,$ and $C$ are given in the coordinate plane. There exists a point $Q$ and a constant $k$ such that for any point $P$, PA2+PB2+PC2=3PQ2+k. If $A = (7,-11),$ $B = (10,13),$ and $C = (18,-22)$, then find the constant $k$.