When three times a number is subtracted from 1414​, the result is 22 plus the number. What is the​ number?

1414-3x = 22+x