In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['D', 'I', 3835, 7389, 'R', 'z', 8875, 'w', 5865, 8549, 'T', 9277, 'z', 9043, 2623, 3455, 'g', 'P', 'r', 'n', 'l', 'w', 'j', '2133', '1135', 'M', 'G', 'q', '3229', 'c', '6159', '3331', 'x', 'C', 'N', 'P', 'e', 'l', 1523, 'M', 'p', 'j', 7151, 5473, 5361, 'V'], [7553, 'B', 2235, 9095, 3477, 'r', 'l', 'a', 'F', 'm', 'I', 7803, 225, 'g', 'P', 'r', 'n', 'l', 'w', 'j', '2133', '1135', 'M', 'G', 'q', '3229', 'c', '6159', '3331', 'x', 'l', 'y', 'r', 6373, 899, 'c', 'p', 'E', 5979, 5479, 'J', 291, 'Z']
A:
g, P, r, n, l, w, j, 2133, 1135, M, G, q, 3229, c, 6159, 3331, x