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

Ex Input:
['S', 4895, 'h', 6721, 'W', 8371, 9167, 3811, 3237, 'U', 'x', 'R', 783, 6037, 9769, 6371, 8745, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'c', 'S', 'q', 4381, 7327, 'h', 'A', 'P', 't', 1021, 6667, 'X'], ['v', 'G', 8727, 7711, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'K', 2875, 467, 'x', 'S', 5845, 8137, 33, 'X', 3427, 'C', 9271, 'J']

Ex Output:
7375, 7449, 3345, 8881, 2015, o, 3175, 3809, 2331, 2327, 3549, p, u, 263, 6767, 4499, 4279


Ex Input:
[1231, 'a', 9367, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'e', 6603, 'm', 8145, 'L', 's', 1273, 9291, 'X'], [5773, 'D', 'W', 'F', 5987, 'D', 'H', 2095, 'I', 'X', 29, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'C', 'a']

Ex Output:
155, r, 1473, 5679, 3161, L, e, b, m, 9427, 2001, 5293, 3487, K, 6467, S


Ex Input:
['D', 7121, 7235, 7121, 'R', 't', 'P', 'i', '545', 'l', 'q', 'P', 'f', 'F', '6923', '9257', '9417', 'r', 'a', 6027, 3327, 'L', 'Q', 'x', 'G', 'W', 'u'], ['B', 'B', 'e', 6701, 1889, 7173, 'P', 'R', 'i', '545', 'l', 'q', 'P', 'f', 'F', '6923', '9257', '9417', 'r', 't', 1799, 4639]

Ex Output:

i, 545, l, q, P, f, F, 6923, 9257, 9417, r