#Sensex ends 147.58 pts down at 31,661.97; #Nifty falls 36 pts to 9,916.20.