In a list of 7 integers, one integer, denoted as x is unknown. The other six integers are 20, 4, 10, 4, 8 and 4. If the mean, median, and mode of these seven integers are arranged in increasing order, they form an arithmetic progression. The sum of all possible ways of x is