The Pakistani president said he was grateful for the hospitality .