In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 9973, 2399, 'R', 9489, 'm', 'u', 'd', 4071, 2703, 'k', 'l', 2731, '3471', '8983', 'x', '6837', '3995', 'D', 'Y', '3115', '2127', 't', '3899', '4319', 'S', '5171', '337', 'x', 'U', '9713', '4797', 'y', 4245, 2147, 9597, 'C', 125, 2707, 2257, 7071], [2571, 'c', 8443, 'P', 475, 'i', 'u', 'v', 'l', 'T', 8199, 'K', 'T', 3639, 3589, 5055, 'N', 4345, '3471', '8983', 'x', '6837', '3995', 'D', 'Y', '3115', '2127', 't', '3899', '4319', 'S', '5171', '337', 'x', 'U', '9713', '4797', 'A', 'y', 5543, 'j', 'b', 6225, 425, 8993, 't', 'k', 105, 'p']