Suppose a, b, c are positive integers such that a+b+c=22 and gcd(a,b)+gcd(b,c)+gcd(c,a)=8.
What is the sum of all possible distinct values of a2+b2+c2?
392
408
424
440
456