KOLKATA (AFP) Virender Sehwag and Sachin Tendulkar smashed impressive centuries before South Africa fought back with three quick wickets on the second day of the final Test on Monday. Sehwag cracked 23 fours and two sixes in his 165 off 174 balls and shared a third-wicket stand of 249 with Tendulkar (106) as India reached 342-5 by close at the Eden Gardens in Kolkata. Venkatsai Laxman (nine) and Amit Mishra (one) were at the crease when stumps were drawn for the day, with India leading South Africas 296 by 46 runs with five wickets in hand. India, who lost the first Test in Nagpur by an innings and six runs, need a win to square the series and retain their number one position in the official Test rankings. The hosts were cruising at 331-2 when Sehwag, Tendulkar and Subramaniam Badrinath (one) were dismissed in the space of five runs towards the end of the days play. Sehwag mis-timed a drive in part-time spinner Jean-Paul Duminys first over, Tendulkar was caught in the slips off Paul Harris and Badrinath was bowled by Dale Steyn. Sehwag completed his second century of the series in style, cutting Wayne Parnell (0-61) to the point boundary for his 19th Test century and the fifth against South Africa. Tendulkar joined in the run feast, hitting his 47th Test century and the fourth in successive matches after making 105 and 143 in Bangladesh and 100 in the Nagpur Test. Tendulkar hit 12 fours in his 206-ball knock. But it was the belligerent Sehwag who stole the show, smashing fast bowler Steyn (1-66) for three fours in a row, before dishing out similar treatment to Morne Morkel (1-80). Parnell was not spared either as Sehwag drove the fast bowler to the covers for a four and followed it up by smashing a six to the third-man boundary. The opener then pulled left-arm spinner Harris (1-97) for the second six of his entertaining knock. South Africa had a chance to dismiss Sehwag on 47 but Duminy grassed a sitter off Morkel at first slip. The batsman was let off for the second time on 129 when AB de Villiers, keeping wicket in place of an injured Mark Boucher, missed an easy stumping chance off Harris. Harris conceded 12 wides as he bowled outside the leg-stump to contain the run flow. South Africa tasted early success when Gautam Gambhir was run out as he went for a sharp second run on Sehwags call. He hit three fours in his 25, sharing an opening stand of 73 with Sehwag. Murali Vijay (seven) edged Morkel behind the wicket, where de Villiers took a fine catch diving to his right. Earlier, Zaheer Khan (4-90) ended the South African innings when he trapped Parnell leg-before wicket for 12 in the fourth over of the day after the visitors resumed at the overnight 266-9. SCOREBOARD SOUTH AFRICA, first innings (overnight 266-9) G. Smith b Zaheer 4 A. Petersen c Dhoni b Zaheer 100 Hashim Amla c Dhoni b Zaheer 114 J. Kallis c Laxman b Harbhajan 10 AB de Villiers run out 12 A. Prince lbw b Harbhajan 1 J.P. Duminy lbw b Harbhajan 0 D. Steyn lbw b Mishra 5 P. Harris c Dhoni b Sharma 1 W. Parnell lbw b Zaheer 12 M. Morkel not out 11 EXTRAS: (b1, lb4, w10, nb11) 26 TOTAL: (all out, 85 overs) 296 Fall of wickets: 1-9 (Smith), 2-218 (Petersen), 3-229 (Amla), 4-251 (Kallis), 5-253 (Prince), 6-253 (Duminy), 7-254 (de Villiers), 8-255 (Harris), 9-261 (Steyn), 10-296 (Parnell). BOWLING Zaheer 22-5-90-4 (w5) Sharma 18-3-67-1 (nb7, w5) Mishra 21-3-70-1 (nb4) Harbhajan 24-2-64-3. INDIA, first innings G. Gambhir run out 25 V. Sehwag c Prince b Duminy 165 Vijay c de Villiers b Morkel 7 Tendulkar c Kallis b Harris 106 V. Laxman not out 9 S. Badrinath b Steyn 1 A. Mishra not out 1 EXTRAS: (b5, lb5, w12, nb6) 28 TOTAL: (for five wickets, 76 overs) 342 Fall of wickets: 1-73 (Gambhir), 2-82 (Vijay), 3-331 (Sehwag), 4-335 (Tendulkar), 5-336 (Badrinath). BOWLING Steyn 17-4-66-1 (nb1) Morkel 15-1-80-1 (nb5) Parnell 12-1-61-0 Kallis 7-0-24-0 Harris 24-2-97-1 (w12) Duminy 1-0-4-1