The whole thing of seeing how long a person has to live reminds me of Death Note.

As for what I'd do, I don't know. Probably wouldn't tell them as they wouldn't believe me or something bad would happen. Don't know if it's possible to prevent their imminent death. It'd be interesting to live with.