Watch Michael Phelps and U.S. Swim Team Star in Epic Carpool Karaoke Spoof

The athletes sang hits by Justin Bieber and Miley Cyrus.

The U.S. Olympic swim team is going for gold in their version of Carpool Karaoke.

Read: The Age of Excellence: Meet the Oldest and Youngest Summer Olympics Competitors

Both the men and women’s teams spoofed James Corden's widely popular Late Late Show segment.

In the eight-minute video, Olympians including Michael Phelps, Katie Ledecky and Ryan Lochte, take turns singing Miley Cyrus’ "Party in the USA," The Proclaimers’ “I’m Gonna Be (500 Miles),” One Direction’s “One Thing” and other hits.

Read: Student Headed to the Olympics Reveals How She Learned to Swim After Cousins Drowned

Some of the athletes dress in lobster costumes while others proudly wave American flags. Lochte’s car stopped to get ice cream.

The video was made before the team's trip to Rio.

Watch: Star-Spangled Swimmer: Michael Phelps to Carry U.S. Flag at Rio Olympics Opening Ceremony