What is the mass of a block hanging on a vertical spring if the period of oscillation is 18 seconds and the spring constant is 16 N/m? Express your answer in kilograms.