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

Example Input: ['n', 137, 'q', 'Q', 10017, 2119, 'g', 8921, 'L', 'A', 'c', 'U', 7067, 'P', '7789', 'O', 'H', 'h', 'T', 'C', '9427', 'b', '4887', '7659', 'i', 'q', '8123', '7571', '8653', '4961', 'W', 'K', '6323', 'm', '9669', '4821', '6503', 'M', 'N', 4975, 'w', 4937, 9409, 2427, 'n', 7733, 'o', 3717, 141, 'e', 'z', 'X', 'c', 'q', 6443, 'W', 'Q', 'j', 7043, 1977], ['I', 9, 5027, 3147, 1945, 6141, 'u', 2685, 2253, 8359, 'z', 4431, 8465, 3145, 'k', '7789', 'O', 'H', 'h', 'T', 'C', '9427', 'b', '4887', '7659', 'i', 'q', '8123', '7571', '8653', '4961', 'W', 'K', '6323', 'm', '9669', '4821', '6503', 'M', 'B', 'N', 8081, 'W', 'H', 'A', 'w', 'j', 661, 'D', 8029, 49, 'y', 6639, 829, 771, 9575, 7371]
Example Output: 7789, O, H, h, T, C, 9427, b, 4887, 7659, i, q, 8123, 7571, 8653, 4961, W, K, 6323, m, 9669, 4821, 6503, M

Example Input: [9875, 'g', 8729, 'h', 'F', 'v', 'v', 8307, 6379, 3165, 7055, 'f', 'p', 3707, 'P', 6305, 'h', '9891', '2783', 'D', '7567', '95', 'T', 'U', '2035', 'W', 'C', 'B', '9943', 'B', '9033', '6511', 'e', '2623', 'O', 'Z', 'k', 7761], [9061, 1241, 'd', 3917, 'm', 9457, 'n', 1493, 725, 'O', 'h', '9891', '2783', 'D', '7567', '95', 'T', 'U', '2035', 'W', 'C', 'B', '9943', 'B', '9033', '6511', 'e', '2623', 'O', 'Z', 'o', 'J', 'c', 6919, 'O', 'O', 8809, 'J', 'v', 'O', 4633, 941, 'z', 6667, 'X', 'C', 'd', 5189]
Example Output: h, 9891, 2783, D, 7567, 95, T, U, 2035, W, C, B, 9943, B, 9033, 6511, e, 2623, O, Z

Example Input: [5331, 7661, 'm', 5679, 'a', 'P', 4865, 'F', 'C', 'd', 'M', 'f', 9471, 'O', 1135, 'c', 'v', '3009', 'c', 'j', '2441', '9381', 'Y', 'j', '2193', 'J', '6545', 'U', 'n', 'w', 's', '603', 'S', 'B', '8895', 'K', 'p', 2659, 3657, 3995, 8429, 7109], [8061, 'P', 43, 4337, 7697, 'c', 2359, 5025, 7233, 6313, 1613, 37, 'c', 'v', '3009', 'c', 'j', '2441', '9381', 'Y', 'j', '2193', 'J', '6545', 'U', 'n', 'w', 's', '603', 'S', 'B', '8895', 'K', 'W', 7695, 'g', 3453, 2595, 433, 'S', 8439, 5565, 'S', 1171, 'X']
Example Output:
c, v, 3009, c, j, 2441, 9381, Y, j, 2193, J, 6545, U, n, w, s, 603, S, B, 8895, K