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

Ex Input:
[8555, 1665, 'm', 5361, 2523, 'L', 'T', 'P', 'B', 'q', 'W', '2357', '6563', 'd', '8239', 'p', 'c', 'e', 'd', 'S', 'k', 'H', 'U', 'g', 'j', 'r', 't', 'F', 8547, 1815, 1599, 4083, 'm', 9959, 'R', 'L'], [7829, 'N', 1893, 4933, 9825, 9043, 'B', 'q', 'W', '2357', '6563', 'd', '8239', 'p', 'c', 'e', 'd', 'S', 'k', 'H', 'U', 'g', 'j', 'r', 'C', 'p', 2443, 'Q', 'H', 155, 277, 7833, 8183]

Ex Output:
B, q, W, 2357, 6563, d, 8239, p, c, e, d, S, k, H, U, g, j, r


Ex Input:
[675, 'N', '7605', 'W', 'J', 'E', '2099', 'I', 'i'], ['T', 8995, 'E', 'U', '7605', 'W', 'J', 'E', '2099', 'R', 3629, 977]

Ex Output:
7605, W, J, E, 2099


Ex Input:
[8061, 'F', 'R', 'd', 'b', 8375, 1657, 9885, 'f', 2465, 587, 4871, 'm', 'h', 'F', '9227', 'j', '519', 'F', '2571', '5615', 'A', 'I', 'a', '5911', 'V', 'A', 'x', 'O', '5187', '5025', 'z', 't', 't', '3725', 't', 'w', 'Q', '9135', '4055', 'O', 'Z', '8277', '2923', 'G', 7589, 'x', 4327, 'c', 'j', 'c', 't', 4743, 'B', 6459, 'q', 5489], ['Z', 4535, 7457, 7169, 8391, 'x', 'J', 6467, 887, 'm', 'b', 'd', 'U', 6363, 5703, 'u', 3927, 'T', 4061, 6453, 'K', 6315, 'J', 'Q', 9437, 5531, 'b', 'e', 9453, 419, 'F', '9227', 'j', '519', 'F', '2571', '5615', 'A', 'I', 'a', '5911', 'V', 'A', 'x', 'O', '5187', '5025', 'z', 't', 't', '3725', 't', 'w', 'Q', '9135', '4055', 'O', 'Z', '8277', '2923', 't', 9155, 'G', 71, 'K', 'x', 1729, 'n', 8951, 'z', 7127, 8663, 6125, 'K', 'Y', 6471, 'l', 247, 3193, 'C', 'p', 831, 'e', 7685, 'B', 'm', 'j']

Ex Output:

F, 9227, j, 519, F, 2571, 5615, A, I, a, 5911, V, A, x, O, 5187, 5025, z, t, t, 3725, t, w, Q, 9135, 4055, O, Z, 8277, 2923