No of 4 digit numbers formed=4!/2!=12
Now 2 and 4 will occur at units tens hundred and thousand place 3 times
3 will occur at each place 6 times
Sum of digits at units tens hundred and thousand place=3×2+3*4+6*3=36
Sum of all numbers=36×1000+36*100+36*10+36=39996