In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9851, 5663, 5831, 'd', 6987, 'Z', 6861, 'b', 9061, 3533, 'G', '3835', 'K', 'N', 'S', 'c', '2193', '9361', 'X', '4579', '927', '3027', '4057', 'C', 'B', '6405', 'h', '8455', '5225', 'B', '85', 'v', '9587', 'd', 'A', 'r', 3371, 'Z', 'O', 'M', 'E', 5341, 1191], [6237, 'c', 629, 'T', 8299, 'C', 'G', '3835', 'K', 'N', 'S', 'c', '2193', '9361', 'X', '4579', '927', '3027', '4057', 'C', 'B', '6405', 'h', '8455', '5225', 'B', '85', 'v', '9587', 'd', 'A', 'Z', 'm', 9643, 's', 'I', 'H', 'E', 1973, 'W', 3753, 'r', 'd', 3083, 5397, 7455, 5813, 1081, 'B', 'm', 3605, 8809, 's', 5021]