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

Input: Consider Input: [1001, 9417, '7135', 'q', 'C', '1417', 'x', '2263', 'F', 539, 5643, 1153, 5893, 'f'], [7791, 6635, 401, '7135', 'q', 'C', '1417', 'x', '2263', 'X', 8455]

Output: 7135, q, C, 1417, x, 2263


Input: Consider Input: [2975, 3781, 'D', 'd', 'K', 4033, '3783', 'n', 'k', '327', 't', '9871', '233', 's', 'e', 'P', 3411, 'J', 'e'], [4339, 2811, '3783', 'n', 'k', '327', 't', '9871', '233', 'l', 'f', 4263, 7913]

Output: 3783, n, k, 327, t, 9871, 233


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