Sensex climbed 398.21 points to 77,017.54 in early trade