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

Ex Input:
[7895, 3277, 4453, 8001, 3249, 8861, 8095, 6707, 7707, 6229, 'N', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'Q', 207, 3235, 5207, 2349, 3663, 3563, 4147, 707, 'x', 'j', 2787, 7923, 'J', 6673, 'X', 4963], ['l', 8291, 'r', 9185, 'B', 9975, 9663, 'U', 'O', 'Z', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'a', 'G', 'S', 185, 8775, 'y', 1691]

Ex Output:
8179, 1801, m, 8015, d, 4081, 4825, 4959, e, W, 7321, o, 1247, 10025, 7661, z, e, A, 3033, H, H, 6305, y, 7569


Ex Input:
[161, 4197, 9653, 'B', 7407, 'S', 'o', 4111, 2533, 5853, 2689, 3885, 4663, 7917, 2761, '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 'G', 833, 'J', 6547, 1275, 'u', 'z', 4137, 1605, 'm', 'c', 7401, 4119, 's'], [6981, 'L', 'b', 'B', 1803, 1413, 5191, 'i', '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 't', 't', 'n']

Ex Output:
8061, 2211, w, O, z, G, F, 1055, 5895, J, L, 2759, l, e, 3601


Ex Input:
['b', 551, 'F', 't', 'I', 'B', 'r', '6771', '9513', 't', 235, 'I', 9425], ['x', 'D', 'Y', 2485, 3247, 'I', 'B', 'r', '6771', '9513', 'f', 4619]

Ex Output:

I, B, r, 6771, 9513