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

Ex Input:
['k', 521, 'b', 'j', 8637, 2323, 'S', 2743, 'I', 5351, 'B', 1525, 6545, 5197, 'Y', 'S', 'F', '8581', 'C', '2183', 'Q', 'N', '1435', 'E', '8709', '7613', 'C', '7381', '7499', '9041', '1479', 'I', 's', '7101', '6233', '9063', '9969', '5315', 'e', '2495', 'x', 8587, 1937, 1217, 'w', 'o', 'J', 'H', 'N'], [4927, 7101, 1961, 1277, 6009, 'x', 6541, 'h', 'S', 'F', '8581', 'C', '2183', 'Q', 'N', '1435', 'E', '8709', '7613', 'C', '7381', '7499', '9041', '1479', 'I', 's', '7101', '6233', '9063', '9969', '5315', 'e', '2495', 'f', 't', 'l', 3599, 'z', 'S', 7683, 'I', 101, 'D', 'E', 4087, 3221, 'n', 'R', 1809, 7069, 7145, 5573, 8597, 2473]

Ex Output:
S, F, 8581, C, 2183, Q, N, 1435, E, 8709, 7613, C, 7381, 7499, 9041, 1479, I, s, 7101, 6233, 9063, 9969, 5315, e, 2495


Ex Input:
[5189, 6517, 7263, 3907, 'I', 7869, 8561, 'M', 'X', 1055, 'N', 533, 9903, 'p', 5241, 'L', 4649, 'R', 'G', '3873', 'o', '4565', 'I', '9949', 'k', 'H', 'o', 'M', '7819', 'q', '3397', '739', '9863', '4743', 'n', '8999', 'G', '1411', 'L', 't', 'm', 'k', 6041, 'L', 'V', 9697, 7967, 't', 'L', 'i'], [1055, 2831, 3023, 8711, 'E', 6059, 'v', 'E', 'M', 4133, 'Q', 249, 'Q', 5195, 5607, 'G', '3873', 'o', '4565', 'I', '9949', 'k', 'H', 'o', 'M', '7819', 'q', '3397', '739', '9863', '4743', 'n', '8999', 'G', '1411', 'Q', 8961, 5471, 613, 4235, 'g', 'N', 9513, 9767, 'j', 't', 'I']

Ex Output:
G, 3873, o, 4565, I, 9949, k, H, o, M, 7819, q, 3397, 739, 9863, 4743, n, 8999, G, 1411


Ex Input:
[8855, 6269, 6185, 'q', 3671, 9641, '9075', 'k', 'e', 'N', '3041', '8761', '9591', '7451', 'Q', 'D', 'e', 9433, 'u', 7331, 4031], [6263, 7589, 'Z', 6563, 1565, 'I', 9773, 'B', 'Z', '9075', 'k', 'e', 'N', '3041', '8761', '9591', '7451', 'Q', 'q', 9205]

Ex Output:

9075, k, e, N, 3041, 8761, 9591, 7451, Q