In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 5197, 119, 7019, 1731, 'z', 5341, 9727, 'D', 4283, 'n', 4349, 'M', '4177', '7025', '9115', 'W', '8281', 'Z', 'R', 'm', 'm', '5907', '6231', 'w', '3823', '8069', '2767', '1653', '1297', 'f', 'f', 423, 4819], [6421, 5043, 'B', 4723, 'M', '4177', '7025', '9115', 'W', '8281', 'Z', 'R', 'm', 'm', '5907', '6231', 'w', '3823', '8069', '2767', '1653', '1297', 'M', 'F', 2641, 'd', 'T', 1303]