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

Example Input: [6551, 'm', 4517, 'K', 9519, 'N', 6797, 'A', 'a', 5043, 2961, 1305, 'J', 'M', 'g', 5639, 6235, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'P', 'd', 9867, 6599, 'W', 'N', 4217, 'c', 5009], ['t', 9641, 7799, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'U', 'f', 8123, 'U', 3339, 4751]
Example Output: 9717, 6917, 7949, e, 2855, V, 4493, G, 375, e, 9909, J, t, N, 4535, 9963, 8917, W

Example Input: [3035, 7591, 'C', 'q', 'V', 'Y', 'C', 'D', '8629', '8873', 'O', '2505', '123', '8427', 'E', 'f', 'j', 's', 'G', '813', 't', '4113', '9319', '3221', 'K', 'C', 'C', '1679', 'Q', 'a', 'G', 'N', 'T', 's', 8601, 'j', 'D', 8513, 'd', 'm', 9725, 'V', 'R', 6981, 3191, 9251, 3009, 'y'], [8511, 3233, 'V', 'k', 8569, 511, 'G', 3587, 2909, 2225, 3411, 3135, 'w', 'V', 'Y', 'C', 'D', '8629', '8873', 'O', '2505', '123', '8427', 'E', 'f', 'j', 's', 'G', '813', 't', '4113', '9319', '3221', 'K', 'C', 'C', '1679', 'Q', 'a', 'k', 'S', 'S', 9041, 2591, 7417, 'N', 'W', 'b']
Example Output: V, Y, C, D, 8629, 8873, O, 2505, 123, 8427, E, f, j, s, G, 813, t, 4113, 9319, 3221, K, C, C, 1679, Q, a

Example Input: ['n', 'g', 6109, 'i', 8881, 715, 'a', 5631, 623, '5417', 'p', '1129', 'U', 'Z', 'Y', 'O', 'a', 'F', 'v', '2247', '8545', '9117', 'h', 'E', '153', 'R', 'x', 'Z', 7459, 169, 507, 559, 9821, 'X', 'L', 'B', 3781, 'x'], ['M', 9199, 1137, 'C', 'K', 'n', 'd', 1001, 7109, 1397, 2487, 7241, 'X', 1943, 'b', '5417', 'p', '1129', 'U', 'Z', 'Y', 'O', 'a', 'F', 'v', '2247', '8545', '9117', 'h', 'E', '153', 'R', 'J', 'H', 'n', 'V', 5347, 'D']
Example Output:
5417, p, 1129, U, Z, Y, O, a, F, v, 2247, 8545, 9117, h, E, 153, R