In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2957, 'H', 'V', 'T', 4483, 5289, 9285, 2459, 2771, 271, 'g', 8247, 'p', 'u', 'U', 'Y', 'w', 'F', 'Y', '6897', 's', 'w', 'v', '9809', '6331', '6121', '5691', '3277', '7525', 'r', 'c', 'c', '1883', 'q', '9639', '4249', '8701', 'U', 'Q', '5479', 'H', '6059', '8629', 'g', 'B', 'n', 'q', 'f', 'w', 3693, 'H', 2575, 'S', 'z', 1945, 765, 'P', 8459, 3713, 6155, 'f', 3501, 'h', 'X'], [7801, 2137, 'y', 1447, 'X', 4069, 'C', 'E', 'D', 7513, 149, 'T', 5367, 'V', 'M', 2911, 'L', 'O', 1299, 'v', 3903, 'F', 'Y', '6897', 's', 'w', 'v', '9809', '6331', '6121', '5691', '3277', '7525', 'r', 'c', 'c', '1883', 'q', '9639', '4249', '8701', 'U', 'Q', '5479', 'H', '6059', '8629', 'g', 'B', 'M', 's', 'h', 8765, 1659, 'O', 'N', 3853, 7399, 6565, 'I', 5543, 8727, 'V', 891, 589, 8617, 's', 't']