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

Ex Input:
[2901, 's', 'N', 'Y', 6789, 6503, 5325, 2735, 'F', 'W', 'e', 5563, 'g', '787', '3713', 'E', '2161', 'M', 'Z', '855', '221', 'l', 'E', 'K', '2681', '2533', '3469', '3237', '1355', 's', 'S', 'm', '9223', '4319', '8883', 'U', 'k', 'W', 8641, 'U', 2749], [7483, 8513, 'u', 'l', 'L', 329, 'R', 9101, 'k', 'L', 5495, 8843, 1707, 'V', 'K', 'o', 'e', 7983, 7331, 'O', 229, 'y', 4901, 'Z', '787', '3713', 'E', '2161', 'M', 'Z', '855', '221', 'l', 'E', 'K', '2681', '2533', '3469', '3237', '1355', 's', 'S', 'm', '9223', '4319', '8883', 'U', 'k', 'j', 3703, 2391, 'G', 's', 'd', 'b', 391, 'Q', 6159, 'e', 'K', 'a', 'c', 'A', 7423, 41]

Ex Output:
787, 3713, E, 2161, M, Z, 855, 221, l, E, K, 2681, 2533, 3469, 3237, 1355, s, S, m, 9223, 4319, 8883, U, k


Ex Input:
[2433, 'X', 8485, 1927, 2127, 8173, 7755, 4795, 4389, 1533, 'F', 'J', 'm', '815', 'i', '8555', '2391', 'M', 'c', 'c', 'h', '2677', '4129', 'y', '3999', 'n', 'Z', 'W', '9019', '5685', 'g', 'e', 'D', '3315', 'z', 'S', 'P', 75, 7819, 'j', 'm', 6861, 'R', 3931, 167, 9437, 'q', 5607, 'S', 5939, 'D', 'p', 'w', 689, 4265], [1169, 'I', 'E', 'Q', 9433, 99, 'S', 2367, 7367, 8127, 'I', 3203, 'f', 'n', 4635, 'J', 'm', '815', 'i', '8555', '2391', 'M', 'c', 'c', 'h', '2677', '4129', 'y', '3999', 'n', 'Z', 'W', '9019', '5685', 'g', 'e', 'D', '3315', 'E', 'J']

Ex Output:
J, m, 815, i, 8555, 2391, M, c, c, h, 2677, 4129, y, 3999, n, Z, W, 9019, 5685, g, e, D, 3315


Ex Input:
['u', 8723, 'o', '7743', 'o', '5609', '9069', 'S', 'a', '295', 'T', 2817, 2851, 8955, 'x'], ['h', 'P', 4857, 5357, 'o', '7743', 'o', '5609', '9069', 'S', 'a', '295', 'a', 'Y', 'i', 6591, 9013, 9037, 'f', 'm']

Ex Output:

o, 7743, o, 5609, 9069, S, a, 295