Word Problems K12 29A + 30B + 31C = 366

What is the sum of the three positive whole numbers A, B, and C?