In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [115, 'g', 'V', 'I', '545', '1805', 'e', '1523', '2723', '293', 'C', 'g', '7389', 'c', '2461', 'E', '1159', 'x', 'u', 8315], ['x', 6537, 6441, 'Z', 'b', 'H', 't', 8513, 4189, 'i', 'B', 'b', 9019, 8751, '545', '1805', 'e', '1523', '2723', '293', 'C', 'g', '7389', 'c', '2461', 'E', '1159', 'x', 'a', 'z', 's', 'F', 8741, 6467, 'M', 'z']
A:
545, 1805, e, 1523, 2723, 293, C, g, 7389, c, 2461, E, 1159, x