Prevention is better than cure: a case study of the abnormalities detection in the chest