The pillow manufacturing company decides to adjust their production rate to be consistent with worker shifts, producing 24 pillows every hour instead. However, they still incur a loss of 43 pillows due to machine errors. What is the total number of pillows the company manufactured in a day after accounting for the losses?