How do I find out how much heat it takes to raise the temperature of 100 grams of aluminum from 50 degrees celcius to 80 degrees celsius. The specific heat is 900j/kg

First I did 100*30*900 and it equalled 2,700,000. that seems to high, is it? I then multiplied 100*30*.9 and got 2700J. Which is the right equation?