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

Ex Input:
[9417, 6541, 'V', 4095, 2535, 8271, 4253, 'r', 7251, 'F', 's', '5673', 'Q', '163', '591', 'G', 'm', 't', '7069', 'c', 'o', 't', 'q', '5595', 'D', 'Y', 'm', 3611, 'K', 7553, 'B', 'K', 'T'], ['P', 'r', 6361, 2773, 'r', 2627, 'F', 's', '5673', 'Q', '163', '591', 'G', 'm', 't', '7069', 'c', 'o', 't', 'q', '5595', 'D', 'f', 7923, 3733, 5271, 4083]

Ex Output:
F, s, 5673, Q, 163, 591, G, m, t, 7069, c, o, t, q, 5595, D


Ex Input:
[8937, 'k', 'O', 'p', 'C', 1375, 'i', 'X', 'l', 'L', 'u', 'C', 5395, 'n', 6919, 8055, 1091, '789', 'M', 'c', '431', '3497', '6001', '3601', 'Q', 'R', 'k', 'D', 'k', 'q', '343', 'b', 'j', '4465', '7421', '3927', 'G', '6047', '8287', '187', '2247', 'w', 'S', 'c', 'v', 'X', 'm', 'b', 'a', 'l', 'l', 'w', 'R', 'b', 'W'], [6245, 6001, 'm', 'L', 'o', 7883, 'v', 833, 'n', 9131, 'F', 913, 'z', 'A', 'p', 'v', 4669, 't', 'i', 5055, 8833, 2829, '789', 'M', 'c', '431', '3497', '6001', '3601', 'Q', 'R', 'k', 'D', 'k', 'q', '343', 'b', 'j', '4465', '7421', '3927', 'G', '6047', '8287', '187', '2247', 'w', 'S', 'c', 'v', 'X', 'k', 2275, 'p', 1367, 4807, 5581, 7895]

Ex Output:
789, M, c, 431, 3497, 6001, 3601, Q, R, k, D, k, q, 343, b, j, 4465, 7421, 3927, G, 6047, 8287, 187, 2247, w, S, c, v, X


Ex Input:
['v', 6877, 'E', 'O', 'z', '1017', 'l', 'A', 'l', 3499], [7437, 9369, 1355, 'R', 'z', '1017', 'l', 'A', 'j', 'u', 7319]

Ex Output:

z, 1017, l, A