The average of the first and the fourth term of a GP is 140.Given that the first term is 64, find the common ratio.