Under the company's job-order costing system, allocation is based on the job's number of direct-labor hours. Job Z required 45 hours of direct labor. Direct materials for the job were $1,000. For the month, total direct labor hours were 9,000 with a total cost of $450,000 ($50 per hour). Costs to be allocated totaled $180,000 for the month. What was the total cost of Job Z?