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

Input: Consider Input: ['C', 'd', 'U', 'O', 'X', 'Q', 75, 'n', '1745', '4477', '5381', 'S', 'G', '257', 'Q', '2891', 'e', 'U'], ['G', 'H', 7457, 'N', '1745', '4477', '5381', 'S', 'G', '257', 'Q', '2891', 'G', 'x', 'm', 865, 9285, 1495, 'l', 'J']

Output: 1745, 4477, 5381, S, G, 257, Q, 2891


Input: Consider Input: [9369, 5975, 'W', 'd', 'I', 6029, 3693, 'I', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'w', 'k', 'B', 'o', 'T', 4201, 7599, 'c', 'W'], ['p', 'p', 'L', 'J', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'Y', 'P', 8947, 'q']

Output: 8101, K, 5209, l, v, W, 4841, 6399, T, F, k, 2165


Input: Consider Input: [2881, 5345, 'd', 7179, 2681, 7799, 'H', 'T', 'l', 'a', 'K', 1387, 'j', 'C', 'Q', 't', 'i', '979', 'i', 'S', '1771', '9491', 'Z', 'B', '2465', 'O', '5877', 'L', '1969', 'W', 'H', 'l', 'X', 'V', 9669, 'H', 'l', 'D', 517, 'z', 'd'], ['k', 7307, 33, 7323, 'r', 'D', 'C', 'Q', 't', 'i', '979', 'i', 'S', '1771', '9491', 'Z', 'B', '2465', 'O', '5877', 'L', '1969', 'W', 'H', 'l', 'X', 'w', 4701, 7231, 't', 7839, 'k', 5249, 'c', 8817, 8701, 'x', 553, 1383]


Output: C, Q, t, i, 979, i, S, 1771, 9491, Z, B, 2465, O, 5877, L, 1969, W, H, l, X