In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[287, 5345, 'x', 3071, 'c', '8727', 'f', '7609', '2389', '6329', '5951', '1463', '2669', 'Z', '1567', '5739', '7869', '9369', '9613', '515', '7827', '9945', '4231', 'A', 2889, 5525, 'i', 't', 'h', 'B', 5567, 8683, 'r', 't', 403, 'K', 9103, 1015, 1295, 'N', 'P', 2421], [455, 'e', 8253, 'V', 'B', 9421, 2273, 'c', 3531, 2977, 'k', 9357, 'h', 'e', 4119, 'l', 'q', 4403, 'c', '8727', 'f', '7609', '2389', '6329', '5951', '1463', '2669', 'Z', '1567', '5739', '7869', '9369', '9613', '515', '7827', '9945', '4231', 'a', 'q', 1567, 'U', 661, 9195, 6015, 8091, 8255, 171, 1729]