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

Ex Input:
['J', 6791, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'i', 'n', 'R', 9199, 455, 'i'], [4051, 8463, 'i', 6667, 'N', 'k', 'X', 2629, 'I', 'O', 5057, 1059, 4265, 'B', 3819, 'c', 9941, 'R', 'a', 5545, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'a', 9953, 6229, 'F', 2985]

Ex Output:
x, f, n, 5565, 4103, q, n, h, 625, 2981, 3243, q, 2705, 5505, s, 4423, j, 9819, 3841, Z


Ex Input:
[4143, 9623, 'k', 'Z', 1355, 4371, 5553, 'U', 8081, 843, 7307, 8537, 841, 6443, 9873, 'b', 4969, 1189, 9481, 9225, 6739, 4269, 3997, 9511, '5641', '8319', '5809', 'F', '7875', '8699', 'p', '1431', 'K', 'R', '53', '4049', 'b', 'b', '5823', 'E', '1073', '8199', '6801', '8501', '1971', '6131', '4225', '847', 'N', 4305, 'M', 2381, 'W', 7817, 'x', 7221, 4341, 'k', 4235, 'z', 9923, 'w', 'c', 7701, 'k', 6841, 9359], [831, 8989, 'O', 9915, 829, 'y', 2567, 8737, 'P', 1805, 'u', 'b', 3579, 6313, 455, 'E', 1193, 2669, 6121, 7167, 'P', '5641', '8319', '5809', 'F', '7875', '8699', 'p', '1431', 'K', 'R', '53', '4049', 'b', 'b', '5823', 'E', '1073', '8199', '6801', '8501', '1971', '6131', '4225', '847', 'G', 1015, 'c', 6677, 8939, 2951, 'L', 'd', 5797, 2413, 7741, 3025, 5391]

Ex Output:
5641, 8319, 5809, F, 7875, 8699, p, 1431, K, R, 53, 4049, b, b, 5823, E, 1073, 8199, 6801, 8501, 1971, 6131, 4225, 847


Ex Input:
['C', 'l', 935, 'A', 5273, '369', 'n', '8519', 'b', '3407', '2329', '6913', 'Q', '2289', 'd', 'm', '2567', '2879', '8187', 'P', '141', '8765', '5747', 'G', '4909', 'b', 'l', 't', 'U', 1353, 'g', 6479, 1623, 'j', 1661, 3737, 457, 'P', 'I', 5615, 'S', 7881, 'X', 'L', 2289, 'Y', 6351, 'p', 6285], [3733, 9815, 'X', 5277, 8451, 'J', 2817, 'Z', 'j', 3117, 9691, 'u', 'V', 8561, 3425, 'W', 'y', 3281, 8289, 2805, '369', 'n', '8519', 'b', '3407', '2329', '6913', 'Q', '2289', 'd', 'm', '2567', '2879', '8187', 'P', '141', '8765', '5747', 'G', '4909', 'b', 'l', 'N', 'D', 'K', 9147, 'E', 'S', 'O', 5065, 9563]

Ex Output:

369, n, 8519, b, 3407, 2329, 6913, Q, 2289, d, m, 2567, 2879, 8187, P, 141, 8765, 5747, G, 4909, b, l