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

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:
['x', 495, 'L', 'O', 2935, 'y', 163, 3507, 6515, '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'w', 1985, 'F', 'V', 5375, 6359, 7963, 4103, 2625, 'p', 'N', 7945, 'L', 6909], [251, 'J', 'k', 4075, 'd', 'x', 'j', 'K', 'u', 605, 1667, 8527, 6845, 2537, 'O', 9259, 'o', 'B', '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'j', 'S', 'H', 1289]

Ex Output:
5249, 9751, 8269, 923, 10005, 9739, u, X, y, 4535, I, V, f, 8511, 8955, s, 2255, 1, 7831, t


Ex Input:
['z', 3331, 6625, 5543, 897, 'I', 3061, 'u', 'D', 3009, 1127, 'a', 'Q', 'L', 'r', 'I', 'H', 2371, 'w', 'Q', 'r', 'C', 'O', 'b', '3145', 'M', 'X', 'U', '5105', '7735', '6879', '1633', '8273', '4413', 'G', '7055', '3925', '2015', 'r', '4711', 'B', 'C', 'c', 'F', 'I', 9455, 'N', 'H', 6931, 1809, 'H', 'J'], [1761, 'Y', 'H', 'w', 'o', 7459, 'r', 'w', 'Q', 'r', 'C', 'O', 'b', '3145', 'M', 'X', 'U', '5105', '7735', '6879', '1633', '8273', '4413', 'G', '7055', '3925', '2015', 'r', '4711', 'B', 'x', 'u', 'F', 'Q', 1221, 2827, 1233, 7819, 'Z', 8923, 'P', 'H', 'z', 'T', 'm', 'v', 'n']

Ex Output:

w, Q, r, C, O, b, 3145, M, X, U, 5105, 7735, 6879, 1633, 8273, 4413, G, 7055, 3925, 2015, r, 4711, B