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', 'D', 'w', 3835, 'T', 'B', 677, 'V', 'K', 'C', 2925, 'K', 'm', 1053, 'f', 4037, 7659, '65', '9985', '867', 'F', '8953', 't', 'Q', '4985', 'G', '4695', '1083', '6045', '1075', '5633', '8053', '1711', 'W', 'n', 'N', 'x', 'P', 'g', 'Y', 'j', '6411', 'x', 'n', '8627', 'y', 'g', 9107, 'A', 'T', 'W', 'A', 'j', 'f', 'v', 9021, 'j', 't', 'B', 8145, 'H', 3749], [949, 5165, 1491, 2995, 6041, 'd', 8225, 3907, 483, 7773, 'E', 105, 4839, 4595, 'y', 10009, 'M', 2851, 9681, 5135, 9105, 4887, 9939, 'N', 'k', 'h', '65', '9985', '867', 'F', '8953', 't', 'Q', '4985', 'G', '4695', '1083', '6045', '1075', '5633', '8053', '1711', 'W', 'n', 'N', 'x', 'P', 'g', 'Y', 'j', '6411', 'x', 'n', '8627', 'y', 'R', 'E', 'x', 6219, 7421, 'y', 4757, 9359, 'P', 5909, 7819, 3069, 6985, 9497, 2897, 5345, 8961, 3143, 9975]

Output: 65, 9985, 867, F, 8953, t, Q, 4985, G, 4695, 1083, 6045, 1075, 5633, 8053, 1711, W, n, N, x, P, g, Y, j, 6411, x, n, 8627, y


Input: Consider Input: ['G', 'T', 'D', 'j', 'g', 'w', 'n', 'D', 'V', '8209', '9691', '6551', 'N', '4913', '471', '9355', 'b', 'w', '4505', '6427', 'P', '5957', 'v', 693, 'f', 'J', 'f', 10007, 'o', 863, 'o', 'Z', 'd', 'Q'], [8181, 693, 's', 'V', 'V', '8209', '9691', '6551', 'N', '4913', '471', '9355', 'b', 'w', '4505', '6427', 'P', '5957', 'w', 4477, 'd', 1717, 525, 7147, 'g', 6803, 'j', 8033, 'Y', 't', 5059, 4371]

Output: V, 8209, 9691, 6551, N, 4913, 471, 9355, b, w, 4505, 6427, P, 5957


Input: Consider Input: [6451, 8721, '7691', '5751', '753', '4885', 'Z', 'T', 3927, 6309], ['Z', 'R', '7691', '5751', '753', '4885', 'Z', 'b', 5507, 719, 3139]


Output: 7691, 5751, 753, 4885, Z