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

Example Input: ['X', 'j', 'Y', 4541, 7639, 'm', 'K', 305, 6733, 5077, 'S', 'S', '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'j', 'P', 'x', 'r', 'K', 'C', 'R', 'k', 985, 1029, 't', 'c', 3835], [8563, 'b', 'D', 8893, 3193, 1043, 5807, 7563, '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'z', 'S', 6681, 8187, 7139, 5221, 9683, 7271, 'c', 419, 'i']
Example Output: 6005, v, 5903, 4231, z, p, 7235, w, 3597, 979, 3071, 3945, 8645, 8455, 9083, 8905, 999, 111, N, H, 2777, e, 9415, j, Q, 2679, w, g, 9581, 6053

Example Input: ['z', 'L', 'e', 3279, 's', 'U', 'p', '2885', 'w', 'x', 7713], [3907, 'e', 's', 'U', 'p', '2885', 'w', 'F', 'x', 'v', 5319]
Example Output: s, U, p, 2885, w

Example Input: ['X', 'V', 'p', 4203, 6157, 7577, 6961, 2333, 6327, 8089, '9085', '451', '3317', 'D', '6211', 'T', '45', 'l', '6935', 'Y', 'g', '8377', 'U', '2931', '5585', 's', '5435', '829', 'O', 'Z', 8501, 'u', 7743, 4821, 'v'], [4965, 2987, 'W', 5715, 'g', 1685, '9085', '451', '3317', 'D', '6211', 'T', '45', 'l', '6935', 'Y', 'g', '8377', 'U', '2931', '5585', 's', '5435', '829', 'c', 'Q']
Example Output:
9085, 451, 3317, D, 6211, T, 45, l, 6935, Y, g, 8377, U, 2931, 5585, s, 5435, 829