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

Input: Consider Input: [8521, 7389, 'Z', 959, 4009, 4683, 'y', '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'i', 'D', 2717, 'P', 3531, 8889], ['Y', 4689, 'H', 'h', 3485, 1659, '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'm', 'k', 3777, 'l', 4497, 5837, 7061]

Output: 4295, 5675, a, 5585, q, 5785, 9081, U, s


Input: Consider Input: [4163, 'p', 'Z', 'i', 'r', 9525, 'c', 'C', 'L', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'w', 6457, 'P', 1517, 6975, 2465, 'Y', 425, 'n', 375, 'O', 7707, 1105, 1985, 6149, 'l', 5761, 875, 4411], [2127, 9083, 'w', 'Z', 4071, 5347, 'r', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'o', 'K', 1639, 'Z', 13, 'm', 'M', 'G', 'C', 353]

Output: J, L, 3441, W, 2257, 7885, 873, e, a, N, 2853, K, R, 5531, h, p, u, b, 6003, q, H, 6641, 9991


Input: Consider Input: [7111, 'n', 2943, 'u', 'A', 'f', 'C', 2045, 7457, 8019, 'n', 'm', 'E', 'y', 'F', 'R', 'i', '2363', 'Q', '3821', 'p', '6121', 'f', 'D', 6201, 'H', 'D', 9391, 'f'], ['U', 'R', 'j', 521, 'm', 'E', 'y', 'F', 'R', 'i', '2363', 'Q', '3821', 'p', '6121', 'n', 'j', 'm', 'w', 311, 1133]


Output: m, E, y, F, R, i, 2363, Q, 3821, p, 6121