In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['c', 'a', 1109, 7123, 127, 4281, 9763, 'C', 'N', '31', 'x', 'i', 'i', 'o', 'p', '2943', 'i', '4641', '8363', '3973', 'T', '3241', 'A', '9953', 'P', 'l', 'R', 'A', 'M', 997, 'r', 'a', 'O', 'b', 5165], ['Z', 5295, 'e', 'z', 4407, 4069, 'n', 'y', 7507, 3869, 'n', 8343, 'S', 'w', 'z', 1773, 8089, 3809, 'C', 'N', '31', 'x', 'i', 'i', 'o', 'p', '2943', 'i', '4641', '8363', '3973', 'T', '3241', 'A', '9953', 'P', 'l', 'R', 'A', 'w', 2761, 'l', 1575, 8097, 'a', 4555, 'h', 'h', 3499, 3481, 9613, 9673, 'c', 2165, 1543, 't', 'w', 'O']