In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 6169, 'O', 'y', 'E', 5085, 7829, 'B', 'u', 'G', 'A', 'o', '1499', '9847', '815', 's', 'x', 'y', 'E', '4077', 'd', 'M', 'A', 6639, 205, 'C', 9033, 'k', 1453, 6259, 3595], [629, 1417, 5649, 1131, 2953, 5571, 4631, 1597, 'O', 'u', 'G', 'A', 'o', '1499', '9847', '815', 's', 'x', 'y', 'E', '4077', 'd', 'M', 'e', 6133, 'e', 'x', 8699, 'k', 2037, 'M']