Foreigners decided the NYC election