The film was conceived as Marilyn Monroe's vehicle in 1962. The project would have reunited her with Wilder and Lemmon, both of whom had worked with her on "Some Like It Hot". After Monroe's death, Shirley MacLaine was cast in the film after starring in "The Apartment". MacLaine was paid $350,000 plus a percentage.