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

Input: Consider Input: [2895, 5147, 'w', 'e', 3385, 'm', 'y', 't', 'L', 1739, 8053, 7245, 6403, 8217, 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'l', 'y', 4019, 9049, 'n', 'j', 6871], ['c', 'k', 'E', 'L', 6709, 's', 'M', 3861, 'M', 4297, 5731, 'a', 'V', 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'w', 'd']

Output: k, 9237, F, 4959, 3637, X, 1127, L, 9537, 3871, D, 3747, E, U, b, n, 7893, F

Input: Consider Input: ['T', 5369, 1173, 6093, 'n', 4575, 'h', 7975, 2921, 1655, 'r', 4521, 8665, 1933, 4703, 'N', 7921, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'W', 'G', 9031, 8561, 6175, 5329, 5317, 'd'], [7417, 'P', 'q', 'n', 7037, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'l', 4415, 'A', 'o']

Output: 6499, 3029, 5963, P, 9959, 2345, 1265, 8097, 4181, r, t, X, s, l, p, F, 1107, 8395, A, 1351, G, G, G, 3113, q

Input: Consider Input: [8145, 5025, 8595, 9817, 4373, 5407, '3463', '7997', 'Y', '4201', '4849', '1145', 'm', 'K', '5391', '3167', '4305', 'x', 'q', '2215', '7855', '7783', '425', 'h', '7937', '7453', 'I', 'K', 'J', 'p', 4769, 'P', 7475, 2109, 'W', 5941, 1983, 493, 'B', 9611], [353, 'J', 'g', 2809, 8901, 'R', 'h', 'f', 'F', 'M', 3443, 'B', 'z', 1829, 1487, 4659, 'Q', 'M', '3463', '7997', 'Y', '4201', '4849', '1145', 'm', 'K', '5391', '3167', '4305', 'x', 'q', '2215', '7855', '7783', '425', 'h', '7937', '7453', 'I', 'K', 't', 93, 8631, 4767, 'V', 2625, 'D', 1563, 7019, 2071, 7281]
Output: 3463, 7997, Y, 4201, 4849, 1145, m, K, 5391, 3167, 4305, x, q, 2215, 7855, 7783, 425, h, 7937, 7453, I, K