qq = concat $ map qqset [1..9]  -- the set of all QQ lines
qqset a = map (qqline a) [1..9] -- the set of QQ lines for a given factor a
qqline a b = (show a) ++ "x" ++ (show b) ++ "=" ++ (show (a * b))

main = putStr $ unlines qq