James T. Kirk: Spock!
Spock: Ship... out of danger?
James T. Kirk: Yes.
Spock: Don't grieve, Admiral. It is logical. The needs of the many outweigh...
James T. Kirk: The needs of the few...
Spock: Or the one. I never took the Kobayashi Maru test... until now. What do you think of my solution?
James T. Kirk: Spock...
Spock: I... I have been... and always shall be... your friend. [holds up his hand in the Vulcan salute] Live long... and prosper.
Spock: Ship... out of danger?
James T. Kirk: Yes.
Spock: Don't grieve, Admiral. It is logical. The needs of the many outweigh...
James T. Kirk: The needs of the few...
Spock: Or the one. I never took the Kobayashi Maru test... until now. What do you think of my solution?
James T. Kirk: Spock...
Spock: I... I have been... and always shall be... your friend. [holds up his hand in the Vulcan salute] Live long... and prosper.
James T. Kirk : Spock!
Spock : Ship... out of danger?
James T. Kirk : Yes.
Spock : Don't grieve, Admiral. It is logical. The needs of the many outweigh...
James T. Kirk : The needs of the few...
Spock : Or the one. I never took the Kobayashi Maru test... until now. What do you think of my solution?
James T. Kirk : Spock...
Spock : I... I have been... and always shall be... your friend. [holds up his hand in the Vulcan salute] Live long... and prosper.
http://www.moviequotedb.com/movies/star-trek-ii-the-wrath-of-khan/quote_22126.html