President-elect Donald Trump said Friday he would look at preserving popular parts of the ObamaCare law after getting a direct pitch from President Obama.

Trump told the World Street Journal that he favors keeping the ban against insurers denying coverage to patients with pre-existing medical conditions.

He said he also supports allowing young adults to remain on their parents’ health insurance plans until age 26.

“I like those very much,” Trump said.

The president-elect said his shift from calling for total repeal of the Affordable Care Act came after hearing a personal appeal from Obama during their meeting at the White House Thursday.

“I told him I will look at his suggestions, and out of respect, I will do that,” Trump said.

But he vowed to keep a campaign promise to revamp the national health care plan, which he described as so unworkable and expensive that “you can’t use it.”

“Either ObamaCare will be amended, or repealed and replaced,” Trump pledged.

A poll released Friday by Politico/Morning Consult found that repeal of ObamaCare was the No. 1 priority of Republican voters for the new administration.