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

Ex Input:
['M', 7643, 'K', 8165, 'e', '6737', '6573', '9181', 'n', 'l', '6555', '7291', '1765', 'Q', '4605', '7507', '6775', 'x', 'n', '8703', 'y', '2301', 'E', 'L', 5655, 5237, 'G', 'H', 'g', 'K', 9089], ['t', 1921, 'e', '6737', '6573', '9181', 'n', 'l', '6555', '7291', '1765', 'Q', '4605', '7507', '6775', 'x', 'n', '8703', 'y', '2301', 'E', 'H', 2771, 7085]

Ex Output:
e, 6737, 6573, 9181, n, l, 6555, 7291, 1765, Q, 4605, 7507, 6775, x, n, 8703, y, 2301, E


Ex Input:
['S', 4895, 'h', 6721, 'W', 8371, 9167, 3811, 3237, 'U', 'x', 'R', 783, 6037, 9769, 6371, 8745, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'c', 'S', 'q', 4381, 7327, 'h', 'A', 'P', 't', 1021, 6667, 'X'], ['v', 'G', 8727, 7711, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'K', 2875, 467, 'x', 'S', 5845, 8137, 33, 'X', 3427, 'C', 9271, 'J']

Ex Output:
7375, 7449, 3345, 8881, 2015, o, 3175, 3809, 2331, 2327, 3549, p, u, 263, 6767, 4499, 4279


Ex Input:
['e', 8533, 4131, 3107, 'Y', 'V', 'g', '1727', '3167', 'Z', '1547', 'h', 'e', 'K', '4885', '8497', 'g', 'C', '547', '9947', 'f', '3699', '8019', '3419', 'v', 'n', 'i', '3599', 'X', 'm', '2819', '3053', 'y', '9111', 's', 'D', 2653, 's', 'y', 4563, 'T', 6489, 9751, 'Z', 753, 1119, 1377, 5551, 'a', 2131, 4681], [4989, 'Y', 'K', 'S', 9993, 'Y', 'V', 'g', '1727', '3167', 'Z', '1547', 'h', 'e', 'K', '4885', '8497', 'g', 'C', '547', '9947', 'f', '3699', '8019', '3419', 'v', 'n', 'i', '3599', 'X', 'm', '2819', '3053', 'y', '9111', 'm', 9717, 5185, 'f', 'D', 'r', 'o', 5101, 'h', 7041, 'P', 'Z', 7353, 4421, 'J', 6443]

Ex Output:

Y, V, g, 1727, 3167, Z, 1547, h, e, K, 4885, 8497, g, C, 547, 9947, f, 3699, 8019, 3419, v, n, i, 3599, X, m, 2819, 3053, y, 9111