Let x,y,and z all exceed 1 and let w be a positive number such that

logxw=24,logyw=40,and logxyzw=12.

Find logzw.

(第一届AIME1983 第一题)