In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5305, 'd', 4705, 4803, 'D', 'w', 'q', 8155, 7707, 'p', 'C', 3289, 'o', 'H', 8485, 'o', '4993', '9769', '6335', 'v', 'i', 'l', '597', '7443', '8593', '7581', 'y', '6301', 'z', '5195', 'r', '4371', 'f', 'T', 'B', '1811', 'R', '2081', 't', '9279', 'M', 'U', 2693, 'V', 'l', 6963, 6663, 3721, 7193, 1009, 'R'], ['B', 'b', 8877, 6581, 6163, 9659, 7247, 9807, 7313, 'u', 'H', 5993, 807, 8275, 9903, 'X', 'x', 715, 7501, 't', 5587, 6943, '4993', '9769', '6335', 'v', 'i', 'l', '597', '7443', '8593', '7581', 'y', '6301', 'z', '5195', 'r', '4371', 'f', 'T', 'B', '1811', 'R', '2081', 't', '9279', 'I', 'I', 4129, 'Y', 'f', 'L', 'm', 'A', 6223, 'F']