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

Ex Input:
['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']

Ex Output:
5181, q, c, W, r


Ex Input:
['y', 'T', 'W', 'v', 3541, 5233, 'w', 8885, 'o', 9621, 'e', 457, 'z', 'D', 5225, 'm', 'U', '8669', '4471', '3119', 'Y', '1937', '1161', 't', 'o', 'm', '6349', 'f', 'x', 's', 'L', 'E', '7395', '7035', 'p', '9607', 'a', '7951', 'A', 5057, 'S', 983, 8121, 'Y', 'I', 6217, 987, 'U', 2147, 'n'], ['R', 8175, 6613, 8767, 7071, 6707, 'V', 6635, 'n', 'Z', 8325, 6011, 8089, 2053, 'm', 'U', '8669', '4471', '3119', 'Y', '1937', '1161', 't', 'o', 'm', '6349', 'f', 'x', 's', 'L', 'E', '7395', '7035', 'p', '9607', 'a', '7951', 'E', 2901, 4455, 739, 'M', 'd', 1735, 'i']

Ex Output:
m, U, 8669, 4471, 3119, Y, 1937, 1161, t, o, m, 6349, f, x, s, L, E, 7395, 7035, p, 9607, a, 7951


Ex Input:
[9587, 'k', 'w', 4647, 7371, 5163, 9923, 'a', 'K', 'D', '4345', '5527', 'g', '6665', 'L', 'N', '3077', '5331', 'b', '5205', 'C', 'B', 'F', 'Z', '425', 'k', 'm', '6157', 'y', 'r', '6051', 'K', 'U', 'S', 4259, 5311, 9703, 'B', 'h', 5585, 6879, 'T', 'g', 2593, 'R', 5095, 1203, 'z', 9011, 'u', 'a', 'r', 8737], ['n', 9147, 4901, 'u', 367, 6761, 'x', 1885, 4495, 7631, 2929, 't', 8783, 8245, 'J', 3557, 3319, 'a', 8179, 's', 'a', 'K', 'D', '4345', '5527', 'g', '6665', 'L', 'N', '3077', '5331', 'b', '5205', 'C', 'B', 'F', 'Z', '425', 'k', 'm', '6157', 'y', 'r', '6051', 'K', 'U', 'Z', 4097, 'J', 'I', 'l', 8111, 'n', 1115, 'o', 8535, 1993, 'X']

Ex Output:

a, K, D, 4345, 5527, g, 6665, L, N, 3077, 5331, b, 5205, C, B, F, Z, 425, k, m, 6157, y, r, 6051, K, U