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

Input: Consider 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']

Output: 3101, 7411, 3847, R, 4943, r, 2953, b, W, y, 3509, 6167, L, J


Input: Consider 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]

Output: l, 1385, 5787, 7377, 9385, 1545, 1079, C, K, f, O, W, 3253, Y, 2727, 3679, C, 4251, 3803, y, p, H


Input: Consider Input: ['O', 1945, 8957, 'i', 'H', 'T', 1259, 6167, 'X', 2331, 'R', 2501, 3149, '7137', '3163', '5461', '2523', 'C', '7769', '8389', 'A', '2183', 'c', '1925', '9549', 'C', '2001', '407', 'R', 'b', '2635', '9861', 'x', 3603, 1135, 'X', 2087, 9291, 3087, 9955, 8455, 'i', 6205, 'G'], [8315, 855, 897, 'q', 5675, 'K', 2543, 'E', 'm', 635, 361, 433, 9565, 4621, 'a', 'O', 7199, 'L', 'y', '7137', '3163', '5461', '2523', 'C', '7769', '8389', 'A', '2183', 'c', '1925', '9549', 'C', '2001', '407', 'R', 'b', '2635', '9861', 'K', 4863, 'w', 'u', 'c', 'f', 'Y', 1601, 5271, 9155, 123, 'r', 'W', 'W']


Output: 7137, 3163, 5461, 2523, C, 7769, 8389, A, 2183, c, 1925, 9549, C, 2001, 407, R, b, 2635, 9861