We classify according on the time at which the sickly prisoner would have gone up before he got sick.
The complete time frame is $[0,660]$ let $20k$ denote the time in which the miner would have been selected. then the miner dies if and only if he gets sick in a point in the time frame $(20l,20l+17)$ with $l
But we need the sum from $k=0$ to $33$ and divide by $34$ so the probability is $\frac{17\cdot33\cdot34}{20\cdot33\cdot2\cdot34}=\frac{17}{40}\approx 42.5\%$
So the probability he survives is $57.5\%$