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

Example Input: [8903, 3375, 'w', 1053, 3561, 'm', 'n', 525, 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'k', 6765, 'Z', 10011, 'r', 983, 'm', 1725, 4499, 'b', 'w', 4247, 3031, 2341, 'K', 5849, 8609, 'b', 'Q', 9443], [4217, 7417, 7593, 7021, 'x', 'n', 'w', 'G', 'p', 1559, 5043, 's', 'x', 1433, 'U', 6581, 'w', 5419, 'M', 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'n', 7429, 1747, 'f', 'Q', 7365, 'X', 'r', 'f', 1747, 'H', 'w', 7691, 'Y']
Example Output: X, 405, m, s, 1099, 2317, O, 2573, l, 3259, 4463, 9185, 3407, v, 9943, C, M, O, 3067, 2717, W, B, 5015, m, 6297, 301

Example Input: [4275, 8037, 5099, 'T', 2089, 'E', 5305, 'r', 'k', 9537, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'O', 2707, 8633, 8875, 9045, 'q'], [3221, 'f', 3167, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'C', 3665, 'm', 6901, 3441, 5601, 6983, 'i', 'z']
Example Output: 57, v, 6257, 5991, 6455, a, 9565, 885, F, 2219, 2797, 9309, J

Example Input: ['P', 'F', 4573, 'w', 9885, 'p', 'Q', 3275, 2959, 1529, 'i', 'p', 7579, 'W', 'X', 1809, 5375, 'P', 2823, 8207, 'P', 7707, '5485', 'z', '6943', 'A', '4013', 'R', 'J', 'g', 'S', 'N', 'P', 'D', 'K', 's', 'J', 'u', '5139', '3105', 'O', '2627', 'T', '515', 'f', 'v', 'C', 'V', 'L', 'U', 'c', 'b', 7059, 'A', 3237, 'D', 'q', 'i', 'S', 8257, 9091, 'v', 'Y', 'A', 'v', 'q', 5111, 'C', 5783, 'k'], ['W', 1655, 2427, 'R', 433, 't', 't', 'R', 8531, 3229, 'S', 4861, 'D', 9901, 8967, 5967, 585, 'Z', 3371, 'A', 'Y', 'd', '5485', 'z', '6943', 'A', '4013', 'R', 'J', 'g', 'S', 'N', 'P', 'D', 'K', 's', 'J', 'u', '5139', '3105', 'O', '2627', 'T', '515', 'f', 'v', 'C', 'V', 'L', 'U', 'c', 'X', 525]
Example Output:
5485, z, 6943, A, 4013, R, J, g, S, N, P, D, K, s, J, u, 5139, 3105, O, 2627, T, 515, f, v, C, V, L, U, c