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

Ex Input:
[1379, 'n', 1525, 'Y', 'A', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'd', 8015, 10007, 'R', 'K', 'n', 'o', 'U', 3049], ['k', 379, 'M', 'M', 'a', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'q', 'v', 7549]

Ex Output:
9043, 2335, 5029, f, b, 7547, 4275, R, H


Ex Input:
['e', 'h', 's', 'a', 'H', 'T', 2055, 'K', 's', 4269, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'i', 'N', 9599, 8065, 'V', 'H', 7675, 4263, 'Z', 7307], ['V', 'z', 'C', 'S', 'F', 'a', 's', 6773, 'C', 'e', 9893, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'O', 'Q', 709, 'G', 167, 3287, 'w', 6213, 'g']

Ex Output:
8015, T, 1633, K, T, Z, s, x, 7515, 9771, 7667, K, 3065


Ex Input:
[9777, 5839, 2213, 665, '1019', 'U', '5889', 'J', 'i', '7049', 'k', 'U', 'l', '629', '4689', '4357', '3191', 'm', '41', 'u', '865', '6485', '5607', 'F', 'H', 1065, 8263, 2847, 115, 533, 'D', 'N', 'N', 1755, 'm', 's', 'T', 2249], [5235, 'X', 'l', 2947, 'n', 7553, 811, 5229, 7677, 5429, 'W', 's', '1019', 'U', '5889', 'J', 'i', '7049', 'k', 'U', 'l', '629', '4689', '4357', '3191', 'm', '41', 'u', '865', '6485', '5607', 'y', 7943, 1091, 'N', 'w', 8341, 8163, 'u', 'T', 9811, 2127, 't', 'F', 'i', 'v', 'e', 867, 4409, 1661]

Ex Output:

1019, U, 5889, J, i, 7049, k, U, l, 629, 4689, 4357, 3191, m, 41, u, 865, 6485, 5607