In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Q', 1709, 'f', 'x', 1531, 'A', 'v', 'j', 'm', 'F', 3783, '2547', 'r', '1017', '8359', 't', 'R', 'v', '3669', 'O', 'E', 'H', '2037', '7243', '7539', 'X', '2359', 'c', 'U', '5275', 'w', '7905', '4513', 'u', '7817', 'd', 'A', 'F', 'p', 5241, 1025, 4989, 'y', 'p', 5235, 1733, 7521, 'x', 'o', 'a', 'V', 7691, 'h', 'o', 3827, 6429, 6495, 3655, 'q', 'C', 'x', 2953], [1631, 6879, 3635, 9957, 1045, 'E', 5703, 2491, 'D', 'u', 4711, 3539, 'e', 4199, 6299, 1167, 'k', 'p', 5619, '2547', 'r', '1017', '8359', 't', 'R', 'v', '3669', 'O', 'E', 'H', '2037', '7243', '7539', 'X', '2359', 'c', 'U', '5275', 'w', '7905', '4513', 'u', '7817', 'd', 'A', 'F', 'k', 'R', 2097, 1631, 'C']