The product of first and second terms of a G.P. is 256 and that of second and third terms is 16. find the 5th term.