CAYLEY 2004 Problem 7

If 3^2+3^2+3^2=3^a, the value of a is

Answer Choices
A. 2
B. 3
C. 4
D. 6
E. 8