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', 'z', 9641, 'z', 'f', 'o', 'L', 'D', 'w', 2793, 'b'], ['Q', 'R', 'z', 'f', 'o', 'L', 'A', 4343, 8711]

Output: z, f, o, L


Input: Consider Input: ['x', 653, 8793, 'W', 1845, 'Y', 6363, 9757, '9605', 'U', '1913', '2991', '7131', '237', '7023', 'j', '2123', 'B', '1887', 'K', '3729', 'D', '8391', '9729', 'w', 'k', 'M', '6957', 'J', 703, 'F', 'X', 'x', 7483], ['q', 10017, 5483, 8675, 'w', 'F', 'D', '9605', 'U', '1913', '2991', '7131', '237', '7023', 'j', '2123', 'B', '1887', 'K', '3729', 'D', '8391', '9729', 'w', 'k', 'M', '6957', 'n', 7147, 7131, 'q', 'u', 'A', 1171, 'V', 'k', 'N', 6869]

Output: 9605, U, 1913, 2991, 7131, 237, 7023, j, 2123, B, 1887, K, 3729, D, 8391, 9729, w, k, M, 6957


Input: Consider Input: ['F', 'q', 1709, 4345, 'F', 903, 'X', 'y', 'e', 6535, 'S', '1087', '9951', '7503', '8427', 'g', 'X', '2485', 'S', 'z', 'R', 'v', '653', '6011', 'S', 'W', 'c', '5527', '4941', 'm', '5241', 'C', '5899', 'D', 'x', 2449, 'W', 6915, 'S', 3059, 2485, 3359, 'S', 'o', 4939, 4635, 6079, 6471], ['V', 'X', 6955, 'D', '1087', '9951', '7503', '8427', 'g', 'X', '2485', 'S', 'z', 'R', 'v', '653', '6011', 'S', 'W', 'c', '5527', '4941', 'm', '5241', 'C', '5899', 'D', 'Z', 9007, 'o', 'R', 'T']


Output: 1087, 9951, 7503, 8427, g, X, 2485, S, z, R, v, 653, 6011, S, W, c, 5527, 4941, m, 5241, C, 5899, D