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

Input: Consider Input: ['S', 'd', 'z', 2305, '2731', 'W', '5987', '4043', 'w', 'v', 'S', 'v', '1143', '1725', '9073', '4411', '9321', '1213', '3111', '2527', 'U', 'U', 'y', 'N', 'n', 6769], ['Q', 'T', 'n', 1267, 5099, 57, 4739, 295, 8099, 'n', '2731', 'W', '5987', '4043', 'w', 'v', 'S', 'v', '1143', '1725', '9073', '4411', '9321', '1213', '3111', '2527', 'U', 'K', 'n', 'N', 'b', 3941, 3443, 'A', 7927, 'g', 'h']

Output: 2731, W, 5987, 4043, w, v, S, v, 1143, 1725, 9073, 4411, 9321, 1213, 3111, 2527, U


Input: Consider Input: [9369, 5975, 'W', 'd', 'I', 6029, 3693, 'I', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'w', 'k', 'B', 'o', 'T', 4201, 7599, 'c', 'W'], ['p', 'p', 'L', 'J', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'Y', 'P', 8947, 'q']

Output: 8101, K, 5209, l, v, W, 4841, 6399, T, F, k, 2165


Input: Consider Input: [9879, 8749, 'H', 2265, 'D', 1917, 'p', 8447, 2459, 4111, 'T', 'k', 8167, 5613, 'r', 'D', '6899', 'u', '3279', 'm', '2783', '4509', '2993', '5297', 'C', 'A', '6347', 'X', '7437', '5973', '6331', '3347', 'n', '5967', '9563', 'Z', 'q', 'u', '4217', '4395', '8731', 'R', 5405, 8627, 'S', 5807, 'y', 4293, 'Z', 3533, 8429, 'H', 'Y', 's', 4379, 'z', 'F', 7543, 'i', 7825, 'f', 'C', 'Z', 6205], [5, 7759, 'M', 'H', '6899', 'u', '3279', 'm', '2783', '4509', '2993', '5297', 'C', 'A', '6347', 'X', '7437', '5973', '6331', '3347', 'n', '5967', '9563', 'Z', 'q', 'u', '4217', '4395', '8731', 't', 'n', 'g', 1185, 'L', 5687, 1947, 'V', 3399]


Output: 6899, u, 3279, m, 2783, 4509, 2993, 5297, C, A, 6347, X, 7437, 5973, 6331, 3347, n, 5967, 9563, Z, q, u, 4217, 4395, 8731