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

Ex Input:
[9627, 3485, 'B', 'B', 2377, 5949, 6975, 6061, 8717, 'I', 7415, 'v', '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'B', 'm', 'D', 'e', 3155, 'N', 'y', 5923, 1375, 5079], [883, 'N', 81, 'q', 'd', 'P', 'v', 'v', 6005, 1079, '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'J', 795, 'g']

Ex Output:
3101, 7411, 3847, R, 4943, r, 2953, b, W, y, 3509, 6167, L, J


Ex Input:
[9677, 4817, 5889, 'w', '9447', 'A', 'g', '4241', 'l', '6431', 'v', 'r', '1925', '1007', '8177', '5627', '7383', '691', 'Z', '7593', 'r', 5945, 2503, 9765, 8527], [1659, 'z', 7571, 'w', '9447', 'A', 'g', '4241', 'l', '6431', 'v', 'r', '1925', '1007', '8177', '5627', '7383', '691', 'Z', '7593', 's', 'f', 7387, 4583, 4393, 'o', 8185, 'Y', 3513]

Ex Output:
w, 9447, A, g, 4241, l, 6431, v, r, 1925, 1007, 8177, 5627, 7383, 691, Z, 7593


Ex Input:
[6047, 'v', 'z', 'U', 'P', 4733, 'u', 2391, 'L', 8819, 'P', 'N', '8421', 'T', 'H', '8759', 'g', '1801', 'd', 'l', 'g', 5859, 'B', 455, 4541], ['T', 'u', 9075, 8191, 1223, 4469, 'A', 'd', 'P', 'N', '8421', 'T', 'H', '8759', 'g', '1801', 'd', 'l', 'r', 3905, 5553, 9047, 'I', 4253, 'G', 'p', 't', 'H']

Ex Output:

P, N, 8421, T, H, 8759, g, 1801, d, l