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

Input: Consider Input: ['C', 1723, 8981, 3173, 3163, 'j', 'L', 4781, 'N', '5925', '2501', '9697', 'v', 'C', 'O', 'A', '9205', '8339', '3385', 'w', 3467, 'j', 6655, 'P', 8443, 9655], ['v', 'W', 5661, 'z', 'm', 8477, '5925', '2501', '9697', 'v', 'C', 'O', 'A', '9205', '8339', '3385', 'S', 6891, 'H', 'B', 8541]

Output: 5925, 2501, 9697, v, C, O, A, 9205, 8339, 3385


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: ['i', 'T', 'S', 'r', 'j', 9779, 7309, 'U', 'n', 1613, 3547, '7359', '4711', 't', 'g', '7797', '8953', '9019', 'C', 'S', '4637', '7921', 'L', 3097, 1629, 4985, 8101], ['T', 's', '7359', '4711', 't', 'g', '7797', '8953', '9019', 'C', 'S', '4637', '7921', 'y', 'n', 2165, 401, 'g', 9155, 'w']


Output: 7359, 4711, t, g, 7797, 8953, 9019, C, S, 4637, 7921