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

Input: Consider Input: [9639, 'C', 9853, 'A', 'k', 633, 1303, 6893, 1461, 'O', 'i', 'E', 'L', 8811, 1123, 1523, 285, 'G', 6701, 'v', 'E', 2799, 9503, '6601', 'Z', 'H', '2771', '1129', 'G', '3897', '3577', '1459', '6281', '7955', '3751', '5339', 'R', '4343', '9107', 'Q', 'H', 'r', 'I', 'n', '5191', 'E', '3385', '9711', 'g', 'W', 'O', 9249, 3181, 3455], ['x', 'l', 7827, 8297, 'D', 5453, 6611, '6601', 'Z', 'H', '2771', '1129', 'G', '3897', '3577', '1459', '6281', '7955', '3751', '5339', 'R', '4343', '9107', 'Q', 'H', 'r', 'I', 'n', '5191', 'E', '3385', '9711', 'g', 'W', 'y', 4363, 8699, 'H', 'h', 4081, 'F', 'S', 8027, 'p', 'j']

Output: 6601, Z, H, 2771, 1129, G, 3897, 3577, 1459, 6281, 7955, 3751, 5339, R, 4343, 9107, Q, H, r, I, n, 5191, E, 3385, 9711, g, W


Input: Consider Input: [4731, 'z', 8923, 1325, 'P', 8435, 'u', 'B', 'N', 8191, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'O', 'H', 9453], [4977, 'E', 4865, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'R', 'T', 7065]

Output: O, 3019, 4077, w, W, x, z, 2233, 6509, N, 3069, 5471, K, x, q, 979, M


Input: Consider Input: [4015, 6739, 'd', 'w', 'z', 9915, 863, 6225, 'A', 3567, 1157, 'g', 7901, 'g', '3221', '3067', 'c', '5247', 'H', '8457', 'E', '9245', 'z', '7993', '4345', 'I', 'o', 't', 'i', 'T', '3849', '8521', '8249', '8891', '1963', 'j', 'c', 'E', '9043', '643', 'O', '6345', 'a', 'c', 'R', 5313, 'p', 2541, 'D', 5983], [5563, 'f', 7013, 3381, 7829, 'E', 'P', 'j', 'V', 9333, 9801, 'f', 9725, 'q', 5439, 4951, 'G', 'T', 'f', 'b', 'c', 'P', 7823, 'G', 9121, 9275, 'g', '3221', '3067', 'c', '5247', 'H', '8457', 'E', '9245', 'z', '7993', '4345', 'I', 'o', 't', 'i', 'T', '3849', '8521', '8249', '8891', '1963', 'j', 'c', 'E', '9043', '643', 'O', '6345', 'a', 3839, 'b', 8343, 'O', 'J', 'm', 957, 9425, 985, 6309, 6963]


Output: g, 3221, 3067, c, 5247, H, 8457, E, 9245, z, 7993, 4345, I, o, t, i, T, 3849, 8521, 8249, 8891, 1963, j, c, E, 9043, 643, O, 6345, a