In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 4671, 'u', 'M', 'B', 'H', 191, 'h', 'Q', 'H', 'a', 'a', '9745', 'Z', '8431', 'v', '9071', 'p', 'M', '4027', 'p', '1145', '1539', '6733', 'j', 'i', 'Q', 'o', 'e', 9965, 555, 5053, 8761, 5409, 9379, 'T'], [4325, 't', 'Q', 8935, 5333, 'x', 'F', 7077, 803, 'r', 5167, 'a', '9745', 'Z', '8431', 'v', '9071', 'p', 'M', '4027', 'p', '1145', '1539', '6733', 'G', 8511, 'z', 8217, 'j', 8479, 'G', 'M', 'X', 'f']