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

Example Input: [273, 'i', 4051, 9063, 'D', 'E', 5087, 'M', '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'h', 'u', 5559, 1733, 9555], ['i', 5977, 'r', 'b', 589, '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'n', 'y', 'q']
Example Output: 9959, 6273, p, L, B, H, 7889, 9933, p, 519, 339

Example Input: ['L', 'V', 5597, 1661, 'x', 'M', 3901, 'Y', 7525, 'r', 'P', 3031, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'y', 9635, 9141, 't', 7363, 1359, 'H', 5619], [6813, 7119, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'w', 2701, 'f', 9769, 6265, 6111, 'n', 5757, 915, 1583, 'N']
Example Output: b, y, 951, E, Q, n, 5797, 6551, 7545, 523, 6555, 3247, 1875, 5, 2955

Example Input: [7395, 'b', 'k', 4085, 2295, 'W', 'e', 'd', '1583', '9993', 'x', '2291', '1847', 'R', 'a', 'n', 'r', 'G', '7947', '6081', 'H', 'K', 't', '6537', 'q', 'V', '3423', '9531', '4907', '123', '4757', 'J', 'S', 'Q', 'D', 'f', 4941, 6655, 8343, 2509, 6487, 'b', 'E', 'f', 'n', 'v', 'j', 7091, 9231, 9129, 7785, 9709, 2645, 3179, 'U', 631, 7891], [7807, 8461, 'n', 'C', 9827, 1359, 'O', 3781, 'k', 'n', 'F', 'l', 'x', 'O', 4867, 'd', '1583', '9993', 'x', '2291', '1847', 'R', 'a', 'n', 'r', 'G', '7947', '6081', 'H', 'K', 't', '6537', 'q', 'V', '3423', '9531', '4907', '123', '4757', 'J', 'S', 'Q', 'D', 'H', 'B', 'f', 'X', 2529, 2153, 'u', 'z', 747, 5899, 1307, 'l', 'Q', 'x', 3787, 'b', 1187, 'h', 9519, 3483, 'q']
Example Output:
d, 1583, 9993, x, 2291, 1847, R, a, n, r, G, 7947, 6081, H, K, t, 6537, q, V, 3423, 9531, 4907, 123, 4757, J, S, Q, D