In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 825, 1133, 'x', 6023, 5635, 9247, 4215, 1911, 5023, 6563, 7711, 2561, 'n', '1367', 'K', '5281', '661', '915', 'm', 'w', '5219', 'M', '2051', '1181', '1869', 's', 'l', 'p', '9673', 'U', 4523, 'E'], [9899, 7819, 8855, 787, 'Z', 9609, 'B', 'u', 269, 'k', 1845, 'A', 'i', 8053, 'i', '1367', 'K', '5281', '661', '915', 'm', 'w', '5219', 'M', '2051', '1181', '1869', 's', 'l', 'p', '9673', 'X', 3661, 6657, 'Q']