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

Ex Input:
[3539, 6661, 127, 883, 'j', 'i', 9169, 4635, '8533', 'w', 'B', 'x', '8345', '1367', '8023', '4489', '5083', 'A', '2295', '2737', 'Q', 'H', 'Q', 4829, 'h', 'e', 'L', 6905, 't'], [7275, 1425, 'r', 'G', 'c', 's', 'W', 'L', 'C', 'o', '8533', 'w', 'B', 'x', '8345', '1367', '8023', '4489', '5083', 'A', '2295', '2737', 'z', 'V', 4703, 'c']

Ex Output:
8533, w, B, x, 8345, 1367, 8023, 4489, 5083, A, 2295, 2737


Ex Input:
['n', 'D', 'w', 3835, 'T', 'B', 677, 'V', 'K', 'C', 2925, 'K', 'm', 1053, 'f', 4037, 7659, '65', '9985', '867', 'F', '8953', 't', 'Q', '4985', 'G', '4695', '1083', '6045', '1075', '5633', '8053', '1711', 'W', 'n', 'N', 'x', 'P', 'g', 'Y', 'j', '6411', 'x', 'n', '8627', 'y', 'g', 9107, 'A', 'T', 'W', 'A', 'j', 'f', 'v', 9021, 'j', 't', 'B', 8145, 'H', 3749], [949, 5165, 1491, 2995, 6041, 'd', 8225, 3907, 483, 7773, 'E', 105, 4839, 4595, 'y', 10009, 'M', 2851, 9681, 5135, 9105, 4887, 9939, 'N', 'k', 'h', '65', '9985', '867', 'F', '8953', 't', 'Q', '4985', 'G', '4695', '1083', '6045', '1075', '5633', '8053', '1711', 'W', 'n', 'N', 'x', 'P', 'g', 'Y', 'j', '6411', 'x', 'n', '8627', 'y', 'R', 'E', 'x', 6219, 7421, 'y', 4757, 9359, 'P', 5909, 7819, 3069, 6985, 9497, 2897, 5345, 8961, 3143, 9975]

Ex Output:
65, 9985, 867, F, 8953, t, Q, 4985, G, 4695, 1083, 6045, 1075, 5633, 8053, 1711, W, n, N, x, P, g, Y, j, 6411, x, n, 8627, y


Ex Input:
[8855, 6907, 's', 9109, 'e', 'U', 'J', 'd', 'B', 'n', '653', '2185', 'w', 'n', 9277, 3021, 2619, 'S'], ['w', 'H', 'S', 2507, 'e', 'U', 'J', 'd', 'B', 'n', '653', '2185', 'w', 'e', 'h', 'H', 'c']

Ex Output:

e, U, J, d, B, n, 653, 2185, w