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

Input: Consider Input: [1043, 4021, 'b', 'e', '5055', 'N', 7081], ['o', 'S', 'b', 'e', '5055', 'q', 8711, 9911]

Output: b, e, 5055


Input: Consider Input: [9369, 5975, 'W', 'd', 'I', 6029, 3693, 'I', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'w', 'k', 'B', 'o', 'T', 4201, 7599, 'c', 'W'], ['p', 'p', 'L', 'J', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'Y', 'P', 8947, 'q']

Output: 8101, K, 5209, l, v, W, 4841, 6399, T, F, k, 2165


Input: Consider Input: [4067, 'U', 9527, '5533', 'h', '623', 't', 'H', '1369', '7531', 'y', 'S', '10013', '3825', '467', 'Z', '1863', 'k', '3419', 'U', 'd', 'X', 'X', 'C', 'E', 'w', 'E', 'I', 'N', 'w', 'N', 'f', 6509], [7431, 8039, 7711, 4675, 9739, 1155, 'f', 'C', 8813, 'H', 9551, 'z', '5533', 'h', '623', 't', 'H', '1369', '7531', 'y', 'S', '10013', '3825', '467', 'Z', '1863', 'k', '3419', 'U', 'd', 'X', 'u', 7997, 4637, 'D']


Output: 5533, h, 623, t, H, 1369, 7531, y, S, 10013, 3825, 467, Z, 1863, k, 3419, U, d, X