In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['W', 'u', 7263, 7781, 'm', 9717, 'c', 4941, 'j', 'y', 'D', '9835', 'U', '3395', 'p', '9625', 'n', '9985', 'Q', '8101', 'Z', 'D', 'X', 'D', '4249', 'H', '4851', '9365', '8223', 'Z', '4053', 'p', '6665', '8373', '657', '311', '8855', 'L', 3043, 'p', 9579, 2533, 8545, 489, 6919, 'Z', 6035, 'L', 'U', 'g', 'G', 'Y', 'q', 9847, 'o', 3417, 'g', 8897, 'T', 3601, 'k', 'B', 4873, 'M', 9359], ['c', 6143, 8435, 5473, 'r', 'm', 5671, 5553, 'C', 9113, 1063, 2823, 1459, 9587, 'j', 'y', 'D', '9835', 'U', '3395', 'p', '9625', 'n', '9985', 'Q', '8101', 'Z', 'D', 'X', 'D', '4249', 'H', '4851', '9365', '8223', 'Z', '4053', 'p', '6665', '8373', '657', '311', '8855', 'W', 'Z', 3513, 'O', 'l', 1681, 'i', 8703, 'u', 'X', 4539, 'R', 3775, 'h', 8981, 'L', 9561, 9977]