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', 4329, 'S', 'D', 9241, 759, 2991, 'F', 3189, 7335, 9261, 'B', 6559, 9299, 7551, 'w', '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'q', 4811, 'a', 7535, 'y', 2697, 9437, 'P', 'V', 9525, 3879, 5751, 1229, 'i', 7163, 'v', 8903, 'F', 6205, 6447, 9677, 5529, 2883, 'G'], [4501, 'L', 'j', 'Y', 2979, 8761, 3813, 7945, 'r', 'X', 327, 'f', 'S', 'c', 6981, '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'g', 5615, 'n', 'e', 2989, 'T', 'P', 'z', 'R', 'E']

Output: 1413, 7507, P, d, 8315, e, b, s, 7811, Q, S, B, 7459, m, X, 5533, f, F, 9347, Q, w, o, 6161, C


Input: Consider Input: ['H', 3635, 'N', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'B', 9737, 'n'], ['U', 2701, 'e', 'z', 'd', 3631, 'E', 'V', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'c', 'F', 'b']

Output: c, 2297, U, W, j, 7741, u, 2283


Input: Consider Input: ['M', 's', 7963, 'Q', 'b', 'N', '8301', '2479', '2729', '4023', '4955', 'Q', 'Y', '2939', 'n', '2985', '5185', '6389', 'n', 'w', '4913', '6947', '4157', 'Y', '4651', 'e', '2853', '6911', 'y', '7999', 'z', '2465', 'U', 'G', 8827, 4147, 7451, 9551, 'k', 'v', 'X', 'Z', 'u', 'U', 3309, 923, 1607], ['m', 6339, 'a', 6013, 'r', 7873, 6127, 'e', 'r', 'Q', 'W', 4033, 'L', 877, 9639, 3075, 5531, 'Q', 'a', 'c', 2835, 5517, 't', 'b', 'N', '8301', '2479', '2729', '4023', '4955', 'Q', 'Y', '2939', 'n', '2985', '5185', '6389', 'n', 'w', '4913', '6947', '4157', 'Y', '4651', 'e', '2853', '6911', 'y', '7999', 'z', '2465', 'U', 'a', 'A', 5649, 'B', 'v', 3625, 'B', 7769, 'B', 'Q', 'B', 5395, 4413, 4007, 3929, 'O', 'm', 661, 'c', 'j', 'P', 8563, 'o']


Output: b, N, 8301, 2479, 2729, 4023, 4955, Q, Y, 2939, n, 2985, 5185, 6389, n, w, 4913, 6947, 4157, Y, 4651, e, 2853, 6911, y, 7999, z, 2465, U