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

Input: Consider Input: [2471, 'o', 'j', 'J', 7539, 8949, 2023, 'b', 'w', 9935, 'i', 'A', '843', 'E', 'Q', 'M', '3185', 'h', 'u', 'K', 'D', '5655', '2057', '1169', 'Q', 'Y', 2199], [2019, 'Y', 2557, 2337, 'p', 'i', 'A', '843', 'E', 'Q', 'M', '3185', 'h', 'u', 'K', 'D', '5655', '2057', '1169', 'g', 7743, 'L', 'A', 5137, 3587, 'V', 1399]

Output: i, A, 843, E, Q, M, 3185, h, u, K, D, 5655, 2057, 1169

Input: Consider Input: [2945, 6951, 2771, 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'd', 4197, 'j', 'p', 'z', 1911, 'w', 6663, 7993, 5973, 3193, 7387, 'h', 'e', 8663, 2715], ['U', 'a', 'f', 7179, 7859, 'C', 6081, 2069, 3459, 'm', 'w', 'k', 'q', 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'e', 'v', 'f', 5943, 8771, 'K', 'i', 'c', 'x', 7745, 'F', 'x', 3855, 'S', 5113, 1205]

Output: k, G, 7377, d, a, p, J, c, R, 6641, a, 2235, 3033, 3189, 7299, h, T, 5111, k

Input: Consider Input: [9441, 's', 'x', 443, 'K', 'M', 1567, 'M', 'V', '1129', 't', 'A', 'T', '7109', 'z', 'e', 'V', '5389', '3327', 'f', '1013', 'A', 'O', 'A', '9069', 'q', 'x', 'p', 'b', 'Z', 'c', '7343', 'o', 'v', 'A', 8001, 'n', 8059, 6409, 7141, 't', 'R', 'n', 8561, 6935, 551, 3599, 'i', 'q', 6627, 317, 'l', 3829, 2463], [6031, 'B', 1381, 'H', 3941, 'D', 7441, 'j', 3179, 1075, '1129', 't', 'A', 'T', '7109', 'z', 'e', 'V', '5389', '3327', 'f', '1013', 'A', 'O', 'A', '9069', 'q', 'x', 'p', 'b', 'Z', 'c', '7343', 'o', 't', 'j', 'T', 5875, 3425, 'h', 'X', 'G', 'y', 'W', 'I', 'f', 7761, 'w', 'D', 'y', 'P', 1949, 'T']
Output: 1129, t, A, T, 7109, z, e, V, 5389, 3327, f, 1013, A, O, A, 9069, q, x, p, b, Z, c, 7343, o