In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 6301, 8207, 'a', 'y', 'k', 's', 'G', 'L', '3825', 'B', '8787', 'q', 'v', 'X', '6287', 'U', '7725', '3569', '4701', '4863', '4089', '3629', 'y', 'O', '4007', 'W', '821', 'd', 'M', 5471, 7067, 'p', 'Q', 'v', 2363, 725, 3625, 3989, 'r', 3405, 't'], ['L', 'm', 'T', 'r', 8461, 'i', 'L', 5681, 9775, '3825', 'B', '8787', 'q', 'v', 'X', '6287', 'U', '7725', '3569', '4701', '4863', '4089', '3629', 'y', 'O', '4007', 'W', '821', 'A', 8381, 9735, 8169, 8329, 'U', 4053]