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

Input: Consider Input: ['M', 6637, 'd', 'D', 8611, 'U', 'm', 'y', 8085, 'M', 'W', 4845, 'l', 2477, 'f', 'B', 's', 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'c', 'b', 9083, 9449, 7629, 5633, 3843, 'R', 9421, 2693, 'M', 'b', 3739, 'l', 333], [6017, 'W', 2775, 'W', 4759, 'W', 'q', 'k', 'f', 4299, 5523, 'E', 5391, 'd', 2611, 'l', 5849, 9603, 3831, 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'o', 4621, 'N', 'c', 'R', 'V', 'p', 'm', 7625, 9815, 'b', 8449]

Output: D, 7597, S, 2907, o, 1905, p, S, C, S, 6403, D, V, 5265, L, D, 6031, 2585, 7087, 3941, 573


Input: Consider Input: [9537, 9603, 'U', '4157', 'M', 'k', 'w', 9373], [3355, 4417, 'U', '4157', 'M', 'C', 'k']

Output: U, 4157, M


Input: Consider Input: ['h', 2859, 4143, 4589, 'T', 7061, 1195, 'V', 'Q', '3389', 's', 'g', '87', 'z', 'd', '8879', 'P', 'y', 'r', 'P', '6861', '3461', 'C', '8689', '5587', 's', 7163, 'e', 'l', 9327, 'x', 'g', 8393, 4979, 'r', 'y', 'H', 8923], ['x', 'O', 'N', 'e', 'O', 'd', 'P', 1573, 1337, 'w', 'S', 'O', 'C', 'K', '3389', 's', 'g', '87', 'z', 'd', '8879', 'P', 'y', 'r', 'P', '6861', '3461', 'C', '8689', '5587', 'B', 8277, 'u', 'V', 'y', 1993, 755, 'S', 'd']


Output: 3389, s, g, 87, z, d, 8879, P, y, r, P, 6861, 3461, C, 8689, 5587