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

Ex Input:
['i', 6139, 'B', 'z', 'A', 7029, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'F', 1251], ['d', 9233, 543, 5455, 8707, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'r', 4751]

Ex Output:
r, l, N, J, 7029, l, m


Ex Input:
['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]

Ex Output:
z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w


Ex Input:
['S', 'H', 'Z', 'Y', 151, 4195, 'l', 4467, 'i', 'V', 3435, 'A', 5371, 7137, 'k', 'Y', 'Z', 'h', 'Y', '4105', 'W', '8767', '889', '3861', '8559', '8161', 'V', '2631', 'M', '6341', '5479', 'Z', 'V', 'K', 'H', 'n', '6197', '1273', '5489', 'p', '4323', 'F', 'P', 'W', 'q'], ['x', 5875, 3883, 7671, 'R', 'Z', 5801, 'c', 5297, 6647, 'h', 825, 'j', 3947, 3047, 1359, 5765, 'A', 'f', 'e', '4105', 'W', '8767', '889', '3861', '8559', '8161', 'V', '2631', 'M', '6341', '5479', 'Z', 'V', 'K', 'H', 'n', '6197', '1273', '5489', 'p', '4323', 'F', 'q', 3351, 6097, 'S', 'l', 'h', 'N', 'N', 'n', 4083, 'y', 'g', 'B', 1017, 9095, 3447, 2439, 9659, 309, 5961, 'h']

Ex Output:

4105, W, 8767, 889, 3861, 8559, 8161, V, 2631, M, 6341, 5479, Z, V, K, H, n, 6197, 1273, 5489, p, 4323, F