1984 AIME Problem 5

Determine the value of a b if \log _{8} a+\log _{4} b^{2}=5 and \log _{8} b+\log _{4} a^{2}=7.