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

Ex Input:
[9577, 'v', 2595, 7901, 5205, 'Z', 2647, 'm', 't', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'i', 9823, 5731, 'd', 'u', 1461, 'Z', 9415, 541, 'T', 'A', 'G', 7275], [9731, 4061, 'V', 'k', 9589, 'v', 'k', 7917, 'x', 'B', 'z', 31, 'K', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'n', 'J', 'g', 8859, 195, 'l']

Ex Output:
h, 6209, 6325, B, 8879, 1137, 7837, 1819, S, 2249, i, L, 3729


Ex Input:
[7449, 1055, 'd', 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'N', 'd', 83, 'a', 'd', 3257, 3697, 'p', 9587, 4343, 8761, 8435, 'q', 909], ['F', 'V', 3405, 6049, 8373, 8397, 9195, 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'E', 'W', 'U', 'T', 'L', 2711, 'R', 'm']

Ex Output:
q, 3157, 6365, v, b, H, n, B, 4283, m, c, V, h, 3207, 3795, j, l, j, K, k


Ex Input:
['D', 4979, 6421, 4043, 7623, 2519, 9087, 'X', 4711, 'K', 525, 'n', 7459, 6401, 6767, 'w', 133, 2605, 693, '5459', '4499', '9453', '3401', 'M', 'j', 'f', '4773', 'n', 'b', 'R', 'w', 'K', '9923', '2109', 'n', '7129', 'J', '7911', 'e', '8983', '5495', 'C', '3655', '6385', 'T', 'Y', 6069, 3961, 8707, 5877, 447, 'A', 'a', 'm', 4065, 6903, 759, 8365, 'v', 'n', 'H', 8245, 1795, 2845, 3249, 423, 'U', 'o', 'Z', 'c'], [7525, 4225, 'H', 'o', 'L', 7533, 5377, 'W', 'x', 'L', 'T', 379, 1913, 3181, '5459', '4499', '9453', '3401', 'M', 'j', 'f', '4773', 'n', 'b', 'R', 'w', 'K', '9923', '2109', 'n', '7129', 'J', '7911', 'e', '8983', '5495', 'C', '3655', '6385', 'T', 'A', 'q', 's', 'L', 'J', 'F', 'Z', 8889, 'h', 2359, 'N', 7863, 'x', 1573, 4741, 'x', 'x', 8385, 6183, 'X', 8259, 'O', 'A']

Ex Output:

5459, 4499, 9453, 3401, M, j, f, 4773, n, b, R, w, K, 9923, 2109, n, 7129, J, 7911, e, 8983, 5495, C, 3655, 6385, T