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

Example 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']
Example Output: H, D, I, w, 8693, 7057, a, 2847, 5289, n, 9155, Z, L, 1065

Example Input: ['x', 'T', 'K', 'i', 935, 's', 209, 6485, 7803, 'Z', 'Q', 'H', 'u', '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'N', 'p', 9815, 'Q', 'u', 'U', 1559, 'Y', 'z', 'i', 3473, 's', 7251, 5303, 'k', 'u'], [9843, 'H', 3903, 6499, 'y', 'u', 'v', 'i', 'p', 8877, 27, 'Z', 6151, 5793, 'F', 'u', 'K', 'f', 'F', 8005, 'r', 4323, 2093, '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'O', 'u', 'J']
Example Output: 5629, 7573, 4679, 73, 6729, 1943, Y, b, 1595, R, 1475, 9785, 3773, 4077, 2189, r, d, 9613, L, S, 6619, 9039, 7557, 999, F

Example Input: [5803, 9071, 'T', 'E', 'D', 2619, 1759, 'D', 7903, 5099, 'm', 'I', 'H', '5749', 'K', 'F', 'X', '6951', 'W', '6295', '2499', '8261', 'R', 7281, 9627, 'h', 'V'], ['J', 5389, 197, 8881, 'S', 'V', 9537, 'z', 'I', 'H', '5749', 'K', 'F', 'X', '6951', 'W', '6295', '2499', '8261', 'y', 353, 3249]
Example Output:
I, H, 5749, K, F, X, 6951, W, 6295, 2499, 8261