In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[871, 'x', 'F', 9601, 'X', 'Z', 6735, 3161, 'R', 75, 'W', 3479, 'Z', 9753, 'O', 4719, 4967, 'f', 'r', '4789', 't', '5103', '6793', 'b', '8607', '99', '707', '2757', '4461', '689', 'w', '3967', 'd', '1855', 'd', '3051', 'd', '7995', 'T', '6247', 'd', '8823', 'A', '9183', '6223', '5191', '5291', 'O', 'O', 'Z', 'B', 'N', 3375, 'Y', 5003, 759, 365, 'c', 'h', 'd', 1405, 'x'], ['I', 'O', 'n', 3187, 'S', 9659, 'L', 'V', 'f', 'r', 2735, 'Q', 'b', 'r', 2633, 5059, 2905, 'N', 4831, 5577, 7051, 8605, 345, 'p', 2919, 3497, 'b', '4789', 't', '5103', '6793', 'b', '8607', '99', '707', '2757', '4461', '689', 'w', '3967', 'd', '1855', 'd', '3051', 'd', '7995', 'T', '6247', 'd', '8823', 'A', '9183', '6223', '5191', '5291', 'v', 763, 5595, 'L', 'X', 'd', 8693, 'i', 2619, 'R', 8863]