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

Example Input: ['Q', 'I', 't', 'b', 9175, 2827, 'P', 'v', 8293, 'c', 1863, 'J', 's', '6749', '5147', 'e', 'O', '8605', '613', '7647', '5691', 'v', '2303', '7061', '1091', '8563', 'T', '511', 'U', '8991', '231', 'f', '8793', '2147', '6075', 'p', 'i', 9597, 4909, 'J'], ['S', 'a', 9123, 'I', 'F', 'z', 3481, 4235, 'X', 'I', 6447, 6365, 'T', '6749', '5147', 'e', 'O', '8605', '613', '7647', '5691', 'v', '2303', '7061', '1091', '8563', 'T', '511', 'U', '8991', '231', 'f', '8793', '2147', '6075', 'p', 'Q', 'R', 'W', 'm', 719, 'A', 'h', 3093, 'O', 8221, 9879, 'W', 6953, 8729, 2853, 3651, 'X', 2079, 4499, 'Q', 7143]
Example Output: 6749, 5147, e, O, 8605, 613, 7647, 5691, v, 2303, 7061, 1091, 8563, T, 511, U, 8991, 231, f, 8793, 2147, 6075, p

Example Input: [7155, 'R', 5819, 'a', 'C', 4603, 1003, 'W', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'c', 2763, 'W', 'n', 7521, 4855, 9907, 'o', 'C', 1185, 'g'], [9921, 55, 5361, 'k', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'h', 8665, 'O', 633]
Example Output: N, Z, q, A, w, r, N, 6611, r, 8975, b, T

Example Input: [5589, 2969, 10023, 9999, 3785, 4597, 3063, 'K', '9943', '1449', '9263', '4781', 'A', 'e', '9303', '5225', 'z', '4155', '2189', 'x', '439', '7979', 'k', '7651', 's', 'h', 'Z', 'c', '7179', 'L', '9317', 'G', '5167', 'F', 2573], ['e', 's', 9037, 8155, 'i', 'N', 3907, 'o', 2011, 2377, 'U', 'I', 9267, 9139, 'e', 'K', '9943', '1449', '9263', '4781', 'A', 'e', '9303', '5225', 'z', '4155', '2189', 'x', '439', '7979', 'k', '7651', 's', 'h', 'Z', 'c', '7179', 'L', '9317', 'G', '5167', 'N', 2455, 'A', 35, 225, 381, 10001, 3971, 'E', 'Z', 'y', 'N', 7221]
Example Output:
K, 9943, 1449, 9263, 4781, A, e, 9303, 5225, z, 4155, 2189, x, 439, 7979, k, 7651, s, h, Z, c, 7179, L, 9317, G, 5167