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

Ex Input:
['w', 5919, 'P', 6117, 7697, 'Y', 4467, '3097', '2793', 'x', 'P', 'c', 'o', '8777', 'D', '1983', '2397', 'X', 't', 'k', '8109', '2549', 'b', '7173', '3843', 'k', 'u', 'P', 1347, 'y', 'r', 'o', 5611, 'L', 999, 4781], [9955, 'n', 8107, 7059, 'V', 'E', 2417, 1811, 3625, 623, 'T', 'R', 'p', 'l', 'W', 8103, 3691, 'N', '3097', '2793', 'x', 'P', 'c', 'o', '8777', 'D', '1983', '2397', 'X', 't', 'k', '8109', '2549', 'b', '7173', '3843', 'k', 'k', 'p', 'L', 1311, 591, 'J', 5611, 'Q', 'p', 'I', 5921, 237, 'y', 1981, 3861, 'B', 'n', 'r', 'H']

Ex Output:
3097, 2793, x, P, c, o, 8777, D, 1983, 2397, X, t, k, 8109, 2549, b, 7173, 3843, k


Ex Input:
['l', 3279, 2027, 5827, 2313, 'v', 'T', 'O', 'E', 4721, 8305, 'D', 'l', 7653, 691, 8635, 9965, 1271, 'c', 'p', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'Z', 4211, 'r', 'a', 2311, 3909, 't', 'w', 9527, 'Z', 'A', 2927], [4809, 'D', 'B', 'w', 6325, 10019, 2381, 4757, 'f', 1485, 2737, 'B', 7953, 'v', 8565, 'f', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'K', 'Q', 'd', 8559, 'p', 5259, 'o', 9663, 'j', 4891, 'm', 'C', 2501, 7067, 1463, 'U', 'p']

Ex Output:
7861, j, Z, 1625, 4881, 4155, h, n, o, d, 3563, L, x, 9939, 3911, 4255, v, 1067, 3399, x


Ex Input:
['Y', 'n', 749, 6083, 'P', '9129', 'm', 'g', 'i', 'G', 't', 'V', 'y', 'n', '4001', '5015', 'v', '1407', 'C', '6417', 'X', 'd', '6717', 'm', 'd', 'i', '15', '4647', 'V', 9383, 'O', 'P', 'o', 'a', 'a', 3905, 'b', 'Z', 'e', 5993, 5635, 2587, 9469, 4203, 'l', 3859, 'A', 1501, 6983, 'r'], [7551, 5591, 'q', 'v', 'f', 7077, 'U', 'n', 'L', 2951, 's', 9233, 'O', 9115, 4149, 7797, 'P', '9129', 'm', 'g', 'i', 'G', 't', 'V', 'y', 'n', '4001', '5015', 'v', '1407', 'C', '6417', 'X', 'd', '6717', 'm', 'd', 'i', '15', '4647', 'b', 'A', 'Q', 3651, 'o']

Ex Output:

P, 9129, m, g, i, G, t, V, y, n, 4001, 5015, v, 1407, C, 6417, X, d, 6717, m, d, i, 15, 4647