In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['o', 5147, 'i', 'Q', '5575', '5527', 'a', '1775', 'R', 'n', 'H', 'e', 'g', 'X', '9091', '2089', 'p', '775', '2707', '1201', 'j', 1951, 'n', 'h', 7261, 'M', 'x', 8799, 6097, 9001, 'r', 8111, 7649, 'q', 10021, 3553, 'X'], [6641, 'i', 'f', 'g', 8713, 'V', 'K', 'Q', 'g', 'Q', '5575', '5527', 'a', '1775', 'R', 'n', 'H', 'e', 'g', 'X', '9091', '2089', 'p', '775', '2707', '1201', 'H', 'i', 1885, 341, 9085]