Foreigners buy $3 bln in properties