In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 3725, 297, 'K', '2079', '9081', 'V', '1625', 'O', '1019', 'B', 'n', 'V', 'K', '9117', '5051', '5717', 'X', 'Y', '2579', 'h', 'A', 'q', 'q', 257, 1065, 'R', 'E'], ['X', 'a', 'j', 6207, 6577, 'P', 9019, 'A', 'K', '2079', '9081', 'V', '1625', 'O', '1019', 'B', 'n', 'V', 'K', '9117', '5051', '5717', 'X', 'Y', '2579', 'h', 'P', 8903, 'K', 2411, 5943, 2257, 'd', 'y', 4769, 'd', 'U', 2165]