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

Ex Input:
['V', 6409, 2901, 2857, 'm', 'Z', 'H', 'D', 'I', 'w', '8693', '7057', 'a', '2847', '5289', 'n', '9155', 'Z', 'L', '1065', 'u', 6709, 5107, 75, 'D', 3405, 8783, 'f', 9429], [4593, 'J', 9331, 'R', 'F', 9237, 9523, 3727, 9529, 4753, 'y', 'd', 'P', 'H', 'D', 'I', 'w', '8693', '7057', 'a', '2847', '5289', 'n', '9155', 'Z', 'L', '1065', 'K', 'e', 'g']

Ex Output:
H, D, I, w, 8693, 7057, a, 2847, 5289, n, 9155, Z, L, 1065


Ex Input:
[1103, 'N', 9147, 7165, 'V', 'f', '7111', 'D', 'u', '7395', '1823', 'f', '4665', 'v', 'W', '7465', 'V', 'h', '3957', 'w', 'T', 'x', 'G', 7437, 3205, 'g', 8083, 'q', 3507, 'L', 9495], [5075, 't', 8603, 5843, 't', 7843, 451, 'M', 'Z', 'e', 5525, 'l', '7111', 'D', 'u', '7395', '1823', 'f', '4665', 'v', 'W', '7465', 'V', 'h', '3957', 'w', 'T', 'x', 'z', 'K', 7637, 2523, 1279, 'r', 'n', 'f', 1773, 'o', 4173, 4627, 39]

Ex Output:
7111, D, u, 7395, 1823, f, 4665, v, W, 7465, V, h, 3957, w, T, x


Ex Input:
[1727, 9165, 5763, 'D', 's', 'j', '1645', '439', 'm', 'h', '5295', '6583', '9327', '2575', 'G', 'D', 'Q', 'T', '8869', '6575', '7811', '1241', '8445', '5555', 'Q', 'Q', 'u', 'y', 'x', 'S', 'V', 7941, 2257, 'X', 6127, 'F', 5239, 8369, 6061, 'j', 9687, 'n', 'y'], [3779, 4649, 'g', 'C', 'd', 3195, 1861, 4775, 'D', 's', 'j', '1645', '439', 'm', 'h', '5295', '6583', '9327', '2575', 'G', 'D', 'Q', 'T', '8869', '6575', '7811', '1241', '8445', '5555', 'Q', 'f', 'M', 807, 7699, 6211, 847, 'b', 'T', 'S', 'j', 2631, 8213, 'D', 'R', 'R', 5859, 'F', 'H', 8403, 5039]

Ex Output:

D, s, j, 1645, 439, m, h, 5295, 6583, 9327, 2575, G, D, Q, T, 8869, 6575, 7811, 1241, 8445, 5555, Q