Sad “How I Met Your Mother” is ending its nine-year run tonight? Let this video of Jason Segel and Neil Patrick Harris sharing a “Les Mis” duet cheer you up!

The castmates appeared recently on “Inside the Actor’s Studio” and burst into song at the request of an audience member. Thank you random do-gooder!

Watch the clip, and use it to console you ahead of the finale. It’s gonna be legen–wait for it–dary!

J-Connection: Jason Segel is one multi-talented Jew.