A company has a certain number of machines of equal capacity that produced a total of 180 pieces each working day. If two machines breakdown, the workload of the remaining machines is increased by three pices per day to maintain production. Find the number of machines?