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

Ex Input:
['c', 'h', 9399, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'i', 'W', 'T', 9917, 'F', 'g', 8159], [4949, 'I', 'r', 4087, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'z', 9843]

Ex Output:
U, e, 1183, 9537, K, e, p


Ex Input:
[2413, 'l', 'o', 9687, 3939, 6935, '7821', '9179', '8181', 'K', '4993', '4813', 'x', 'A', 'O', '2477', 'b', 'H', 'I', 'z', 'I'], [4625, 6943, 'e', 'B', 'p', 'r', 'y', '7821', '9179', '8181', 'K', '4993', '4813', 'x', 'A', 'O', '2477', 'b', 'H', 'I', 'G', 'L', 8247, 'N', 8965, 8763, 'N', 'p', 7181, 'A', 'J', 'W']

Ex Output:
7821, 9179, 8181, K, 4993, 4813, x, A, O, 2477, b, H, I


Ex Input:
['w', 1709, 'q', 7369, '7887', 'c', '8189', 'B', '9035', '6995', 'l', '8907', '5631', '4251', 'R', 'c', 'h', 6407, 7549, 'f'], [9003, 4355, 9765, 'N', 'u', 8255, 'r', '7887', 'c', '8189', 'B', '9035', '6995', 'l', '8907', '5631', '4251', 'd', 4807, 8037]

Ex Output:

7887, c, 8189, B, 9035, 6995, l, 8907, 5631, 4251