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

Ex Input:
[2389, 1227, 'v', 2701, 5365, 'C', 'T', 4909, 'f', 5507, 'x', 4791, 9815, 'Y', '7579', 'F', 'M', '1193', 'L', '8619', '7713', '9917', '2751', '9845', '1395', '6667', 'd', 'F', '8595', 'U', '1891', '6595', 's', 'x', 'W', 'p', 'Z', 'j', '4475', 'j', '2077', 'G', 49, 9519, 7577, 9555, 283, 803, 8999, 'Z', 867, 9103, 'm', 'J', 'M', 'G', 7561, 179, 'Q', 9789, 163, 5773, 3305, 'w', 8611, 9897], ['r', 5979, 8571, 1269, 'p', 5027, 'w', 9363, 'j', 2449, '7579', 'F', 'M', '1193', 'L', '8619', '7713', '9917', '2751', '9845', '1395', '6667', 'd', 'F', '8595', 'U', '1891', '6595', 's', 'x', 'W', 'p', 'Z', 'j', '4475', 'j', '2077', 'P', 'e', 'z', 8561, 'g', 8125, 'a', 3265, 2003, 5175, 5873, 'L', 3443, 'K', 'Q', 5099, 8433, 8947, 397, 37, 889, 2105]

Ex Output:
7579, F, M, 1193, L, 8619, 7713, 9917, 2751, 9845, 1395, 6667, d, F, 8595, U, 1891, 6595, s, x, W, p, Z, j, 4475, j, 2077


Ex Input:
[7377, 1987, 'N', 'p', 't', '2929', '9983', '7321', '9193', 'B', 'V', '1733', 'o', 'T', 8071, 9433, 'n', 'U'], ['q', 'g', 5683, 6497, 'q', 7587, 'u', 8819, 'T', 'c', 'N', 'p', 't', '2929', '9983', '7321', '9193', 'B', 'V', '1733', 'Q', 7419, 'W', 'p', 2765, 5831]

Ex Output:
N, p, t, 2929, 9983, 7321, 9193, B, V, 1733


Ex Input:
[3261, 1259, 'x', 's', 1281, 'H', 567, 2497, 2399, 'g', 4401, 7379, 'Y', '4287', 'o', '7485', '7687', '417', '9777', '1723', '1647', 'M', 'C', '2731', '4107', 'L', '6225', 'J', 'I', '8857', 'V', 'y', 5981, 4105, 5433, 'W', 5097, 4445, 'a'], ['k', 'b', 'n', 9643, 'e', 4175, 'q', 'k', 'b', 'h', '4287', 'o', '7485', '7687', '417', '9777', '1723', '1647', 'M', 'C', '2731', '4107', 'L', '6225', 'J', 'I', '8857', 'V', 'c', 7077, 2725]

Ex Output:

4287, o, 7485, 7687, 417, 9777, 1723, 1647, M, C, 2731, 4107, L, 6225, J, I, 8857, V