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

Ex Input:
[5367, 7499, 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'o', 'M', 'T', 'q', 'J', 't', 3991], [3847, 'h', 8145, 'z', 'C', 6061, 5347, 'U', 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'w', 5279, 4553]

Ex Output:
a, 3619, 5119, 4219, 769, 8735, 6417, V, W


Ex Input:
['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']

Ex Output:
A, g, 6735, 6737, 6929, 3051, v, 1223, 497


Ex Input:
['w', 5297, 'N', 'u', 7057, 6213, 'I', 'y', 1401, 'S', '5055', 'i', '721', '9425', '1741', '799', '6813', '5715', 'H', 'T', '1513', '3389', '8535', '5463', '2509', '2275', '6639', '9245', '6477', '7083', '6717', 'm', '9451', 'c', 'X', 'T', 'o', 'b', 6189, 6655, 'j', 'B'], [9749, 2893, 2361, 'D', 'w', 'w', 'W', 'l', 7371, 727, 357, 'F', 'S', '5055', 'i', '721', '9425', '1741', '799', '6813', '5715', 'H', 'T', '1513', '3389', '8535', '5463', '2509', '2275', '6639', '9245', '6477', '7083', '6717', 'm', '9451', 'i', 8515, 'H', 1583, 'O', 'B', 1297, 6359, 's', 'h', 'n', 'b', 'k']

Ex Output:

S, 5055, i, 721, 9425, 1741, 799, 6813, 5715, H, T, 1513, 3389, 8535, 5463, 2509, 2275, 6639, 9245, 6477, 7083, 6717, m, 9451