Replace the question mark with number - Math Riddle


Which number will replace the question mark ?

 

 

 

Explanation :  

26
14 = 1^2 + 2^2 + 3^2
21 = 4^2 + 1^2 + 2^2
29 = 4^2 + 3^2 + 2^2
26 = 3^2 + 4^2 + 1^2