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

Ex Input:
[7855, 367, 8647, 9917, 9089, 'U', 5329, 'V', 9419, 3843, 'M', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'D', 'D', 7465, 'M', 'T', 3699, 'b', 8885, 'L', 'k'], ['p', 9677, 'R', 23, 1797, 2241, 4425, 1705, 'Z', 'C', 2803, 'S', 'N', 911, 567, 2169, 'k', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'W', 'J', 3419]

Ex Output:
7745, N, B, m, V, q, 449, 7315, d, 4821, 1535, 2733, 713, 9271, Y, 5605, 8443, 6643, K


Ex Input:
['K', 4691, 'I', '2495', '1015', 'L', '581', 'b', 9477], ['k', 2419, 'd', 'I', '2495', '1015', 'L', '581', 'r', 's', 6673, 5755]

Ex Output:
I, 2495, 1015, L, 581


Ex Input:
[7849, 813, 1309, 3749, '10001', 'g', '1057', 'c', 't', 't', 'i', 2269, 'M', 'q', 373], ['d', 4077, 3209, 'g', 5643, '10001', 'g', '1057', 'c', 't', 't', 'h', 'Y', 8349, 'q', 3939, 1333]

Ex Output:

10001, g, 1057, c, t, t