In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: ['M', 'm', 8571, 'J', 7297, 3761, 35, 8987, 1723, 1719, 1591, 'Z', 3877, '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'X', 2021, 'N', 3259, 'X', 'h', 'v', 7289, 9767, 2785, 7275], ['h', 'w', 'c', 'p', 'y', 'y', 'h', 'X', '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'P', 'k', 'I', 7703]
Example Output: 6959, 3717, y, 4219, 993, E, 8809, A, q, t, 5583, 6643, L, 5605, S, o, 3071, 1365

Example Input: ['S', 4895, 'h', 6721, 'W', 8371, 9167, 3811, 3237, 'U', 'x', 'R', 783, 6037, 9769, 6371, 8745, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'c', 'S', 'q', 4381, 7327, 'h', 'A', 'P', 't', 1021, 6667, 'X'], ['v', 'G', 8727, 7711, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'K', 2875, 467, 'x', 'S', 5845, 8137, 33, 'X', 3427, 'C', 9271, 'J']
Example Output: 7375, 7449, 3345, 8881, 2015, o, 3175, 3809, 2331, 2327, 3549, p, u, 263, 6767, 4499, 4279

Example Input: [8437, 9647, 'R', 9697, 'q', 'Z', 1243, 7643, 'X', 2649, 6145, '5465', 'm', 't', 'm', 'B', '6097', '4547', '2245', 's', '805', '10001', '6765', '4757', 's', 'l', '6887', 'b', 'F', 'G', '2609', '2127', 'k', 'C', 6311, 267, 'z', 5765, 'M', 'g', 4715, 2769, 'q', 'o', 'F', 'b', 'J', 5837, 'S', 5791, 8299], ['J', 'g', 7863, 8383, 607, 'L', 1025, 7149, 'm', 4985, 'r', '5465', 'm', 't', 'm', 'B', '6097', '4547', '2245', 's', '805', '10001', '6765', '4757', 's', 'l', '6887', 'b', 'F', 'G', '2609', '2127', 'B', 9877, 'K', 'R', 3373, 'u', 'V', 'T', 3323]
Example Output:
5465, m, t, m, B, 6097, 4547, 2245, s, 805, 10001, 6765, 4757, s, l, 6887, b, F, G, 2609, 2127