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

Example Input: [7937, 'O', 't', 'q', 'A', '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'P', 9541, 'K', 'P', 'I', 'd', 2929, 3037, 's', 'o'], [5771, 'e', 6539, 3301, 7501, 1959, 2737, 'W', 347, 'S', 'A', 7789, 1561, 'G', 's', 1703, '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'C', 4525, 2207, 8867, 'D', 'c', 9997, 'f', 'E', 'd', 2503, 527, 's', 'Q', 'Y', 'R', 4405, 'a']
Example Output: 5875, 3561, 2131, L, 9023, A, 4107, Y, h, A, 8649, 6349, S, 1841, X, Y, 8859, 2327, x, 6845

Example Input: ['P', 'h', 9391, 'u', 9757, 'y', 'a', 'j', 'k', 'Y', '2091', 'U', 'p', 7959, 'F'], [1713, 2679, 'y', 'a', 'j', 'k', 'Y', '2091', 'U', 'V', 'r', 't', 'f', 8179]
Example Output: y, a, j, k, Y, 2091, U

Example Input: [5363, 'h', 3845, 6217, 2315, 'm', 'O', 5573, 4601, 7145, 9561, 'q', 'r', 'T', '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'Y', 9545, 6705, 6445, 'X', 7149, 'B', 9079, 'P', 9337, 3641, 3731, 4837, 't'], [4089, 'f', 'A', 'q', 477, '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'q', 't', 'g', 'T', 8621, 'Z', 'L', 'd', 9207, 5705, 'Z', 'l', 'I', 'Z', 1141, 9949, 867, 'H', 'E', 3605, 3617, 331]
Example Output:
619, r, 8913, 7507, 4527, 9313, 7813, 4297, 9581, 561, L, F, 9357, 5175, 1853, K, a, 8575, V, 8283, J, 5341