In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 8619, 8057, 6241, 'R', 7203, 7187, 'B', 'q', 9635, 'P', 2749, 4423, 1837, 'g', 'Z', '7475', 'P', '1321', '8503', 'B', '6405', '2461', '8415', 'n', '927', 'b', '5037', '91', '9315', '2225', 'Y', 'U', 'J', 'E', '1665', '3771', '6837', '2025', '4089', '8153', 'Z', 'o', 8023, 'd', 8273, 10017, 1563, 'M', 7305, 639, 1943, 8707, 'l', 9619, 'o', 6519], [8655, 9437, 8875, 1351, 'A', 4639, 'V', 6401, 'c', 297, 'B', 4401, 'L', 'b', 4927, 107, 4943, 'Y', 8265, 'x', 2179, 'Y', 3719, 'p', 3661, 'Z', '7475', 'P', '1321', '8503', 'B', '6405', '2461', '8415', 'n', '927', 'b', '5037', '91', '9315', '2225', 'Y', 'U', 'J', 'E', '1665', '3771', '6837', '2025', '4089', '8153', 'Z', 't', 5051, 9603, 'W', 'g', 2173, 'X', 'o', 'z', 5007, 729, 'L', 2283, 'w', 'i', 2899, 3469]