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

Input: Consider Input: [1249, 4091, 'E', 483, 'O', 8427, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'U', 2857, 's'], ['J', 'B', 8825, 9581, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'E', 'e', 'R', 'X', 1739, 'D', 1385, 'e', 6969]

Output: 5009, X, Q, 107, F, 6119, 4479, u, o, U, 4405, 1737, K, j, B


Input: Consider Input: [1291, 3229, 'C', 'P', 5501, 'M', 7039, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'p', 2557, 797, 'z', 'p', 'z', 'K'], ['a', 6929, 'h', 'r', 'Q', 'v', 'L', 4801, 'J', 1849, 4197, 5077, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'N', 773, 'g', 2295, 7477, 'R', 'I', 6823, 9695, 'v', 543, 'R', 7201, 9203, 1731, 'v', 4213, 767, 4273, 6557, 4155, 5339, 9859, 'w', 'D']

Output: 5337, L, 5089, q, 9619, 2651, 2899, 1103, 7949, T, 199, N, 4359, g, 597, 2195, F, 8427, 7741, 3033, 4565, 4957, Y, 37, 9017, k, 2555, z, 4683, q


Input: Consider Input: [4665, 'o', 'E', 4811, 'H', 'c', 4277, 'q', 'v', 6537, 17, 'J', 3847, 963, 9709, 'I', 'G', 'z', 'F', 'r', 'm', 5655, 'Q', '9533', 'H', 'Y', 'l', '3625', '8139', '7771', 'W', '4849', '1239', 'd', 's', 'J', 'T', '4265', '1283', '6167', '1217', 'v', 'X', '3915', 'P', '7243', 'E', 'W', 'w', 'p', 'T', 'W', 8875, 6091, 5391, 5559, 5453, 7669, 'w', 'I'], ['F', 5255, 'u', 9151, 't', 'Q', '9533', 'H', 'Y', 'l', '3625', '8139', '7771', 'W', '4849', '1239', 'd', 's', 'J', 'T', '4265', '1283', '6167', '1217', 'v', 'X', '3915', 'P', '7243', 'E', 'k', 'r', 8261, 3171, 'q', 4573, 'x', 'G', 9387, 5277, 'A', 'E', 'M', 1607, 'c', 'G', 'i', 'o', 'b', 'W']


Output: Q, 9533, H, Y, l, 3625, 8139, 7771, W, 4849, 1239, d, s, J, T, 4265, 1283, 6167, 1217, v, X, 3915, P, 7243, E