The stock market gained 9 points on Tuesday and lost 56 points on Wednesday. It had closed on Monday at 2512 points. Where did the market close on Wednesday?

A: 2577 points
B: 2465 points
C: 2447 points
D: 2559 points

Need this answered quick please