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

Ex Input:
['i', 2153, 8879, 'Q', 9403, 6667, 'E', 1829, 'b', 'j', 1907, 9167, 3331, 'T', 't', 6039, 'i', 'z', 4097, '1959', 'U', 'q', '8789', 'z', '6135', 'K', '147', '6933', '3647', '9265', '10015', '4259', '7919', '2077', '3797', '631', '7453', 'e', '7297', '4417', '2479', 'H', 'B', 'Y', 'q', 2151, 129, 'd', 'I', 'N', 5573, 'S', 'x', 5201, 'J', 2507, 'Y', 4951, 'b', 8655, 7611, 5419, 3559], ['K', 6565, 'L', 'E', 4757, 'x', 'W', 't', 'X', 's', 2289, 2227, 'm', 's', 661, 8723, 'P', 'U', 'S', 7791, '1959', 'U', 'q', '8789', 'z', '6135', 'K', '147', '6933', '3647', '9265', '10015', '4259', '7919', '2077', '3797', '631', '7453', 'e', '7297', '4417', '2479', 'K', 4161, 'e', 'z', 't', 8701, 5515, 8391, 'C', 9017, 3623, 3777, 'z', 'O', 'w', 7551, 4971, 'U']

Ex Output:
1959, U, q, 8789, z, 6135, K, 147, 6933, 3647, 9265, 10015, 4259, 7919, 2077, 3797, 631, 7453, e, 7297, 4417, 2479


Ex Input:
['o', 4631, 'H', 4271, 'X', 'M', 'M', 'v', 'h', 3455, 's', 5573, 3713, '5283', 'Q', 'H', 'L', 'Z', '7957', 'Q', '2375', 'f', 'V', '9239', '4903', 'r', '2887', '6775', '2073', 'B', '9207', 'k', '9459', 'v', 'z', 'n', 7859, 9927, 2645, 7995, 'g', 'E', 9901, 2539, 'P', 259, 'I', 'x', 'B'], ['T', 9203, 'a', 6639, 7589, 'r', 'k', 7123, 's', 7095, 8209, 'g', 7953, 'L', 'n', 'B', 'p', 'T', '5283', 'Q', 'H', 'L', 'Z', '7957', 'Q', '2375', 'f', 'V', '9239', '4903', 'r', '2887', '6775', '2073', 'B', '9207', 'k', '9459', 'v', 'H', 'z', 'O', 'X', 'B', 'Q', 'u', 'S', 6615, 5559, 'N', 'x']

Ex Output:
5283, Q, H, L, Z, 7957, Q, 2375, f, V, 9239, 4903, r, 2887, 6775, 2073, B, 9207, k, 9459, v


Ex Input:
[365, 6285, 6519, 'Y', 9505, 25, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'q', 4541, 'f', 7421, 'P', 9167, 1141, 1391, 4937, 'L', 5615, 9795, 'o', 'k', 'p', 'a', 1821, 6191, 'V', 4729, 'n', 'y'], [7711, 7519, 'c', 8955, 6119, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'U', 9155, 'e', 4505, 4567, 'o', 7503, 'M', 8255, 'J', 9333, 'i']

Ex Output:

1855, C, U, k, i, m, e, I, S, X, m, m, J, F, 2055, I, T, 373, E, 521, 9519, v, 9097, 8995, 5935, d, K