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

Input: Consider Input: ['P', 6481, 'O', 6003, 1505, 'G', 3907, 'c', 5741, 3, '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'Z', 'P', 'i', 9259, 'T'], [3141, 4731, 4787, 6417, 8539, 3015, 3437, 6005, 'w', '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'k', 6421, 645, 6161, 'm']

Output: 4963, 1225, 4331, 1287, v, 8479, y, 673, M, V, 8307, C, 7931, z


Input: Consider Input: ['t', 'f', 3791, 2099, '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'b', 'f', 'i', 2371, 'W', 'c', 'c', 'l', 5505, 'L', 'w', 'a'], ['s', 5505, 'h', 4601, 4713, 6191, 't', 9213, 'D', 1777, 'E', '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'v', 5275, 'C', 'Y', 3371, 7105, 411, 'f', 8409]

Output: 3895, 5725, 7743, 9219, c, 6319, 3099, 3601, a, 2943, 2543, 51, r, w, 2379, 5423, 5807, l


Input: Consider Input: ['L', 'O', 'B', 'k', 'g', 'H', '2345', '2303', 'x', '4773', '6875', '2433', '3805', '1767', 'j', '2825', 'J', 'R', 'J', 5551, 413], ['l', 'S', 'p', 'H', 'H', '2345', '2303', 'x', '4773', '6875', '2433', '3805', '1767', 'j', '2825', 'R', 5453, 9757, 'I', 6073, 4763, 'E', 'l', 1423, 'k', 'N']


Output: H, 2345, 2303, x, 4773, 6875, 2433, 3805, 1767, j, 2825