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

Example 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']
Example 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

Example 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']
Example Output: 5283, Q, H, L, Z, 7957, Q, 2375, f, V, 9239, 4903, r, 2887, 6775, 2073, B, 9207, k, 9459, v

Example Input: ['V', 'K', 7411, 3215, 5407, 'V', 'm', 3863, 5399, 'w', 'c', 8173, 4349, 6805, 2519, '9283', 'w', 'a', '1791', 'D', 'n', 'O', 'M', 'x', 'Z', 'N', '1355', '4901', 'y', '2309', 'x', 'V', '8737', 'j', 'D', '7595', 'V', 'I', 'w', 'O', 6089, 'o', 'k', 'T', 469, 8387, 'Y', 5751, 5709, 3875, 'B'], ['f', 'X', 'P', 5837, '9283', 'w', 'a', '1791', 'D', 'n', 'O', 'M', 'x', 'Z', 'N', '1355', '4901', 'y', '2309', 'x', 'V', '8737', 'j', 'D', '7595', 'V', 'R', 'Q', 7657, 'K', 'r', 5777, 4089, 'I', 9389, 'q', 's', 'y', 8047, 6901, 'T', 8157, 5, 943, 7767, 'W']
Example Output:
9283, w, a, 1791, D, n, O, M, x, Z, N, 1355, 4901, y, 2309, x, V, 8737, j, D, 7595, V