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

Input: Consider Input: [1929, 4689, 'n', 8041, 9403, 9827, '9187', '8209', '859', 'g', 'W', 'U', '1479', 'r', '4511', 'Z', 'c', '1191', 'A', '6903', 'n', '5933', '3263', '5161', '2377', '4877', 'f', '4231', '7169', 'z', 'k', '2733', '9957', 'L', 'f', 'm', 'Z', 6739, 'Q', 'm', 'B', 2313], ['v', 'l', 1235, 'N', 9583, 'p', 5865, 'd', 'L', 8093, 9981, 7681, 'j', 'W', 'i', 'N', 'S', 7663, 'K', 'T', 'O', 'S', 5629, 'M', 5999, 'V', '9187', '8209', '859', 'g', 'W', 'U', '1479', 'r', '4511', 'Z', 'c', '1191', 'A', '6903', 'n', '5933', '3263', '5161', '2377', '4877', 'f', '4231', '7169', 'z', 'k', '2733', '9957', 'R', 9373, 'U', 'A', 9265]

Output: 9187, 8209, 859, g, W, U, 1479, r, 4511, Z, c, 1191, A, 6903, n, 5933, 3263, 5161, 2377, 4877, f, 4231, 7169, z, k, 2733, 9957


Input: Consider Input: [1307, 'u', 'Z', 3323, 191, 'i', 'h', 't', 'L', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'C', 'M', 'y', 'h', 7985, 9989, 'j'], [2817, 1955, 2973, 'Y', 9221, 'z', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'G', 'M', 2083, 'O']

Output: 8549, 7861, 9747, 3985, g, r, 1247, R, S, a, a, 749


Input: Consider Input: [105, 'U', 'B', 'o', 3201, 5201, 'q', 'j', 'B', 'y', '5045', 'P', '6199', 'o', 'S', '1053', 'I', '7885', 'P', 'c', 'q', 2139, 'N', 5805, 'Z'], ['F', 'n', 7161, 'l', 'v', 'u', 'm', 2087, 'l', 'W', 'B', 'y', '5045', 'P', '6199', 'o', 'S', '1053', 'I', '7885', 'L', 'G']


Output: B, y, 5045, P, 6199, o, S, 1053, I, 7885