Jason Segel and Neil Patrick Harris love hamming it up on the set of CBS' "How I Met Your Mother," and have been known to break into songs from classic musicals.  

So, when the cast was asked to join James Lipton on Bravo's "Inside The Actor's Studio," an audience member had a request for the pair to recreate the song "Confrontation" from "Les Miserables."

The result was hilarious.

"How I Met Your Mother" concludes its nine-year run on CBS tonight at 8 p.m. EST.

We'll definitely miss the chemistry and the camaraderie of the cast.


And here's the entire episode of the show, if you missed it.