What is the sum of all the four digit positive integers that can be written with the digits 1, 2, 3, and 4 if each digit must be used exactly once in each four digit positive integer?