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

Input: Consider Input: [621, 7677, 'b', '889', '6721', 'H', 'd', 'S'], [8151, 'F', 'b', '889', '6721', 'h', 4123]

Output: b, 889, 6721


Input: Consider Input: [9889, 'I', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'm', 2573, 839, 'a', 'S', 9999, 'H', 135, 1089], ['Y', 'a', 9301, 'l', 'v', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'Q', 9865, 7343, 741, 863, 'I', 'M', 'u']

Output: f, y, 3773, 4483, Y, 2325, M, 247, 8091, H, 3787, 3845, i, L, t, 6949, 6019, 5929


Input: Consider Input: ['o', 'S', '3509', 'W', '6849', '691', 'D', '293', '6519', 'K', 'V', '3397', 'p', '7183', 'V', 'Z', 9139, 4381, 'z', 'F', 'p', 'y', 7601, 'V', 'b'], [8193, 'i', 6573, 'N', 4391, 'Z', 1599, '3509', 'W', '6849', '691', 'D', '293', '6519', 'K', 'V', '3397', 'p', '7183', 'V', 'x', 1503, 3733, 'd', 2835, 'B', 617, 'S', 8543]


Output: 3509, W, 6849, 691, D, 293, 6519, K, V, 3397, p, 7183, V