The cost of living last year went up 5​%. ​Fortunately, Alice Swanson got a 5​% raise in her salary from last year. This year she is earning ​$51,490. How much did she make last​ year?