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

Input: Consider Input: [7395, 6997, 'Z', 2015, 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'C', 8179, 4675, 'x', 'k', 'V'], ['P', 'A', 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'k', 7667, 3913, 5111, 1215, 'r', 'g']

Output: v, 4045, F, O, N, k, 6013


Input: Consider Input: [4143, 9623, 'k', 'Z', 1355, 4371, 5553, 'U', 8081, 843, 7307, 8537, 841, 6443, 9873, 'b', 4969, 1189, 9481, 9225, 6739, 4269, 3997, 9511, '5641', '8319', '5809', 'F', '7875', '8699', 'p', '1431', 'K', 'R', '53', '4049', 'b', 'b', '5823', 'E', '1073', '8199', '6801', '8501', '1971', '6131', '4225', '847', 'N', 4305, 'M', 2381, 'W', 7817, 'x', 7221, 4341, 'k', 4235, 'z', 9923, 'w', 'c', 7701, 'k', 6841, 9359], [831, 8989, 'O', 9915, 829, 'y', 2567, 8737, 'P', 1805, 'u', 'b', 3579, 6313, 455, 'E', 1193, 2669, 6121, 7167, 'P', '5641', '8319', '5809', 'F', '7875', '8699', 'p', '1431', 'K', 'R', '53', '4049', 'b', 'b', '5823', 'E', '1073', '8199', '6801', '8501', '1971', '6131', '4225', '847', 'G', 1015, 'c', 6677, 8939, 2951, 'L', 'd', 5797, 2413, 7741, 3025, 5391]

Output: 5641, 8319, 5809, F, 7875, 8699, p, 1431, K, R, 53, 4049, b, b, 5823, E, 1073, 8199, 6801, 8501, 1971, 6131, 4225, 847


Input: Consider Input: [8263, 'T', 1865, 2147, 3625, 'I', 6289, 7099, 8573, 4361, 'e', '3371', '8739', '7687', '2641', 'g', 'Y', 'S', '7185', 'Z', '8055', '5861', 'f', 'b', 'I', '3235', 'P', 't', 'U', 'Z'], [9941, 167, 'q', 'q', 'n', 2177, 1431, 'E', '3371', '8739', '7687', '2641', 'g', 'Y', 'S', '7185', 'Z', '8055', '5861', 'f', 'b', 'I', '3235', 'P', 'r', 'R', 'w', 8755, 2007, 'v', 3527, 599, 6031, 'k', 'p', 'Q', 4393, 'g']


Output: 3371, 8739, 7687, 2641, g, Y, S, 7185, Z, 8055, 5861, f, b, I, 3235, P