Sum of Digits

A is a two-digit number. The sum of its digits is S. If S3 = A2, what is the sum of all possible values of A?