Though she was to go on to conquer Hollywood - playing Ophelia to Laurence Olivier 's Hamlet , singing alongside Marlon Brando in Guys and Dolls and co-starring with Gregory Peck , Paul Newman and Kirk Douglas - she was , initially , reluctant to become an actor , believing that her true talent was for teaching .