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

Example Input: ['P', 6481, 'O', 6003, 1505, 'G', 3907, 'c', 5741, 3, '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'Z', 'P', 'i', 9259, 'T'], [3141, 4731, 4787, 6417, 8539, 3015, 3437, 6005, 'w', '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'k', 6421, 645, 6161, 'm']
Example Output: 4963, 1225, 4331, 1287, v, 8479, y, 673, M, V, 8307, C, 7931, z

Example Input: [3099, 6093, 4271, 6819, 5389, 'u', 'X', 'e', 7511, 'W', 1089, 7755, 2839, 4489, 9439, 'e', '9795', '8439', 'k', '4309', '4815', '7907', '1999', '8777', 'K', 'z', '6819', '199', '311', 'P', 'c', '7135', 'n', '7681', 'X', 'y', 'e', '6085', 'Z', 'N', 6013, 9677, 759, 8765, 'r', 6787, 'G', 4705, 7571, 'Q', 'k', 4121, 'C', 'H', 'H', 4407, 'b', 'O', 'e'], [4829, 7255, 7697, 'C', 'y', 4555, 'X', 6141, 'b', 'X', 7179, 'W', 1425, 17, 8659, 'H', 'm', 355, 'b', 'u', 'Q', 'C', 'e', '9795', '8439', 'k', '4309', '4815', '7907', '1999', '8777', 'K', 'z', '6819', '199', '311', 'P', 'c', '7135', 'n', '7681', 'X', 'y', 'e', '6085', 'Z', 'J', 9911, 4879, 3849, 'J', 7507, 'n']
Example Output: e, 9795, 8439, k, 4309, 4815, 7907, 1999, 8777, K, z, 6819, 199, 311, P, c, 7135, n, 7681, X, y, e, 6085, Z

Example Input: [733, 'O', 'f', 'Q', 'u', 'p', 9995, 5801, 'u', 'T', 'h', 'U', '4497', 'U', 'h', 'g', '5169', '5941', 'X', '9657', '5023', '2939', '2277', '7781', 'u', '3153', 'Y', 'Y', 'f', 'd', 'a'], ['t', 'k', 513, 5293, 7283, 'Y', 639, '4497', 'U', 'h', 'g', '5169', '5941', 'X', '9657', '5023', '2939', '2277', '7781', 'u', '3153', 'Y', 'e', 3597, 3465, 3163, 'p', 195, 'L', 965, 2629, 4885, 'z', 'v', 6137, 6835, 8451]
Example Output:
4497, U, h, g, 5169, 5941, X, 9657, 5023, 2939, 2277, 7781, u, 3153, Y