How long does it take a person to die from lung cancer?

How long does it take a person to die from lung cancer?? Whats the average life span?