In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1067, 10029, 2449, '9707', 'x', '2275', 'x', 'y', 'n', 'B', '7861', '9659', 't', '1547', 'c', '2187', 'b', '9627', '4327', 'a', 'h', 'w', 'W', 'R', 4345, 'R', 8947, 3153, 761, 'E', 'o', 'P', 4765, 2281, 'l', 'U', 'B', 'g', 7943, 7621], ['B', 6545, 'R', 'k', 2085, 8377, 'c', 6211, 7559, 2709, 733, 'Z', 7649, '9707', 'x', '2275', 'x', 'y', 'n', 'B', '7861', '9659', 't', '1547', 'c', '2187', 'b', '9627', '4327', 'a', 'h', 'w', 'W', 'B', 'M', 1969, 3369, 'q', 'q', 3261, 'h', 995]