If Department H had 495 units, 59% completed, in process at the beginning of the period, 5,196 units were completed during the period, and 590 units were 27% completed at the end of the period, what was the number of equivalent units of production for the period if the first-in, first-out method is used to cost inventories?