In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9989, 629, 2135, 'm', 1177, 8645, 7479, 6527, 7129, 'r', 'o', 2641, 'c', 'T', 1157, 7989, 'S', 'M', 'E', 4471, 1131, 8783, 'Y', 'I', '3587', 'E', '2993', 'i', 'L', '8681', '9423', '2109', '2355', 'S', '931', '2543', '389', 'G', '7931', 'Q', '8777', 'I', 'S', '7987', '3119', '6899', 'b', 3079, 'j', 'i', 'S', 8711, 'B', 's', 'd', 't', 'V', 'S', 3503, 5729, 5215, 733, 'E', 'p', 'b', 't'], ['T', 'U', 'U', 2571, 3091, 371, 1371, 2269, 'M', 4863, 6289, 4273, 'l', 'x', 7589, 'z', 8553, 'X', 'Y', 'I', '3587', 'E', '2993', 'i', 'L', '8681', '9423', '2109', '2355', 'S', '931', '2543', '389', 'G', '7931', 'Q', '8777', 'I', 'S', '7987', '3119', '6899', 'A', 'Z', 'N', 237, 8597, 'k', 8625, 'Q', 't', 'g', 9841, 'e', 7247, 2605, 'f', 'b', 'B', 3403, 'b', 'U', 2401, 'Y', 'p']