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

Input: Consider 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']

Output: 9959, 6273, p, L, B, H, 7889, 9933, p, 519, 339


Input: Consider Input: [2687, 7971, 2141, 'X', 'z', 1281, 'K', 6109, 7773, 'P', 5247, 'j', 'K', 5225, 'c', 4401, 'Z', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'B', 'k', 4913, 5483, 1465, 'F', 9669, 'i', 'L', 'q', 'n'], ['k', 'g', 'e', 'I', 'v', 97, 'N', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'H', 7153, 7967, 'u', 7859, 1387, 7361]

Output: j, Y, 4799, h, 5519, n, 3231, l, 3003, F, 5599, J, q, r, 889, e, 9805, X


Input: Consider Input: [7957, 2721, 'P', 'm', 5049, 8827, 'W', 'M', 'r', '2759', '6035', 'f', '6783', '5285', '753', 'd', '9047', 't', 's', 'R', 'p', '4499', '8015', 'd', 'e', 'X', 3393, 8985, 4315, 3095, 's', 'k', 'q', 'i', 5373], [7387, 8371, 1117, 'M', 'r', '2759', '6035', 'f', '6783', '5285', '753', 'd', '9047', 't', 's', 'R', 'p', '4499', '8015', 'I', 7065, 'x', 3945, 'Y', 'n', 5743, 321, 'F']


Output: M, r, 2759, 6035, f, 6783, 5285, 753, d, 9047, t, s, R, p, 4499, 8015