If the frequencies of first four numbers out of 1,2,4,6,8 and 2,3,3,2 respectively, then find the frequency of 8 if their A.M. is 5, is