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

Input: Consider 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]

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


Input: Consider Input: [5231, 5685, 9687, 3613, 75, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'B', 'P', 'j', 'n', 5543, 6907, 9665, 4635, 'K', 'b', 4577, 'n', 4119, 'C'], [1147, 'Z', 'G', 9027, 'q', 'p', 'b', 'l', 'W', 'J', 1599, 'y', 6833, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'H', 6089, 'w']

Output: 6685, G, q, F, X, 5671, r, 2785, V, 6491, d, N, 6803, P, M


Input: Consider Input: [8657, 7293, 'Y', 'e', 'T', 'w', 'm', '7315', '3373', 'l', 'H', 'i'], [3903, 2107, 'l', 'S', 'e', 'T', 'w', 'm', '7315', '3373', 'l', 2105, 8017, 'S', 3557, 'm', 3257, 'R']


Output: e, T, w, m, 7315, 3373, l