A computer manufacturer shipped a total of 50 machines to its two warehouses, one in west and one in east. It cost 20$ per machine to ship to west and 25$ per machine to ship to east. The manufacturer spent a total of 1090 in shipping. How many machines went where?