Hello, Caitlyn,
The specific heat is related to a sample's properties with the following equation:
q = Cp*(mass)(temp change), where q is the heat or energy and Cp
Cp = 0.385 J/gC
So set up an equation using M, the mass, as the unknown:
275J = (0.385 J/gC)*(M)*(23.3C)
M = 30.66 grams
Bob