By examining the chest X−ray, the probability that TB is detected when a person is actually suffering from it is 0.99. The probability of an healthy person diagnosed to have TB is 0.001. In a certain city, 1 in 1000 people suffers from TB. A person is selected at random and is diagnosed to have TB. What is the probability that he/she actually has TB?