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

Ex Input:
[37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]

Ex Output:
4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u


Ex Input:
['P', 'E', 'w', 4729, 8995, 'z', 3939, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'v', 1077, 153, 8063, 'h', 'k'], ['A', 2845, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'h', 9115, 'v', 275, 'C', 7405, 4211, 'X', 'O', 'e', 'n', 2507, 875, 'o', 6189, 'g', 'k', 3781, 1027, 807, 'g', 7213]

Ex Output:
9711, 4699, c, 351, 7279, A, 719, j, 9659, 8455, 6859, E, 903, 1827, M, 3035, N, 2573, 4995, U, 8289, k, b, U, 1961


Ex Input:
['o', 'M', 4211, 'E', 'f', 'W', 2653, 9799, 'p', '5635', '9707', 'E', 'L', '4973', 'D', 'V', '4691', '6359', 'Y', '3359', 'M', 'N', '9531', '3449', 'j', 'x', 'J', 'l', 2311], ['T', 3811, 235, 'r', 'f', 1083, 'Y', 'p', '5635', '9707', 'E', 'L', '4973', 'D', 'V', '4691', '6359', 'Y', '3359', 'M', 'N', '9531', '3449', 'u', 323, 'A', 'Q', 'b', 8657, 957, 927, 273, 829, 8025, 8343]

Ex Output:

p, 5635, 9707, E, L, 4973, D, V, 4691, 6359, Y, 3359, M, N, 9531, 3449