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

Ex Input:
[7087, 4471, 'P', 'W', 'C', '6301', 'T', '6625', '9345', '4471', '4385', 'H', 'K', 'r', 'Z', 'O', 'y', 'm', 7683, 1493, 'F', 4293, 'z'], [1607, 8143, 'F', 5435, 8723, 'x', 'C', '6301', 'T', '6625', '9345', '4471', '4385', 'H', 'K', 'r', 'E', 1241]

Ex Output:
C, 6301, T, 6625, 9345, 4471, 4385, H, K, r


Ex Input:
['e', 167, 4283, 'l', 247, 4197, 3397, 'Z', 'F', 2835, 4273, 'F', '4769', '6831', '5497', 'Z', 'g', 'Y', '2003', '2851', '9303', '6173', 'P', 'U', 'G', 'X', 7049, 'q'], ['z', 'p', 'L', 'A', 'o', 391, 'F', '4769', '6831', '5497', 'Z', 'g', 'Y', '2003', '2851', '9303', '6173', 'I', 8741, 3159, 't']

Ex Output:
F, 4769, 6831, 5497, Z, g, Y, 2003, 2851, 9303, 6173


Ex Input:
[9537, 9603, 'U', '4157', 'M', 'k', 'w', 9373], [3355, 4417, 'U', '4157', 'M', 'C', 'k']

Ex Output:

U, 4157, M