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

Input: Consider Input: [9317, 'w', 4993, 's', 'm', '6813', 'w', '1303', '849', 'k', '6253', '6957', '8725', '6917', 'f', '1977', '6293', '2107', 'Z', '3307', 't', '2617', 'D', 'b', 'l', '8713', 'P', 'C', 'T', 'n', 'm', 3279, 'p', 5809, 'R', 103, 'q', 7037], ['w', 'y', 1757, 'P', 5339, 'v', 2295, 'J', 'D', 6391, 4415, 3971, 2739, 's', 'm', '6813', 'w', '1303', '849', 'k', '6253', '6957', '8725', '6917', 'f', '1977', '6293', '2107', 'Z', '3307', 't', '2617', 'D', 'b', 'l', '8713', 'P', 'C', 'T', 't', 583, 2855, 'n', 't', 7281, 5103, 'E', 3181, 3639, 'G', 'c', 4007, 'H', 'v', 8375, 'j', 'I', 'r', 'l', 9621, 'X', 1885, 4309]

Output: s, m, 6813, w, 1303, 849, k, 6253, 6957, 8725, 6917, f, 1977, 6293, 2107, Z, 3307, t, 2617, D, b, l, 8713, P, C, T


Input: Consider Input: [1103, 'N', 9147, 7165, 'V', 'f', '7111', 'D', 'u', '7395', '1823', 'f', '4665', 'v', 'W', '7465', 'V', 'h', '3957', 'w', 'T', 'x', 'G', 7437, 3205, 'g', 8083, 'q', 3507, 'L', 9495], [5075, 't', 8603, 5843, 't', 7843, 451, 'M', 'Z', 'e', 5525, 'l', '7111', 'D', 'u', '7395', '1823', 'f', '4665', 'v', 'W', '7465', 'V', 'h', '3957', 'w', 'T', 'x', 'z', 'K', 7637, 2523, 1279, 'r', 'n', 'f', 1773, 'o', 4173, 4627, 39]

Output: 7111, D, u, 7395, 1823, f, 4665, v, W, 7465, V, h, 3957, w, T, x


Input: Consider Input: ['E', 8829, 'B', 'G', 4971, 'Y', 'Q', 'V', 'd', 'd', 8745, 5043, '6935', 'r', '2041', 'a', '7265', '3327', 'e', 'E', 'F', 'z', 'M', '1341', '8281', '2771', '2625', 'f', '7881', '5507', 'l', '5941', 'l', '4447', 'f', 'q', 'a', 'w', 'H', 10025, 'P', 'E', 9273, 1467, 'P', 3977, 9765, 'K', 6379, 5303, 'O', 253, 5523, 'X', 8883], [2511, 'F', 'K', 6763, 7853, '6935', 'r', '2041', 'a', '7265', '3327', 'e', 'E', 'F', 'z', 'M', '1341', '8281', '2771', '2625', 'f', '7881', '5507', 'l', '5941', 'l', '4447', 'q', 4761, 5423, 2893, 'x', 1113, 's', 'L', 'M']


Output: 6935, r, 2041, a, 7265, 3327, e, E, F, z, M, 1341, 8281, 2771, 2625, f, 7881, 5507, l, 5941, l, 4447