Prisoners earn Rs 25 lakh for AP