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

Input: Consider Input: ['A', 'f', 's', 619, 'P', '6773', '2907', 'j', 'Y', '3815', '5619', '3681', '1259', 'k', 'k', 'p', '7817', 'e', '1227', 'T', '7201', 'o', 'o', 'W', 'U', 'E', '4881', 'h', '9013', '8427', 'W', 'B', '5309', 'V', 'L'], [7877, 9179, 'B', 'F', 'e', 4663, 'd', 7957, 'F', 'F', 'k', 'f', 8559, 'U', '6773', '2907', 'j', 'Y', '3815', '5619', '3681', '1259', 'k', 'k', 'p', '7817', 'e', '1227', 'T', '7201', 'o', 'o', 'W', 'U', 'E', '4881', 'h', '9013', '8427', 'W', 'B', '5309', 'J', 'R', 't', 'J', 'D', 'U', 'x', 'G', 'y', 'L', 7841, 'g', 's', 8385, 1631, 'Z', 6679, 4419, 'Y', 9253, 3709, 'E', 'a']

Output: 6773, 2907, j, Y, 3815, 5619, 3681, 1259, k, k, p, 7817, e, 1227, T, 7201, o, o, W, U, E, 4881, h, 9013, 8427, W, B, 5309


Input: Consider Input: [4143, 9623, 'k', 'Z', 1355, 4371, 5553, 'U', 8081, 843, 7307, 8537, 841, 6443, 9873, 'b', 4969, 1189, 9481, 9225, 6739, 4269, 3997, 9511, '5641', '8319', '5809', 'F', '7875', '8699', 'p', '1431', 'K', 'R', '53', '4049', 'b', 'b', '5823', 'E', '1073', '8199', '6801', '8501', '1971', '6131', '4225', '847', 'N', 4305, 'M', 2381, 'W', 7817, 'x', 7221, 4341, 'k', 4235, 'z', 9923, 'w', 'c', 7701, 'k', 6841, 9359], [831, 8989, 'O', 9915, 829, 'y', 2567, 8737, 'P', 1805, 'u', 'b', 3579, 6313, 455, 'E', 1193, 2669, 6121, 7167, 'P', '5641', '8319', '5809', 'F', '7875', '8699', 'p', '1431', 'K', 'R', '53', '4049', 'b', 'b', '5823', 'E', '1073', '8199', '6801', '8501', '1971', '6131', '4225', '847', 'G', 1015, 'c', 6677, 8939, 2951, 'L', 'd', 5797, 2413, 7741, 3025, 5391]

Output: 5641, 8319, 5809, F, 7875, 8699, p, 1431, K, R, 53, 4049, b, b, 5823, E, 1073, 8199, 6801, 8501, 1971, 6131, 4225, 847


Input: Consider Input: [6905, 2531, 'v', 'E', 'f', 5407, 1771, 4537, 7617, 3083, 'O', 9841, 'O', 7205, 'W', '8021', 'f', 'y', 'v', 'y', 'H', '5537', 's', '3145', 'v', 'I', '7903', 'V', 'l', 'G', 'm', '3555', '2705', 'E', '5461', 'S', 'l', '7233', 'S', 7347, 5491, 's', 'h', 4233, 5647, 8463, 'L', 'Q', 'd', 't', 3883, 'D', 4203], [1765, 'S', 5313, 3417, 4957, 'K', 'x', 'w', 'T', 8351, 7193, 'j', 4005, 'W', 1755, 'M', 'Z', 1059, 5221, 'V', 3579, 3705, 'M', '8021', 'f', 'y', 'v', 'y', 'H', '5537', 's', '3145', 'v', 'I', '7903', 'V', 'l', 'G', 'm', '3555', '2705', 'E', '5461', 'S', 'l', '7233', 6765, 'o', 'p', 4497, 'c', 2931, 'K', 'f', 823, 6547, 's', 'M', 'Q', 'j', 'p', 687, 4707]


Output: 8021, f, y, v, y, H, 5537, s, 3145, v, I, 7903, V, l, G, m, 3555, 2705, E, 5461, S, l, 7233