In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Q', 5377, 9899, 'M', 8897, 'N', 9477, 'Q', 5753, 6931, 'l', 2417, 'Y', 6009, 6619, 9549, 'p', 8051, 2277, 6837, 5851, 's', 5287, 'Q', 's', 'u', 'T', 'X', 'W', 'X', 'x', '6471', 'M', '2805', 'b', 'w', '4853', '8207', 'M', 'T', 'h', 'm', 'U', '2639', 'U', '9863', '9281', 'E', '7785', 'p', 'a', 'V', '1671', 'G', 8979, 1493, 4965, 1155, 9505, 'U', 9409, 'm', 963, 'h'], [7819, 'a', 'g', 3821, 'j', 'T', 'X', 'W', 'X', 'x', '6471', 'M', '2805', 'b', 'w', '4853', '8207', 'M', 'T', 'h', 'm', 'U', '2639', 'U', '9863', '9281', 'E', '7785', 'p', 'a', 'V', '1671', 'Z', 'N', 'X', 'k', 'S', 5493, 6435, 5617, 5639, 'r', 'b', 'Y', 'h', 'T', 'c', 'P']