The Flintstones - Season 1 Episode 23 The Astra' Nuts Yabba Dabba Doo!
Overview: Thinking they are undergoing an examination for a physical contest, Fred and Barney mistakenly sign up for a three-year stint in the Army! After a tearful goodbye to their wives they enter into the service, where they quickly blunder their way into volunteering for the first lunar landing mission.