It was the art AND the deal!

John F. Kennedy went head-to-head against President Donald Trump at auction Saturday — and there was no need for a recount.

Bidders preferred JFK’s autographed colorful landscape to The Donald’s signed doodle of the Manhattan skyline.

The oil-on-canvas Kennedy piece — just one of two autographed works by the assassinated 35th president — fetched a whopping $162,500 while the Trump sketch went for a measly $20,000.

The Kennedy artwork, a cluster of waterfront homes under a blue sky in what is believed to be the south of France, was painted in 1955 when he was a Massachusetts senator.

Accompanying the painting is “a delightful” black and white circa-mid 1950s photo of JFK working at an easel with “Jackie (Kennedy) looking over his shoulder,” the listing touts.

The sketch by Trump, whose 1987 memoir is called “The Art of the Deal,” features lush trees, yellow cabs and stick figures.

JFK’s niece Victoria Gifford Kennedy consigned the work, which she received from his brother Bobby Kennedy and Bobby’s wife, Ethel, after Victoria married their son Michael.

“I’m delighted that 25 years later, you’re still enjoying President Kennedy’s painting which I gave to you and Michael for your wedding,” reads a note Ethel gave Victoria that accompanies the piece.

“I believe it is a scene from the south of France which he gave to Bobby and me for Christmas at Gramma’s in Palm Beach. For years it hung in our room at [the McLean, Va., Kennedy compound] Hickory Hill.”

The lot description noted that “unlike other recent presidents, notably Eisenhower and George W. Bush, JFK was not endowed with great artistic talent. Perhaps for this reason he rarely painted or drew.”

Trump’s drawing, penned for a charity in 2005, renders in green, yellow and brown a view of the New York City skyline rising above taxi-filled streets.

The Dallas-and Manhattan-based auction house Heritage conducted the bidding. The winners declined to be identified, Heritage said.