\( a_1, a_2, a_3, \dots, a_n \) are in A.P. and sum of first 10 terms is 160. \( g_1, g_2, g_3, \dots, g_n \) are in G.P. where \( g_1 + g_2 = 8 \). If the first term of A.P. is equal to common ratio of G.P. and first term of G.P. is equal to common difference of A.P., then sum of all possible values of \( g_1 \) is equal to: