Foreign investors poured $3.