Gabby spends 40% of her yearly allowance and saves the rest. Last year she received a total of $270. How much allowance money did she spend last year?