In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['k', 2865, 8763, 'B', 'b', '3749', '297', 'y', 'C', '8599', 'G', '6077', 'a', 'l', 1551, 6537, 7061, 4845], [5271, 'K', 'P', 885, 'T', 3973, 5025, '3749', '297', 'y', 'C', '8599', 'G', '6077', 'o', 'd', 'E', 1119, 9507, 'P']