Bhuvneshwar (58) and Shami (51 not out) turned out to the unlikely batting heroes for India as they pulled the team out of trouble with a defined 111-run partnership to frustrate the hosts, who had the visitors reeling at 346 for nine at one stage with fours wickets falling for just two runs in a span of 20 balls.
Sam Robson (20 not out off 48 balls, 2 fours) and Gary Ballance (15 not out off 46 balls, 1 four) were at the crease when stumps were drawn. The duo added 34 unbeaten runs for the second wicket.
But the day belonged to India's tailenders -- Bhuvneshwar and Shami -- who struck their maiden Test fifties respectively en route to their century partnership, which incidentally is India's second highest stand for the last wicket.
India captain Dhoni deployed all his five primary bowlers -- Bhuvneshwar (0/12), Shami, Ishant Sharma (0/12), Ravindra Jadeja (0/3) and Stuart Binny (0/1) -- in short bursts in the 17 overs they managed in the day.