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

Example Input: ['J', 'A', 7687, 281, 'v', 'P', 'i', 7785, 'J', 'Y', 3523, '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'i', 267, 'p', 4649, 'n', 'H', 'y', 2593, 4947, 3199, 7407, 8623, 'S'], ['T', 9895, 1551, 'O', 5617, 'p', '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'S', 'C', 2099, 6507, 489, 9845, 6641, 2521]
Example Output: 355, 7389, Q, 4119, I, r, 6615, 8467, C, 9539, 4047, F, B, 2161, m, W, C, O, 7731, 3331

Example Input: ['o', 5261, 'R', 8999, 'G', 1965, 3921, 9539, 5343, 'c', 6119, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'S', 6387, 'u'], ['B', 'X', 319, 1715, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'T', 'Q', 3169, 'x', 'L', 'Q', 1161, 5639]
Example Output: 4617, 7787, P, 295, U, 1429, 7667, G, 8607, R, 7375, E, R

Example Input: [3199, 'E', 4375, 'N', 'U', 'v', 'Q', 2513, 5135, 't', 3463, 2851, 'w', 'W', 'O', 2631, 5479, 4569, 5861, 9121, 3797, 5469, 'N', 1525, 173, 9655, 'V', '6299', '7229', 'U', '6061', 'm', 'v', 'i', 'F', '4691', 'z', 'M', 'T', 'u', '411', '1633', 'y', '3733', 'p', '4337', '465', 'f', '8577', 'K', '1981', 'Q', 'A', 'N', 's', 'j', 9109, 7397, 'n', 2793, 5061, 'g', 'V', 4571, 1787, 'm', 6363, 561, 'Z', 3755, 'W'], ['y', 8659, 'd', 'v', 4589, 79, 5051, 7217, 2985, 'R', 7355, 9827, 'x', 'r', 'J', 8965, 'J', 'K', 6615, 2103, 'q', 'm', 'V', 'a', 8087, 'V', '6299', '7229', 'U', '6061', 'm', 'v', 'i', 'F', '4691', 'z', 'M', 'T', 'u', '411', '1633', 'y', '3733', 'p', '4337', '465', 'f', '8577', 'K', '1981', 'Q', 'b', 8587, 1549, 'q', 5385, 'o', 'O', 9641, 8259, 3973, 'R', 149, 8605, 991, 443, 'I', 'Q', 'i', 4219, 4745, 9515, 9339]
Example Output:
V, 6299, 7229, U, 6061, m, v, i, F, 4691, z, M, T, u, 411, 1633, y, 3733, p, 4337, 465, f, 8577, K, 1981, Q