When a positive integer is fed into a machine, the output is a number calculated according to the rule shown below. 
. When this output is repeatedly inserted into the machine six more times (a total of 7 steps), the final output is . What is the sum of all such integers ?
.
375
380
385
390
395