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:
[8521, 7389, 'Z', 959, 4009, 4683, 'y', '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'i', 'D', 2717, 'P', 3531, 8889], ['Y', 4689, 'H', 'h', 3485, 1659, '4295', '5675', 'a', '5585', 'q', '5785', '9081', 'U', 's', 'm', 'k', 3777, 'l', 4497, 5837, 7061]

Ex Output:
4295, 5675, a, 5585, q, 5785, 9081, U, s


Ex Input:
['i', 6253, 'm', 'f', 5133, 'c', 'G', 'L', '2721', 'Y', '3275', '7261', 'O', 'e', 'Y', 3875, 9835, 3631], ['d', 2467, 7301, 'G', 'L', '2721', 'Y', '3275', '7261', 'O', 'n', 'Q', 3901, 699, 1367]

Ex Output:

G, L, 2721, Y, 3275, 7261, O