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

Example Input: [319, 1325, 9567, 'M', 'm', 1759, 't', 'Z', 'X', 7981, 2409, 5023, 'b', '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'I', 5289, 1221, 'k', 5727, 5411, 7127, 'F', 'J', 'o', 7587, 'm', 237, 415, 8413, 'j'], ['O', 5043, '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'v', 5793]
Example Output: 8661, 6609, 8213, Y, 9541, 8065, M, 8267, V, K, 3217, 1111, 1411, u, 9705, V, U, 3171, 4195, Z, t, p

Example Input: [5701, 'Y', 2511, 4707, 'i', 9083, 1187, '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'X', 8863, 7467, 665, 3485, 4035, 'g', 8795], [189, 8331, 'N', 'S', 'U', '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'R', 't', 9581, 5575, 'Q', 'Q', 1209]
Example Output: 749, v, i, f, j, 5983, 4221, p, q, 8703, n, Z, O, A, H

Example Input: [5461, 5993, 'G', 'd', 'U', 729, 'P', '627', '5711', 'D', '2855', '3291', '3101', 'r', '9937', 'Q', 'b', '5049', 'n', 'V', 'y', 1353, 'N', 't', 'm', 21], ['R', 'u', 1447, 8385, 'a', 'a', 'd', 1737, 'y', 'b', 'A', 'P', '627', '5711', 'D', '2855', '3291', '3101', 'r', '9937', 'Q', 'b', '5049', 'n', 'Q', 'S', 87, 'r', 'U', 4819, 3723, 'b', 's', 3953]
Example Output:
P, 627, 5711, D, 2855, 3291, 3101, r, 9937, Q, b, 5049, n