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

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: [4521, 9297, 1549, 'j', 6533, 5069, 2291, 3507, 6815, 1619, 5771, 'k', '1705', '9637', 'd', 'g', '3717', 'Q', 'V', '8195', 'S', 'E', 'a', 'y', 'r', 'k', 'o', 'L', 3267, 'L', 2907, 'l', 4505, 'm', 3519, 'g'], ['T', 'r', '1705', '9637', 'd', 'g', '3717', 'Q', 'V', '8195', 'S', 'E', 'a', 'y', 'A', 873, 's', 1819, 4947, 'E', 'k', 'I', 'M']

Output: 1705, 9637, d, g, 3717, Q, V, 8195, S, E, a, y


Input: Consider Input: [2289, 'S', 6827, 'a', 'b', 1847, 3653, 'f', 'J', 'i', 4419, 'g', 7765, 's', 'm', 'c', 'Z', 'U', 'B', '6151', '7811', '7321', 'M', 'J', '4405', 'y', 'F', 'L', 'A', 'U', 'p', 'v', 5517, 7173, 4355, 3949, 'G', 'w'], [5369, 'a', 7601, 103, 'w', 'K', 'i', 7227, 4179, 8105, 4099, 'v', 6725, 's', 'm', 'c', 'Z', 'U', 'B', '6151', '7811', '7321', 'M', 'J', '4405', 'y', 'P', 'I', 'v', 'A', 6441]


Output: s, m, c, Z, U, B, 6151, 7811, 7321, M, J, 4405, y