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

Example Input: [7491, 'w', 'F', 2929, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'X', 'n', 821, 1983, 'S', 6305, 'O', 6533, 'q', 901, 'U', 2911], [3143, 1605, 4373, 'T', 7055, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'r', 'Z', 943, 861, 8883, 'b', 'n', 3409, 8943, 'M']
Example Output: 6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093

Example Input: [891, 1259, 'q', 9801, 3147, 1589, 'u', 'm', 'd', 21, 'm', 'E', 'a', 'K', 'N', '1387', 't', 'w', 'c', 'F', '2369', '2875', 'P', 'B', 'J', '9801', 'j', '6919', 'y', '3757', 'e', 'R', '7811', 'x', 't', '7071', 'W', 'b', 7489, 'B', 'z', 'r'], [8553, 'f', 5473, 9933, 'i', 'L', 'Z', 'r', 1103, 'a', 'H', 9257, 1277, 5689, 6551, 8359, 9607, 'E', 'a', 'K', 'N', '1387', 't', 'w', 'c', 'F', '2369', '2875', 'P', 'B', 'J', '9801', 'j', '6919', 'y', '3757', 'e', 'R', '7811', 'x', 't', '7071', 'W', 'i', 'E', 'V', 'S', 6121, 'q', 't', 'U', 1311, 'q', 3583, 7505, 265, 3415, 'j', 'w']
Example Output: E, a, K, N, 1387, t, w, c, F, 2369, 2875, P, B, J, 9801, j, 6919, y, 3757, e, R, 7811, x, t, 7071, W

Example Input: [6261, 'R', '4997', '2443', 'C', 'k'], [8377, 'f', '4997', '2443', 'Y', 'B']
Example Output:
4997, 2443