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

Input: Consider Input: ['k', 521, 'b', 'j', 8637, 2323, 'S', 2743, 'I', 5351, 'B', 1525, 6545, 5197, 'Y', 'S', 'F', '8581', 'C', '2183', 'Q', 'N', '1435', 'E', '8709', '7613', 'C', '7381', '7499', '9041', '1479', 'I', 's', '7101', '6233', '9063', '9969', '5315', 'e', '2495', 'x', 8587, 1937, 1217, 'w', 'o', 'J', 'H', 'N'], [4927, 7101, 1961, 1277, 6009, 'x', 6541, 'h', 'S', 'F', '8581', 'C', '2183', 'Q', 'N', '1435', 'E', '8709', '7613', 'C', '7381', '7499', '9041', '1479', 'I', 's', '7101', '6233', '9063', '9969', '5315', 'e', '2495', 'f', 't', 'l', 3599, 'z', 'S', 7683, 'I', 101, 'D', 'E', 4087, 3221, 'n', 'R', 1809, 7069, 7145, 5573, 8597, 2473]

Output: S, F, 8581, C, 2183, Q, N, 1435, E, 8709, 7613, C, 7381, 7499, 9041, 1479, I, s, 7101, 6233, 9063, 9969, 5315, e, 2495


Input: Consider 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']

Output: 5875, 3561, 2131, L, 9023, A, 4107, Y, h, A, 8649, 6349, S, 1841, X, Y, 8859, 2327, x, 6845


Input: Consider Input: [1221, 'r', 7453, 'V', '285', '3847', 'z', '1739', '6577', 'f', '3035', '7451', '8833', 'T', 'M', 'V', 2963, 4415, 'Y', 'l'], [2081, 9663, 'z', 'o', 7481, 1697, 149, 'J', 2707, '285', '3847', 'z', '1739', '6577', 'f', '3035', '7451', '8833', 'T', 'M', 'S', 3031, 'T', 'S', 9059, 6505, 9961, 6341, 'v', 'x', 'u']


Output: 285, 3847, z, 1739, 6577, f, 3035, 7451, 8833, T, M