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

Ex Input:
[4301, 2885, 'X', 8841, 3911, 'l', 4267, 'M', 3861, 8005, 'm', '4475', 'b', '9275', 'w', '1043', '2027', '1', 'M', 'y', 'W', '3565', '8755', '6253', '5453', 'W', 'Z', 'f', 7767, 5683, 'l', 8029, 'C', 5169, 'F', 'b', 5421, 's', 'q', 203, 4903, 9957, 9367], [4131, 'w', 3479, 'z', 'm', 9829, '4475', 'b', '9275', 'w', '1043', '2027', '1', 'M', 'y', 'W', '3565', '8755', '6253', '5453', 'W', 'Z', 'v', 1275, 3867, 6831, 6147, 'K']

Ex Output:
4475, b, 9275, w, 1043, 2027, 1, M, y, W, 3565, 8755, 6253, 5453, W, Z


Ex Input:
['P', 'S', 9171, 'k', 'W', 4523, 'Z', 4167, 'c', 1143, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'R', 'J', 'z', 'O', 'f', 2527, 7395, 'v', 6495, 9929, 'W', 8051], [9499, 't', 1453, 5771, 7923, 857, 359, 3273, 'a', 6789, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'h', 'f', 2835, 9965, 2423, 6015]

Ex Output:
4943, 2193, 6839, 5745, N, 219, 9797, 8987, 9105, 1975, 3513, 81, D, n


Ex Input:
['B', 4761, 'B', 4067, '8365', '7649', 'e', '619', '1817', '2705', 'O', '4585', 'e', '729', '9801', '6093', '9527', 't', 'E', 1411, 'M', 6583], [5615, 'M', 'G', 'J', 5817, 'h', 3577, 2069, 'M', 'd', '8365', '7649', 'e', '619', '1817', '2705', 'O', '4585', 'e', '729', '9801', '6093', '9527', 't', 'g', 3903, 'W', 27, 'L', 'g', 'i', 'G', 'U']

Ex Output:

8365, 7649, e, 619, 1817, 2705, O, 4585, e, 729, 9801, 6093, 9527, t