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

Input: Consider Input: [8495, 'H', 1935, 'Z', 'd', 4509, 'a', 5225, 9009, 'm', 'B', 's', 'H', 553, 1899, 'e', 5239, 9357, '6827', '1793', '9409', '2597', '3093', '8337', 'x', 'K', '6425', 's', 'h', '9337', 'F', 't', 'Y', '4249', 'v', '1611', 'T', 'F', 'X', '7719', 'N', 'O', 'Y', '9169', 'W', 8889, 'w', 'x', 'W', 'N', 'L', 703, 'v', 'L', 'A', 'z', 'J', 6407, 9779, 8049, 'u', 'u', 271, 'x', 6175, 433, 'C', 'a', 4817], [787, 'j', 'T', '6827', '1793', '9409', '2597', '3093', '8337', 'x', 'K', '6425', 's', 'h', '9337', 'F', 't', 'Y', '4249', 'v', '1611', 'T', 'F', 'X', '7719', 'N', 'O', 'Y', '9169', 'L', 'M', 'D', 'W', 3667, 'O', 'D', 1233, 'X', 3483, 'g', 779, 2951, 9855, 'J', 6069, 2303, 245, 5151, 'O', 'K']

Output: 6827, 1793, 9409, 2597, 3093, 8337, x, K, 6425, s, h, 9337, F, t, Y, 4249, v, 1611, T, F, X, 7719, N, O, Y, 9169


Input: Consider 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']

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


Input: Consider Input: ['n', 'q', 'X', 1289, 4857, 'G', '6085', '8355', '75', '8367', 'Y', '4951', 'p', 7613, 7173, 3355, 'A', 1547, 'm'], [567, 1997, 'w', 4913, 'G', '6085', '8355', '75', '8367', 'Y', '4951', 'B', 'X', 6261, 'S']


Output: G, 6085, 8355, 75, 8367, Y, 4951