Nifty 50 closed at 24,119, up 121 points or 0.51%; Sensex settled at 77,269, adding 356 points or 0.46%