In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6945, 'v', 'x', 'K', 'N', 'Z', 9139, 3733, 2547, 'p', 'S', 'm', 'y', 'j', 'M', 805, 'B', 'w', 'h', 'F', '517', '9643', 'P', '9449', '9581', '9407', 'h', '1929', '1335', 'Z', 'l', 'O', '2033', '2749', 'r', 'M', '1033', '7783', '3025', '3073', '9213', '1021', '8941', '1157', '521', 'U', 's', 343, 2593, 339, 939, 9999, 839, 'Z', 'd', 'w', 'Z', 'J', 1559, 'T', 8225, 'R', 'E', 'T', 'x', 8583, 'C'], [3331, 2575, 9845, 'g', 'v', 'Y', 'l', 'l', 'F', '517', '9643', 'P', '9449', '9581', '9407', 'h', '1929', '1335', 'Z', 'l', 'O', '2033', '2749', 'r', 'M', '1033', '7783', '3025', '3073', '9213', '1021', '8941', '1157', '521', 'U', 'W', 9567, 1343, 865, 'M']