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

Ex Input:
['p', 4329, 'S', 'D', 9241, 759, 2991, 'F', 3189, 7335, 9261, 'B', 6559, 9299, 7551, 'w', '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'q', 4811, 'a', 7535, 'y', 2697, 9437, 'P', 'V', 9525, 3879, 5751, 1229, 'i', 7163, 'v', 8903, 'F', 6205, 6447, 9677, 5529, 2883, 'G'], [4501, 'L', 'j', 'Y', 2979, 8761, 3813, 7945, 'r', 'X', 327, 'f', 'S', 'c', 6981, '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'g', 5615, 'n', 'e', 2989, 'T', 'P', 'z', 'R', 'E']

Ex Output:
1413, 7507, P, d, 8315, e, b, s, 7811, Q, S, B, 7459, m, X, 5533, f, F, 9347, Q, w, o, 6161, C


Ex Input:
['g', 305, '8447', 'K', 'y', 'D'], [2445, 5519, '8447', 'K', 't', 'l']

Ex Output:
8447, K


Ex Input:
[5113, 'A', 'Y', 'O', 247, 'X', 'G', 'd', '3439', '7181', 't', '7881', 'D', 'P', 'c', 'Z', 3605, 'K', 8579, 2489], ['k', 2727, 7425, 1947, 'W', 'G', 'd', '3439', '7181', 't', '7881', 'D', 'y', 'y', 'E', 417, 6553, 'r']

Ex Output:

G, d, 3439, 7181, t, 7881, D