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

Input: Consider Input: [4521, 9297, 1549, 'j', 6533, 5069, 2291, 3507, 6815, 1619, 5771, 'k', '1705', '9637', 'd', 'g', '3717', 'Q', 'V', '8195', 'S', 'E', 'a', 'y', 'r', 'k', 'o', 'L', 3267, 'L', 2907, 'l', 4505, 'm', 3519, 'g'], ['T', 'r', '1705', '9637', 'd', 'g', '3717', 'Q', 'V', '8195', 'S', 'E', 'a', 'y', 'A', 873, 's', 1819, 4947, 'E', 'k', 'I', 'M']

Output: 1705, 9637, d, g, 3717, Q, V, 8195, S, E, a, y


Input: Consider Input: ['s', 5215, 'X', 4785, 6947, 5893, 7053, 't', 5871, 'k', 1691, 'Z', 2873, 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 't', 'X', 'A', 'W', 5429, 8573, 'F', 'G', 'm', 's', 167, 9123, 6207, 9613, 2093, 'V', 3531], [5343, 'Y', 'l', 'V', 8421, 3519, 5427, 'E', 'S', 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 'z', 'R', 'l', 1275, 5871, 9461, 2255, 'K', 6005, 3441, 4125, 2315, 'R', 7447, 4823, 785]

Output: J, 887, 247, t, 7731, 8425, 3371, o, 5243, 8871, 2477, E, w, D, r, 8971, J, 549


Input: Consider Input: [2413, 't', 'Z', 'h', '2973', 'B', '1147', '3911', 'z', 'b', 'x', '1511', '331', 'b', '5639', '945', '1193', 'y', '3453', 'n', 'O', 5671, 689, 'Z', 'z', 'q', 'K', 'O', 1219, 453, 'Z'], [9101, 'i', 'b', 'h', '2973', 'B', '1147', '3911', 'z', 'b', 'x', '1511', '331', 'b', '5639', '945', '1193', 'y', '3453', 'n', 'S', 7077, 9189, 7913, 3933, 't', 'H', 8623, 'o', 'q', 'p', 'H']


Output: h, 2973, B, 1147, 3911, z, b, x, 1511, 331, b, 5639, 945, 1193, y, 3453, n