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

Ex Input:
[4931, 5661, 8651, 'l', 'd', '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'K', 2179, 5747, 'C'], [3737, 7345, 3921, 'i', 9199, 3269, '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'A', 'd', 185, 'M']

Ex Output:
9585, r, U, z, 6511, 9443, 2917


Ex Input:
[3225, 'l', 'v', 'C', 'L', 'f', 6797, 3991, 7993, 'w', 6325, 6173, 7797, 427, 6343, 421, 4623, 'v', 'g', 'v', '9567', '6181', 'e', '4705', 'a', '4789', 'r', 'K', 'b', '8561', 'V', 'G', 'g', 'e', 'D', 'e', '9529', 'Y', '4953', '8369', 'Y', '4221', 'F', '6257', '5991', 'I', '8525', 'W', '9665', 'c', 'x', 2453, 'W', 'H', 'R', 5635, 'a', 9665, 6071, 4127, 't', 8505, 'B', 'R', 'w', 'A', 6985, 'u'], ['G', 'z', '9567', '6181', 'e', '4705', 'a', '4789', 'r', 'K', 'b', '8561', 'V', 'G', 'g', 'e', 'D', 'e', '9529', 'Y', '4953', '8369', 'Y', '4221', 'F', '6257', '5991', 'I', '8525', 'W', '9665', 'S', 'Y', 3793, 5393, 4571]

Ex Output:
9567, 6181, e, 4705, a, 4789, r, K, b, 8561, V, G, g, e, D, e, 9529, Y, 4953, 8369, Y, 4221, F, 6257, 5991, I, 8525, W, 9665


Ex Input:
['F', 2205, 'g', 7223, 5803, 'x', 8949, 7057, 6303, 7091, 8749, 9113, 6915, 'w', '6489', 'V', '1097', 'T', 'm', '1207', 'Z', 'b', 'J', 'Y', 'P', '5335', 'P', '7159', '9449', '3399', '1551', 'z', '5551', 'J', '9795', 'X', '8309', 'l', 'A', 9403, 4585, 'I', 'J', 7435, 513, 1635], [251, 'Y', 119, 'V', 'y', 'B', 'q', 'y', 3459, 'G', 7223, 803, 'I', 'v', 545, 'p', 1739, 1829, 'e', 'a', 'q', 'B', '6489', 'V', '1097', 'T', 'm', '1207', 'Z', 'b', 'J', 'Y', 'P', '5335', 'P', '7159', '9449', '3399', '1551', 'z', '5551', 'J', '9795', 'X', '8309', 'l', 'Z', 'n', 6649, 'w', 'x', 'H', 'X', 5023, 'W', 4065, 'K', 797, 4277, 1039, 4139, 7727, 'N', 'w', 8715, 9597, 'W', 'e']

Ex Output:

6489, V, 1097, T, m, 1207, Z, b, J, Y, P, 5335, P, 7159, 9449, 3399, 1551, z, 5551, J, 9795, X, 8309, l