ACME manufacturing has the linear short run production function Q = 13K + 2L + 41M, where K is capital, L is labor and M is raw materials. Its stock of capital and raw materials are fixed at 5 units each; input prices were $8 for capital and $16 for raw materials, while labor is currently $5. When the company produces 300 units of output, what are its average variable costs, average fixed costs, average total costs and marginal costs at that point?