SAN FRANCISCO (Reuters) - Groupon Inc replaced Andrew Mason as chief executive officer on Thursday, a day after posting dismal quarterly results, and appointed co-founder Eric Lefkofsky and board member Ted Leonsis as interim chief executives.