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

Input: Consider Input: [1373, 'R', 'U', 5661, 'g', 'q', 'e', 'v', 'E', 'Q', 'J', '8395', 'o', 4093], ['K', 4843, 'N', 'e', 'v', 'E', 'Q', 'J', '8395', 'V', 3155, 'V', 'H', 'X', 'C']

Output: e, v, E, Q, J, 8395


Input: Consider Input: ['v', 5121, 'z', 'W', 1293, 9729, 8027, 3479, 6789, 'Z', 'y', 4505, 'm', 99, 6061, 'u', 'j', 4559, 'g', 'I', 6135, 3529, 9603, 'r', 'g', 'L', 'B', '3323', 'f', 'p', 'E', '5487', '7221', 'o', 'n', '1243', 'w', '7275', 'F', '2283', '1589', 'R', '8555', '169', 'S', 'n', 'T', 'i', '2153', '3165', '6921', 'L', 4051], [1601, 'C', 7585, 7943, 2835, 6247, 'r', 5357, 2601, 2317, 10017, 8557, 5535, 'U', 1765, 4085, 1803, 'w', 1967, 'O', 'u', 'p', 3509, 5583, 'u', 485, 935, 'r', 'g', 'L', 'B', '3323', 'f', 'p', 'E', '5487', '7221', 'o', 'n', '1243', 'w', '7275', 'F', '2283', '1589', 'R', '8555', '169', 'S', 'n', 'T', 'i', '2153', '3165', '6921', 'P', 'T', 'T', 1933, 7075]

Output: r, g, L, B, 3323, f, p, E, 5487, 7221, o, n, 1243, w, 7275, F, 2283, 1589, R, 8555, 169, S, n, T, i, 2153, 3165, 6921


Input: Consider Input: [1891, 9509, 3301, 'b', 'p', 3525, 'W', 'y', 2291, 3277, 'T', 2757, 3979, 8513, 't', 'I', 'i', 'H', 6265, 5111, 'W', 'd', '8579', '2515', '7931', 'u', 'N', '1653', 'c', 'c', 'C', '787', '5227', 'T', '953', 'X', 'B', '7607', 'a', 'd', 'U', 'f', 4263, 'W', 5491], ['t', 'J', 'G', 'z', 8147, 9607, 4809, 'n', 's', 233, 5773, 6897, 'C', 'i', 3939, 'S', 143, 'W', 'd', '8579', '2515', '7931', 'u', 'N', '1653', 'c', 'c', 'C', '787', '5227', 'T', '953', 'X', 'B', '7607', 'a', 'd', 'u', 'n', 2539, 5517, 'D', 'C']


Output: W, d, 8579, 2515, 7931, u, N, 1653, c, c, C, 787, 5227, T, 953, X, B, 7607, a, d