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

Input: Consider Input: ['n', 'E', '2891', '7537', 'Q', 'J'], [2247, 10017, '2891', '7537', 'e', 1001]

Output: 2891, 7537


Input: Consider Input: [7491, 'w', 'F', 2929, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'X', 'n', 821, 1983, 'S', 6305, 'O', 6533, 'q', 901, 'U', 2911], [3143, 1605, 4373, 'T', 7055, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'r', 'Z', 943, 861, 8883, 'b', 'n', 3409, 8943, 'M']

Output: 6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093


Input: Consider Input: ['Z', 3805, 'O', 'Q', 'g', 'x', 'A', 1751, 'n', 'G', 'a', 3635, 'F', 5275, 1007, 'P', 5097, 7497, 'b', '667', '643', '9455', 'W', 'H', 'M', '5329', 'r', '15', 'G', '4553', '5335', 'P', 'd', 'I', '13', '3743', 'b', 'p', '9757', 'v', 'd', '7733', 'R', '4193', 'F', '8895', 'u', 'z', 'O', 7513, 6799, 'i', 'N', 4049, 'b', 'E', 3913, 'D', 'M', 221, 7741, 'O', 'd', 'K', 'B', 9489, 'T', 'c', 661, 'g'], ['r', 6499, 4087, 4689, 3709, 'q', 3603, 9161, 'v', 'K', 2347, 'l', 8705, 'E', 'q', 'z', 'T', 4135, 5673, 'E', 'K', 17, 1685, 'n', 2895, 2283, 'b', '667', '643', '9455', 'W', 'H', 'M', '5329', 'r', '15', 'G', '4553', '5335', 'P', 'd', 'I', '13', '3743', 'b', 'p', '9757', 'v', 'd', '7733', 'R', '4193', 'F', '8895', 'u', 'K', 'n', 611, 447, 'J', 'u', 'h', 2845, 1415, 9099, 6267, 829, 2625, 'Z', 'K', 'L', 8185]


Output: b, 667, 643, 9455, W, H, M, 5329, r, 15, G, 4553, 5335, P, d, I, 13, 3743, b, p, 9757, v, d, 7733, R, 4193, F, 8895, u