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

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: ['f', 8855, 'N', 8821, 10001, 6833, 'R', 'I', 1167, 87, 'Y', 'H', 673, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'c', 'd', 'U', 143, 'k', 9757, 943, 'C', 'q', 'u', 'n', 1545, 941], ['T', 7625, 'Y', 'j', 'O', 3075, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'v', 'D', 'g', 'o', 'O', 2255, 'a', 5303, 569, 5721, 'S', 5411, 'E']

Output: 4021, S, 3407, z, 895, j, 9897, U, 3747, S, p, v, y


Input: Consider Input: ['a', 845, 'W', '9593', 'G', '7365', 'z', 'U'], ['X', 'k', '9593', 'G', '7365', 'V', 'A']


Output: 9593, G, 7365