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

Input: Consider Input: [1373, 'R', 'U', 5661, 'g', 'q', 'e', 'v', 'E', 'Q', 'J', '8395', 'o', 4093], ['K', 4843, 'N', 'e', 'v', 'E', 'Q', 'J', '8395', 'V', 3155, 'V', 'H', 'X', 'C']

Output: e, v, E, Q, J, 8395


Input: Consider Input: ['x', 495, 'L', 'O', 2935, 'y', 163, 3507, 6515, '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'w', 1985, 'F', 'V', 5375, 6359, 7963, 4103, 2625, 'p', 'N', 7945, 'L', 6909], [251, 'J', 'k', 4075, 'd', 'x', 'j', 'K', 'u', 605, 1667, 8527, 6845, 2537, 'O', 9259, 'o', 'B', '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'j', 'S', 'H', 1289]

Output: 5249, 9751, 8269, 923, 10005, 9739, u, X, y, 4535, I, V, f, 8511, 8955, s, 2255, 1, 7831, t


Input: Consider Input: [7347, 1423, 'Y', 3189, 'b', 6539, 8109, 'R', 'd', 'u', 't', 7731, 5193, 1259, 'Y', 'd', 7815, 'E', 2445, 'w', 5195, 'C', 'N', 'U', 'R', '4107', 'd', 'm', '4679', '9661', 'k', 'e', 'V', 'P', '4703', '8945', '6415', '9903', '409', '7777', '2225', '2699', '4595', '4651', 'f', '4051', '2861', 'p', '4069', 'V', 'g', 'q', 'S', 2551, 8509, 'J', 857, 'P', 'Q', 1567, 6319, 'C', 'B', 'A', 9197, 8529, 'G'], ['c', 'W', 'R', 'W', 'h', 5511, 'n', 'Z', 7333, 'r', 6067, 9145, 'k', 'Z', 9075, 'S', 4661, 'A', 3089, 6177, 'B', 'Z', 'l', 2135, '4107', 'd', 'm', '4679', '9661', 'k', 'e', 'V', 'P', '4703', '8945', '6415', '9903', '409', '7777', '2225', '2699', '4595', '4651', 'f', '4051', '2861', 'p', '4069', 'V', 'B', 'd', 'H', 25, 1641, 4823, 1675, 'm', 9765, 757, 'g', 3487, 'g', 1221, 2841, 6949, 'E', 5275, 'g', 'A', 891, 'T', 5293, 'W']


Output: 4107, d, m, 4679, 9661, k, e, V, P, 4703, 8945, 6415, 9903, 409, 7777, 2225, 2699, 4595, 4651, f, 4051, 2861, p, 4069, V