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

Input: Consider Input: [435, 5991, 'L', 2351, 5221, 6381, 8655, 'U', 'q', 7163, 1771, 'c', 1181, 'v', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'u', 1721, 'W', 4519, 8045, 7749, 7163], ['z', 'Z', 9691, 'b', 'Y', 'A', 'a', 'q', 7549, 'm', 'x', 's', 'b', 5655, 2087, 'f', 'o', 8235, 1383, 'h', 'O', 7531, 'T', 2283, 'r', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'P', 4935, 7767, 4325, 755]

Output: 4831, 8155, D, 3079, 1677, r, 2713, k, 9587, 8141, 3037, 21, 9135, 9197, 3459, P, 915, s, 5539, h, 599, 9937, o, C, 1637, 8921


Input: Consider Input: [7577, 'i', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'Z', 11, 6915, 'n', 'j', 113, 6505, 6281, 2205], ['Q', 'V', 'A', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'J', 'c', 5873, 1693]

Output: 8411, N, 4691, 3661, 9511, T, v, D, H, A, 6551, v, 605, 2753, 2475, N, S, z, 9773, n


Input: Consider Input: [5917, 5251, 'v', 'G', 3875, 'g', 'b', 'k', 's', 'k', 'p', 'a', '3907', 'u', '8165', '6579', '9539', 'w', '1923', 'p', '4171', 'z', '9679', '2583', 'L', 'r', '9083', 'b', '6189', 'I', 1999, 859, 'B', 'c', 1913, 2841, 'v', 6305, 'f', 'V', 4965, 9215], ['V', 9185, 5901, 'W', 1227, 'c', 'n', 3651, 'p', 'a', '3907', 'u', '8165', '6579', '9539', 'w', '1923', 'p', '4171', 'z', '9679', '2583', 'L', 'r', '9083', 'b', '6189', 'M', 7707, 'M', 'g', 'V', 'X', 5481, 2509, 6927, 4447, 'g', 3957, 1395, 2327, 'K', 8771]


Output: p, a, 3907, u, 8165, 6579, 9539, w, 1923, p, 4171, z, 9679, 2583, L, r, 9083, b, 6189