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

Example Input: ['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]
Example Output: z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w

Example Input: [1201, 'x', 'Z', '1951', '6643', '4463', 'N', 'W', '4625', 'w', 'D', 3599, 'B', 2299], ['T', 'z', 'A', 'Z', '1951', '6643', '4463', 'N', 'W', '4625', 'w', 'T', 'M', 'M']
Example Output: Z, 1951, 6643, 4463, N, W, 4625, w

Example Input: ['H', 6097, 'E', 4489, 5603, 1571, '8131', '7435', 't', '1221', '3265', '5267', 'Y', 9063], ['j', 'q', 'm', 'u', 'u', 'k', '8131', '7435', 't', '1221', '3265', '5267', 'F', 'l', 'f', 8751, 4207, 'a']
Example Output:
8131, 7435, t, 1221, 3265, 5267