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

Example Input: ['m', 'K', 2769, 'i', 'k', 853, 'P', '9255', 'N', '8281', 'f', 'm', 'V', 'a', 3525, 7823, 2111, 'T'], ['Q', 1337, 'I', 'P', '9255', 'N', '8281', 'f', 'm', 'g', 'M', 3873]
Example Output: P, 9255, N, 8281, f, m

Example 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]
Example 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

Example Input: [7955, 6335, 5497, 'D', 'b', 'b', '2873', '5111', '1283', 'v', 'D', 'C', '2105', 'U', '2581', 'G', 'L', 'Z', 'i', 'Z', 6955, 'a', 'T', 789, 2893], ['u', 'L', 2263, 6119, 'i', 2369, 'B', 'h', 8625, 'o', 'f', '2873', '5111', '1283', 'v', 'D', 'C', '2105', 'U', '2581', 'G', 'L', 'Z', 'i', 'a', 'e', 'L']
Example Output:
2873, 5111, 1283, v, D, C, 2105, U, 2581, G, L, Z, i