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

Input: Consider Input: [5911, 'u', 6309, 9397, 9345, 7997, 'U', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'R', 'Z', 6167, 8919, 'M', 2389, 1105, 5255], ['d', 'F', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'e', 't', 8685, 'R', 'J', 5015, 8735, 'W', 5913]

Output: w, q, 7585, 3117, 4453, 3581, O, j, 3815, i, h, 1507, 3615, f, f, 2177, 3449, 1243, 5695


Input: Consider Input: ['u', 'r', 849, 'R', 'F', 'T', '8517', 'n', 'W', '7945', '6371', 'l', 'S', 'G', '7431', 'x', 'b', 'B', '437', '9051', 'p', '465', 'u', 'R', 'p', 'p', 'T', 'z', 'q', 'I', 435, 'f', 5345, 7911, 'A', 4969, 'Z', 'z', 'g', 'F', 'j', 'p', 8691, 'W', 'g'], ['O', 'A', 'Y', 7777, 1037, 637, 'X', 3059, 1375, 1443, 1615, 9593, 'D', 'R', 'S', 'M', 5927, 'R', 'F', 'T', '8517', 'n', 'W', '7945', '6371', 'l', 'S', 'G', '7431', 'x', 'b', 'B', '437', '9051', 'p', '465', 'u', 'R', 'p', 'Q', 'Y', 1371, 'M', 'Q', 1545, 4395, 'm', 'R', 6291, 'g', 'X', 5919, 'p', 'V', 'Y', 'N', 1117, 'U']

Output: R, F, T, 8517, n, W, 7945, 6371, l, S, G, 7431, x, b, B, 437, 9051, p, 465, u, R, p


Input: Consider Input: [8145, 5025, 8595, 9817, 4373, 5407, '3463', '7997', 'Y', '4201', '4849', '1145', 'm', 'K', '5391', '3167', '4305', 'x', 'q', '2215', '7855', '7783', '425', 'h', '7937', '7453', 'I', 'K', 'J', 'p', 4769, 'P', 7475, 2109, 'W', 5941, 1983, 493, 'B', 9611], [353, 'J', 'g', 2809, 8901, 'R', 'h', 'f', 'F', 'M', 3443, 'B', 'z', 1829, 1487, 4659, 'Q', 'M', '3463', '7997', 'Y', '4201', '4849', '1145', 'm', 'K', '5391', '3167', '4305', 'x', 'q', '2215', '7855', '7783', '425', 'h', '7937', '7453', 'I', 'K', 't', 93, 8631, 4767, 'V', 2625, 'D', 1563, 7019, 2071, 7281]


Output: 3463, 7997, Y, 4201, 4849, 1145, m, K, 5391, 3167, 4305, x, q, 2215, 7855, 7783, 425, h, 7937, 7453, I, K