In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2627, 367, 'w', 'u', 'Z', 6545, 's', '3661', '5145', 'B', '7273', 'p', '5217', '1455', '3723', 'R', '6717', 'C', 'Q', '13', '5915', 'D', '4211', '6393', 'Y', 'D', '4837', '917', '4547', 'T', '7231', 'Z', 'R', 'o', 8351, 9775, 'D', 'Q', 6157, 4739, 'O', 3007, 2663, 1763, 'U', 5995], ['D', 4893, 9841, 'p', 8459, 'D', 6709, 4545, 'W', 2825, 7785, 7553, 2003, 'd', 777, 547, 'M', 2763, 'p', 'J', 'U', 'L', 'E', 6401, 'Z', 'G', '3661', '5145', 'B', '7273', 'p', '5217', '1455', '3723', 'R', '6717', 'C', 'Q', '13', '5915', 'D', '4211', '6393', 'Y', 'D', '4837', '917', '4547', 'T', '7231', 'Z', 'R', 'i', 'A', 'u', 'b', 2805, 4059, 'V', 9355, 'v', 727, 521, 't', 'o', 3565, 'j', 'J', 'M', 'X']