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

Example 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]
Example 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

Example Input: ['g', 305, '8447', 'K', 'y', 'D'], [2445, 5519, '8447', 'K', 't', 'l']
Example Output: 8447, K

Example Input: ['i', 'Q', 693, 'q', '2435', 'b', 'b', '2743', '4985', 'Y', 'f', 's', 8369, 3691, 3555], ['c', 5475, '2435', 'b', 'b', '2743', '4985', 'Y', 'f', 'm', 'a', 'n', 5403, 'a', 401]
Example Output:
2435, b, b, 2743, 4985, Y, f