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

Ex Input:
['u', 'r', 849, 'R', 'F', 'T', '8517', 'n', 'W', '7945', '6371', 'l', 'S', 'G', '7431', 'x', 'b', 'B', '437', '9051', 'p', '465', 'u', 'R', 'p', 'p', 'T', 'z', 'q', 'I', 435, 'f', 5345, 7911, 'A', 4969, 'Z', 'z', 'g', 'F', 'j', 'p', 8691, 'W', 'g'], ['O', 'A', 'Y', 7777, 1037, 637, 'X', 3059, 1375, 1443, 1615, 9593, 'D', 'R', 'S', 'M', 5927, 'R', 'F', 'T', '8517', 'n', 'W', '7945', '6371', 'l', 'S', 'G', '7431', 'x', 'b', 'B', '437', '9051', 'p', '465', 'u', 'R', 'p', 'Q', 'Y', 1371, 'M', 'Q', 1545, 4395, 'm', 'R', 6291, 'g', 'X', 5919, 'p', 'V', 'Y', 'N', 1117, 'U']

Ex Output:
R, F, T, 8517, n, W, 7945, 6371, l, S, G, 7431, x, b, B, 437, 9051, p, 465, u, R, p


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:
['X', 9737, 6673, 165, 5345, 'F', 'I', 'X', 2467, 'X', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'd', 'n', 'E'], [9725, 'G', 121, 'U', 2663, 'I', 'J', 2523, 'S', 'n', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'O', 2705, 5041, 8019, 'P']

Ex Output:

I, b, Q, z, v, 3523, 4717, a, A, Q, 5235, 1399, s, 5195, 1327