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: [987, 885, 2111, 'P', 'e', 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'a', 6295, 1061, 1619, 3509, 8583, 'f', 1157, 5365, 'l', 'x', 'B', 'U', 141, 5753, 'F', 7595, 'H'], [8245, 137, 5887, 1267, 5851, 'n', 7393, 'f', 9739, 9983, 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'F', 'k', 3463, 'U', 3587, 't', 'j', 'q', 'M', 1213, 9955, 'h', 9779, 'l', 8839, 'G', 8477, 9341, 6071, 'm']

Output: h, h, C, P, V, 4563, E, J, M, n, C, Q, P, k, S, M, 8993, 8675, 6707, Q, r, 4351, Q, q


Input: Consider Input: ['o', 2401, 7925, 'q', 3201, 'I', 7817, 'i', 'B', 'z', 'E', '9413', 'O', 'Y', 'Z', 'v', '5363', 'i', 'M', '7763', 'f', 'q'], [9859, 'B', 6191, 'T', 'P', 'y', 'F', 'E', 6507, 'E', '9413', 'O', 'Y', 'Z', 'v', '5363', 'i', 'M', '7763', 'C', 'F', 5811, 9841, 'P', 1709, 'P', 'S', 'X', 'I']


Output: E, 9413, O, Y, Z, v, 5363, i, M, 7763