Which number replaces the question mark?

Answer: Q

Adding the three numbers in each square together gives the numerical value of the letter at the centre of each square.