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: ['j', 'p', 'D', 9209, 'f', 1443, 'z', 'U', '2781', '2633', 'p', 'o', 'H', 'L', 'g', '9879', '1659', '2721', 'Y', '4045', '2453', 'S', 'H', 'm', 'X', '6465', 'u', 'f', 'P', 'h', '4585', '2353', 'Z', 9799, 9741, 'i', 'V', 'b', 'V'], ['G', 6339, 'X', 5119, 'J', 7027, 983, 'G', 'y', 9973, 'c', 'o', 'B', 'J', 3491, 203, 2983, 'G', 9139, 'J', 789, 7833, 'F', '2781', '2633', 'p', 'o', 'H', 'L', 'g', '9879', '1659', '2721', 'Y', '4045', '2453', 'S', 'H', 'm', 'X', '6465', 'u', 'f', 'P', 'h', '4585', '2353', 'P', 'u', 'u', 5483, 'P', 2187, 6807, 'T', 'F', 'h', 4425, 's', 'P', 7479, 9675, 3149, 'X', 5605, 8475, 8771, 9483, 3901, 'Y']

Output: 2781, 2633, p, o, H, L, g, 9879, 1659, 2721, Y, 4045, 2453, S, H, m, X, 6465, u, f, P, h, 4585, 2353


Input: Consider Input: [4879, 'k', 'o', 7107, 'R', 'i', 5397, 'P', 'Q', 'b', '9223', '5943', '9719', 'D', '2999', '8307', '6745', '7301', '7537', 'P', '1847', '1499', 'b', 'd', 4201, 6031, 9447, 'q'], ['T', 'U', 'X', 1279, 853, 1527, 8123, 'Z', 'b', '9223', '5943', '9719', 'D', '2999', '8307', '6745', '7301', '7537', 'P', '1847', '1499', 'X', 2005, 435, 'y', 7459, 'w']


Output: b, 9223, 5943, 9719, D, 2999, 8307, 6745, 7301, 7537, P, 1847, 1499