In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['J', 9945, 8421, 81, 8941, 'C', 8261, 301, 'F', 'R', 'l', 'h', 'H', 4505, 'y', 'p', '3015', 'k', 'p', '311', '6289', '19', '1567', 'P', 'C', 'k', 't', 'W', '2059', 'V', 'o', 6731, 'h', 4763, 6019], [6041, 6439, 'G', 'a', 1127, 233, 2671, 'z', 'x', 'm', 'y', 'p', '3015', 'k', 'p', '311', '6289', '19', '1567', 'P', 'C', 'k', 't', 'W', '2059', 'V', 'Y', 7897, 7227, 'c', 5843, 2953, 'c', 'R', 'H']