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

Example Input: ['L', 6265, 'o', 'B', 9743, 9139, 't', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'J', 8701, 'U', 'q', 'r', 8487, 'G', 'N', 'z', 3439, 'I', 'a', 639], ['X', 7305, 'k', 4911, 1119, 'S', 'F', 8665, 3167, 1117, 6267, 4025, 'S', 'h', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'H', 7485, 5635]
Example Output: 4107, 821, 9019, 5149, 7817, i, 787, G, b, g, g, j, 197, n, W, Z, 7081, 4487, 1439, 1117, K, O, 2241

Example Input: [5451, 't', 'Q', 5199, 'A', 'P', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'u', 'l', 'o', 9943, 'b', 'm'], [1925, 'Q', 'D', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'H', 3347]
Example Output: 5961, 133, Q, V, 7547, 899, 6027, 439

Example Input: [5809, 7197, 8693, 'x', 347, 'S', 7413, 497, 'e', 'z', 4857, 'P', 'D', '3729', '5169', '1191', '3979', 'k', '8543', '7821', '3681', '8145', '6603', 'n', 'e', 'G', 'L', 'I', '9471', 'a', '2271', 'I', 2047], ['M', 'P', 4455, 3289, 1227, 9237, 'f', 7689, 3199, 1491, 's', 8985, 'h', 'e', 'e', 3591, 'D', '3729', '5169', '1191', '3979', 'k', '8543', '7821', '3681', '8145', '6603', 'n', 'e', 'G', 'L', 'I', '9471', 'a', '2271', 'J', 5707, 'E', 9939]
Example Output:
D, 3729, 5169, 1191, 3979, k, 8543, 7821, 3681, 8145, 6603, n, e, G, L, I, 9471, a, 2271