In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['L', 871, 8167, 5129, 9667, 'E', 3851, 2661, 4755, 841, 8445, 'R', 3027, '5377', '6639', '7165', '1237', '7973', '8609', 'n', '1121', '1747', '1133', '5237', 'S', '2765', '8675', '2891', 'L', '8439', 'C', '6781', 'h', 'c', 'f', '7243', 'g', '7551', '3849', '9621', 'u', 'D', 121, 't', 'L', 'v', 7739, 8769, 9401, 9551, 's', 'C', 'f', 7207, 6177, 'D', 'o', 7509, 7263, 'i', 'R', 'J', 'J', 'A', 8317, 'r', 4325], ['m', 'n', 369, 'r', 'k', 'q', 't', 1017, 1103, 6389, 6017, 3417, 291, 577, 5993, 1321, 'l', 'u', 1631, '5377', '6639', '7165', '1237', '7973', '8609', 'n', '1121', '1747', '1133', '5237', 'S', '2765', '8675', '2891', 'L', '8439', 'C', '6781', 'h', 'c', 'f', '7243', 'g', '7551', '3849', '9621', 'u', 'X', 7167, 'F', 5039, 'T', 855, 't', 'x', 8879, 219, 'X', 1821]