The 1962 musical comedy was the first Broadway production for which Stephen Sondheim wrote both music and lyrics.