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', 2475, 'i', 2197, 'q', 2625, 'd', 9865, 4981, 407, 'C', 'U', '2141', '1319', 'f', 'c', 'x', 'H', '799', 'd', '9863', 'G', '3589', 'C', '4441', 'N', '2645', '8129', '9275', '2457', '7885', 'K', '4559', '2447', 'v', 'L', 'u', '7573', 'y', 'y', 'j', 5261, 'C', 7391, 'a', 3145, 1309, 'A', 's', 9681, 6579, 'H', 621, 'R', 'G'], ['L', 5243, 8851, 't', 10015, 'Z', 'f', 'v', 6007, 7767, 5085, 5665, 5755, 3261, 5521, 'v', 'N', 1465, 8667, 'W', '2141', '1319', 'f', 'c', 'x', 'H', '799', 'd', '9863', 'G', '3589', 'C', '4441', 'N', '2645', '8129', '9275', '2457', '7885', 'K', '4559', '2447', 'v', 'L', 'u', '7573', 'y', 'y', 'I', 'i', 5747, 2727, 'R', 's', 2623, 'u', 'Q', 9057, 'd', 'G', 'M', 3307]

Output: 2141, 1319, f, c, x, H, 799, d, 9863, G, 3589, C, 4441, N, 2645, 8129, 9275, 2457, 7885, K, 4559, 2447, v, L, u, 7573, y, y


Input: Consider Input: [6987, 'F', 'j', 'E', 'P', 947, 823, 'P', 4655, 'C', 'l', 'R', 'z', 5705, 'I', 'H', 'y', 2167, 7443, 'E', 'F', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'D', 'y', 665, 'P', 'k'], [4453, 'F', 'b', 1309, 'm', 'H', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'p', 'f', 7091]

Output: d, 567, 1385, d, 1013, Q, 3983, 5891, 6397, 1701, d, v, N, 4551, 9415, 5691, n, 3435, 1485, u, Q, 3191


Input: Consider Input: [8685, 'M', 2469, 4021, 5747, 5817, 'W', 8855, 'j', '9645', '9069', 'C', 'k', '9911', '381', 'G', 'W', 'w', 'B', 'k', 'R', '3515', 'v', 'e', '635', 'd', 'l', '113', 's', 'A', 'w', 'i', 461, 'L', 'R', 'X', 'U', 'X', 4815, 'I', 5597, 'q', 6149, 2929], [8311, 'r', 'i', 'l', 'G', 'm', 4467, 'W', 's', 'W', 4427, 'q', 'J', '9645', '9069', 'C', 'k', '9911', '381', 'G', 'W', 'w', 'B', 'k', 'R', '3515', 'v', 'e', '635', 'd', 'l', '113', 's', 'O', 6917]


Output: 9645, 9069, C, k, 9911, 381, G, W, w, B, k, R, 3515, v, e, 635, d, l, 113, s