The sum of 5th and 9th terms of an A.P. is 30. If its 25th term is three times its 8th term, find the A.P.