In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2655, 'R', 7983, 4963, 'Z', 'E', 'b', '9989', '1377', 'I', 'B', 'w', '10027', 'Q', 'i', '1769', 'G', 'M', 'G', '8449', 'J', '3103', '587', 'Q', 'x', '2223', '1839', 'O', 6415, 'd', 6603, 7171, 'N', 'o', 8201, 'i', 'U', 4823, 's', 2297, 4975, 'p', 'C', 7517, 'O'], ['a', 861, 'Z', 1853, 2957, 'h', 'h', 'a', 'g', 4669, 'F', 2513, 'W', 'T', 's', 'D', 2601, 'J', 'm', 'P', 9667, 3079, 'Z', 'E', 'b', '9989', '1377', 'I', 'B', 'w', '10027', 'Q', 'i', '1769', 'G', 'M', 'G', '8449', 'J', '3103', '587', 'Q', 'x', '2223', '1839', 'e', 6855, 3885, 7043, 8985]