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

Input: Consider Input: ['H', 9227, 9923, 7577, 8169, 'k', 'B', 'L', 6329, '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'Y', 'M', 7749, 'm', 4159, 'C', 3319, 9363, 2283, 'm', 4571, 'e'], ['u', 'Z', 'r', 1503, 'G', 9799, 'z', 'F', 'b', 'N', '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'J', 7431, 3855, 4535, 6657, 8809, 7885, 'U', 1753, 3423]

Output: 4183, 5427, 255, Y, C, g, I, J, 6847, D, 2735, X


Input: Consider Input: [9605, 301, 3815, '3555', '8399', '2421', '6579', 'I', 'g', 's', 'a', 'T', 'w', 7419, 1721, 3853, 5703], ['J', 1425, 3627, 3619, '3555', '8399', '2421', '6579', 'I', 'g', 's', 'Y', 'R', 4039, 'y']

Output: 3555, 8399, 2421, 6579, I, g, s


Input: Consider Input: [7095, 'B', 4251, 'N', 'V', 'A', 'G', 'g', 'l', '9487', 'a', '1593', 'P', '613', '6915', '4571', '2669', '2497', 't', 'o', '1603', '5783', 'z', '1337', 'i', 'l'], [6143, 9263, 4597, 5523, 323, 'u', 427, 993, 'V', 6285, 'N', 'N', 'Y', 2299, 'V', 'd', 853, 5783, 'V', 'A', 'G', 'g', 'l', '9487', 'a', '1593', 'P', '613', '6915', '4571', '2669', '2497', 't', 'o', '1603', '5783', 'z', '1337', 'G', 'b', 6931, 1455, 8647, 'u', 6513, 'Z', 'H', 6193, 'k', 9559, 'I']


Output: V, A, G, g, l, 9487, a, 1593, P, 613, 6915, 4571, 2669, 2497, t, o, 1603, 5783, z, 1337