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

Example Input: [8039, 4457, 'z', 3519, 'q', 'T', 'k', 'b', 'H', 'W', 'H', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'd', 1527, 'o', 1393, 't', 7653], ['g', 2437, 'm', 'b', 2347, 'Q', 6719, 2049, 6643, 'B', 6919, 1873, 'K', 9319, 6729, 'Z', 'E', 8011, 7953, 'M', 1121, 'k', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'o', 1481, 867, 'B', 29]
Example Output: 5561, 1389, 6389, 6923, 339, Q, 5837, D, z, F, 4743, 7197, 1407, 9711, 4355, 4027, 2219, w, S, Z, f, 4091, 2571

Example Input: [7257, 'p', 'o', 7595, 'w', 'S', 'U', '3739', 'Z', 'n', 'm', 'M', '6421', '3519', 'B', '2639', 'a', '8269', 'j', '2425', 'E', 'E', 'V', 'H', 'D', 'd', 'M', 'o', '3915', 'v', 'P', 'l', 'i', 'q', 6171, 397, 1631], [4641, 1471, 5915, 1657, 4847, 'v', 3719, 'U', 9943, 'v', 2189, 9163, 'Y', 'C', 'e', 3867, 3395, 'm', 5999, 9653, 'K', 'H', 2767, 1999, 'w', 'S', 'U', '3739', 'Z', 'n', 'm', 'M', '6421', '3519', 'B', '2639', 'a', '8269', 'j', '2425', 'E', 'E', 'V', 'H', 'D', 'd', 'M', 'o', '3915', 'g', 5715, 'm', 'K', 'g', 'Q', 5439, 7327, 'V', 1335, 885, 9993, 'n', 2303, 1305, 9329, 'i', 5357, 't', 7567, 2211, 787, 7459]
Example Output: w, S, U, 3739, Z, n, m, M, 6421, 3519, B, 2639, a, 8269, j, 2425, E, E, V, H, D, d, M, o, 3915

Example Input: [6077, 6779, 2537, 2203, 5667, 521, 'b', 'y', 7051, 5881, 4527, 9691, 7043, 't', 3921, 3427, 3393, 'w', 4769, 4571, 'H', 'q', 2861, 5847, 'i', 'r', 'K', '2207', '9701', 'r', 'K', 'p', 'o', 'y', '8921', '2941', '1269', 'H', '5157', '6003', 'C', 'C', '877', '7595', 'k', '7075', '141', '5319', 'p', 'E', 4495, 'S', 'm', 'j', 4717, 3861, 9979, 'M', 'I', 'C', 'J', 'j'], [8213, 1411, 'i', 'r', 'K', '2207', '9701', 'r', 'K', 'p', 'o', 'y', '8921', '2941', '1269', 'H', '5157', '6003', 'C', 'C', '877', '7595', 'k', '7075', '141', '5319', 'k', 3813, 'c', 'D', 'A']
Example Output:
i, r, K, 2207, 9701, r, K, p, o, y, 8921, 2941, 1269, H, 5157, 6003, C, C, 877, 7595, k, 7075, 141, 5319