In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['C', 'p', 'u', 'U', 'M', 1017, 'Z', 'b', 'O', '7839', 'R', '4889', 'Z', 'i', 'a'], ['C', 4015, 1521, 6541, 'T', 'Z', 'b', 'O', '7839', 'R', '4889', 'o', 3195, 'o', 'J', 6763]