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

Example Input: ['w', 5919, 'P', 6117, 7697, 'Y', 4467, '3097', '2793', 'x', 'P', 'c', 'o', '8777', 'D', '1983', '2397', 'X', 't', 'k', '8109', '2549', 'b', '7173', '3843', 'k', 'u', 'P', 1347, 'y', 'r', 'o', 5611, 'L', 999, 4781], [9955, 'n', 8107, 7059, 'V', 'E', 2417, 1811, 3625, 623, 'T', 'R', 'p', 'l', 'W', 8103, 3691, 'N', '3097', '2793', 'x', 'P', 'c', 'o', '8777', 'D', '1983', '2397', 'X', 't', 'k', '8109', '2549', 'b', '7173', '3843', 'k', 'k', 'p', 'L', 1311, 591, 'J', 5611, 'Q', 'p', 'I', 5921, 237, 'y', 1981, 3861, 'B', 'n', 'r', 'H']
Example Output: 3097, 2793, x, P, c, o, 8777, D, 1983, 2397, X, t, k, 8109, 2549, b, 7173, 3843, k

Example 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']
Example Output: 7821, 9179, 8181, K, 4993, 4813, x, A, O, 2477, b, H, I

Example Input: [4183, 'U', 7363, 'G', 'p', 'm', 5967, 7979, 'o', 6465, 1603, 'a', 'U', 539, 'V', 867, 'z', '9291', '3659', 'X', '9869', 'S', '7001', '347', 'F', '1433', 'c', 'J', '6113', 'H', 'd', 'J', '8705', 'P', 1783], [4781, 4033, 'M', 'W', 4561, 'Z', 'z', '9291', '3659', 'X', '9869', 'S', '7001', '347', 'F', '1433', 'c', 'J', '6113', 'H', 'd', 'J', '8705', 's', 4093, 201, 'i', 'Y', 'S', 2227, 'C', 5375, 1627]
Example Output:
z, 9291, 3659, X, 9869, S, 7001, 347, F, 1433, c, J, 6113, H, d, J, 8705