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

Example Input: [3535, 10023, 'g', 'B', 'E', 'p', 'K', 'y', 1187, 5353, 8779], [1169, 981, 'B', 'E', 'p', 'K', 'D', 'h', 4145, 'h']
Example Output: B, E, p, K

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: [7531, 5595, 7999, 967, 3121, 'K', 9801, 'Q', 'g', '8615', 'J', 'l', 'o', '8273', '8409', 'O', '1715', 'z', '5861', 'r', '7033', 'j', 'q', 'N', 'V', 'a', '7195', 'P', 'Y', 'e', 'y', 'x', '4091', 's', '2459', '7685', 'E', 6613, 3995, 745, 'c', 5851, 7033, 9985, 433, 'U', 'y', 'E', 5019, 1303, 'K', 5725, 'k', 'c', 'G', 'x', 'p', 'M', 'j', 'W'], [5817, 'U', 'G', 8433, 3081, 8265, 4031, 'I', 9847, 'S', 'b', 'H', 6799, 5091, 2603, 2317, 2757, 5229, 'm', 's', 'w', 'z', 'T', '8615', 'J', 'l', 'o', '8273', '8409', 'O', '1715', 'z', '5861', 'r', '7033', 'j', 'q', 'N', 'V', 'a', '7195', 'P', 'Y', 'e', 'y', 'x', '4091', 's', '2459', '7685', 'o', 'q', 'L', 9537, 1063, 'K', 'O', 8333, 's', 7049, 'F', 'r', 6539]
Example Output:
8615, J, l, o, 8273, 8409, O, 1715, z, 5861, r, 7033, j, q, N, V, a, 7195, P, Y, e, y, x, 4091, s, 2459, 7685