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

Example Input: [9627, 3485, 'B', 'B', 2377, 5949, 6975, 6061, 8717, 'I', 7415, 'v', '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'B', 'm', 'D', 'e', 3155, 'N', 'y', 5923, 1375, 5079], [883, 'N', 81, 'q', 'd', 'P', 'v', 'v', 6005, 1079, '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'J', 795, 'g']
Example Output: 3101, 7411, 3847, R, 4943, r, 2953, b, W, y, 3509, 6167, L, J

Example Input: [6403, 3483, 'Z', 'l', '1385', '5787', '7377', '9385', '1545', '1079', 'C', 'K', 'f', 'O', 'W', '3253', 'Y', '2727', '3679', 'C', '4251', '3803', 'y', 'p', 'H', 'U', 9679, 'k', 'K', 3073, 3011, 'u', 'p', 'N', 2433, 9787, 3981, 363], ['n', 'n', 2201, 4585, 'Z', 'q', 921, 'S', 5417, 'l', '1385', '5787', '7377', '9385', '1545', '1079', 'C', 'K', 'f', 'O', 'W', '3253', 'Y', '2727', '3679', 'C', '4251', '3803', 'y', 'p', 'H', 'u', 'P', 4041, 6681, 'n', 'M', 8035]
Example Output: l, 1385, 5787, 7377, 9385, 1545, 1079, C, K, f, O, W, 3253, Y, 2727, 3679, C, 4251, 3803, y, p, H

Example Input: ['N', 'z', 6439, 7593, 8813, '585', '3949', '1041', 'u', '8583', '9679', '2583', 'h', 'n', '6941', '1513', 'r', 'U', 'G', '891', '127', '3653', 'I', 'f', 'j', '5595', '5959', '721', 'j', '1301', 'h', 'p', 'Z', 5217, 7, 3909, 2723, 'U', 1171, 'H', 'A', 8345, 6545, 7919, 'L', 9747, 'F', 2291, 8559, 'x', 'o', 2423, 10009, 9737], [4677, 7063, 'n', 9589, 'n', '585', '3949', '1041', 'u', '8583', '9679', '2583', 'h', 'n', '6941', '1513', 'r', 'U', 'G', '891', '127', '3653', 'I', 'f', 'j', '5595', '5959', '721', 'j', '1301', 'u', 'G', 'k', 8123, 't', 8075, 8483, 7331, 't', 8215, 7893, 7839, 'N', 'd']
Example Output:
585, 3949, 1041, u, 8583, 9679, 2583, h, n, 6941, 1513, r, U, G, 891, 127, 3653, I, f, j, 5595, 5959, 721, j, 1301