In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3871, 703, 9101, 'k', 'c', 5285, '8359', 'C', 'd', 'A', 'f', '6525', '1357', 'a', 'c', 'z', 5335, 3305, 'E', 9539], [9771, 'I', 'Z', 1607, '8359', 'C', 'd', 'A', 'f', '6525', '1357', 'a', 'c', 'f', 'k', 3341, 't', 'U', 'A', 9473, 'b', 4155]