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

Example Input: [9575, 'B', 2013, 'J', 'e', 7839, 1517, 1505, 'T', 1109, 5639, 'o', '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'j', 3455, 4281, 7515, 2685, 617, 'M', 'f', 1943, 2675, 'L', 'U'], [1429, 2865, 'Y', 745, '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'F', 'r', 'w', 3275, 'x', 'y', 'R', 'N', 'P', 4961, 'm', 'v', 'L', 'g', 'B']
Example Output: 4409, L, 9207, 2481, W, 5287, h, b, h, T, g, k, 5867, p, 3705, 1257, 4107, 3389, a, r

Example Input: [641, 'S', 'X', 'z', 4889, 5577, 'f', 'K', 4151, 'I', 3883, 511, 'y', 7333, '125', '933', 'A', '4571', 'V', '9597', 'T', 'S', '5519', 'g', 'z', 'm', 'O', 't', 'T', '7241', 'n', 'x', '6943', 'q', 7115, 8237, 'G', 'F', 'j', 2437, 7631, 9983, 'Z'], ['j', 7931, 'e', 1833, 'O', 'T', 'L', 2669, 'V', 'e', 'r', 8177, 'A', 'k', 'K', 'l', 5879, '125', '933', 'A', '4571', 'V', '9597', 'T', 'S', '5519', 'g', 'z', 'm', 'O', 't', 'T', '7241', 'n', 'x', '6943', 'c', 'i', 'k', 9469, 4459, 'N', 'q']
Example Output: 125, 933, A, 4571, V, 9597, T, S, 5519, g, z, m, O, t, T, 7241, n, x, 6943

Example Input: ['m', 3701, 4747, 'P', 's', 's', 's', 5071, 'W', 'N', '9679', 'm', 'H', '1665', 'W', '5727', 'A', 2695, 6039, 4713, 'W', 1495, 1063, 5123], ['N', 'j', 8003, 'd', 9359, 'W', 'N', '9679', 'm', 'H', '1665', 'W', '5727', 's', 4385, 'O']
Example Output:
W, N, 9679, m, H, 1665, W, 5727