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:
['r', 187, 'm', 'S', 'z', 5311, 'Y', 'h', 'y', 'F', 'n', 'h', 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'b', 'n', 'P', 'k', 5257, 'A', 'm', 'q', 'Q', 'n', 'n', 'd'], [5561, 8887, 7269, 'z', 7529, 4645, 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'y', 1507, 'z', 'a']

Ex Output:
V, 5467, C, d, 2611, 3895, h, W, T, 7115, N, 4227, 2001


Ex Input:
[2109, 8121, 8683, 3595, 6905, 'M', 2719, 'W', '2671', '155', '637', '6757', 's', 'w', '303', 'e', '5977', '983', 'l', '3155', 'e', 'b', '4919', '2219', '4033', 'W', 'I', '1487', '231', 'h', 6051, 3689, 7723, 'K', 5153, 'W', 8691], [71, 'X', 'M', 5277, 'e', 787, 1055, 'G', 'G', 'x', 'C', 'I', 'U', 5281, 6493, 5233, 6209, 'W', '2671', '155', '637', '6757', 's', 'w', '303', 'e', '5977', '983', 'l', '3155', 'e', 'b', '4919', '2219', '4033', 'W', 'I', '1487', '231', 'F', 5755, 3113, 9939, 1325]

Ex Output:

W, 2671, 155, 637, 6757, s, w, 303, e, 5977, 983, l, 3155, e, b, 4919, 2219, 4033, W, I, 1487, 231