The variable z is inversely proportional to x. When x is 12, z has the value 1.5833333333333. What is the value of z when x= 18?