In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3885, 'B', 'z', 'q', 'K', 9379, 'J', 'g', 'Y', 'K', 'D', 'l', '487', 'O', '3971', 't', 'B', 'g', 't', '3091', '393', '4507', '121', '225', '3567', 'm', 'j', 'T', '9665', 'h', '9965', 'y', '3837', 'c', '3449', 'q', '443', 'd', 'd', 'd', 'q', 'g', 'R', 'T', 2427, 5457, 'f', 'N', 'm'], [2921, 'c', 4363, 8919, 'i', 8977, 7723, 2697, 1905, 3161, 'D', 'y', 'n', 'y', 'U', 'K', 'D', 'l', '487', 'O', '3971', 't', 'B', 'g', 't', '3091', '393', '4507', '121', '225', '3567', 'm', 'j', 'T', '9665', 'h', '9965', 'y', '3837', 'c', '3449', 'q', '443', 'I', 'A', 'm', 'b', 'c', 'Z', 7691, 4275, 6867, 9819, 'g', 'P', 'X']