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

Input: Consider Input: ['X', 8541, 'z', 'A', '3985', '181', 'k', '6327', '4303', 'Q', '6295', 'i', 'b', 'A', 'h', 'f', '4947', 'N', '4649', 'S', '1957', '2921', '7817', 'i', 'r', 3095, 't', 'i', 5121, 2147, 'O', 4145, 1995, 'E', 'a'], ['g', 'v', 491, 'F', 'Q', 8013, 5789, 6119, 'p', 8193, 'G', 6543, 'n', 'f', 5239, 'z', 'A', '3985', '181', 'k', '6327', '4303', 'Q', '6295', 'i', 'b', 'A', 'h', 'f', '4947', 'N', '4649', 'S', '1957', '2921', '7817', 'i', 'y', 9617, 4351, 'X', 9425, 3497, 6049, 8113]

Output: z, A, 3985, 181, k, 6327, 4303, Q, 6295, i, b, A, h, f, 4947, N, 4649, S, 1957, 2921, 7817, i

Input: Consider Input: ['O', 'B', 'S', 7965, 5083, 'N', 3995, 'b', 1679, 649, 1871, 1131, 'T', 'Z', 'n', 7701, 'd', 'W', 'I', 9153, 'Z', 7431, 'J', 'l', 'S', 9615, 'd', 7259, 'V', 'g', '9837', 'l', 'U', 'c', '2289', '8069', '5119', '7271', '7021', 'd', '9847', 'h', '1353', '4083', '33', 's', 'Y', '8189', '4339', '1253', 'm', '8091', 's', 'h', 'f', 'p', 'T', 'Z', 9765, 'q', 531, 'S', 'N', 'g', 1141, 67, 9363, 2469, 'E', 'y', 'F', 1307, 205, 2685, 7581, 'o', 6813, 5375, 'C'], ['L', 'w', 'u', 9473, 'l', 6703, 'N', 'p', 4755, 2949, 275, 6891, 'a', 'K', 'd', 8921, 1427, 'q', 'C', 'V', 'g', '9837', 'l', 'U', 'c', '2289', '8069', '5119', '7271', '7021', 'd', '9847', 'h', '1353', '4083', '33', 's', 'Y', '8189', '4339', '1253', 'm', '8091', 's', 'h', 'f', 'p', 'T', 'm', 'o', 'd', 8797, 8171, 8963, 8643, 8049, 'M', 'e', 4515, 'C', 'T', 'P', 6113, 8607, 7549, 'M', 8495, 7891, 'j', 4807, 'l', 8729, 't', 'i', 'F']

Output: V, g, 9837, l, U, c, 2289, 8069, 5119, 7271, 7021, d, 9847, h, 1353, 4083, 33, s, Y, 8189, 4339, 1253, m, 8091, s, h, f, p, T

Input: Consider Input: ['R', 9217, 'A', 'N', 7517, 'E', 4063, 'E', 'R', 4435, 7153, 'A', 195, 'a', '1399', 'q', '8407', '721', '5313', '7329', 'r', 'I', '433', '9161', 'Y', '2881', '9135', '6341', '2679', 'y', 'r', 'n', 'E', 8485, 'D', 10017, 2239, 'a', 'm', 9663, 'b', 9015, 7477, 2537, 'V', 't', 'v', 'w', 'W', 761], ['v', 'f', 'v', 3487, 6099, 9791, 6347, 7755, 1561, '1399', 'q', '8407', '721', '5313', '7329', 'r', 'I', '433', '9161', 'Y', '2881', '9135', '6341', '2679', 'y', 'r', 'n', 'r', 1707, 8939]
Output: 1399, q, 8407, 721, 5313, 7329, r, I, 433, 9161, Y, 2881, 9135, 6341, 2679, y, r, n