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: ['K', 6723, 7053, 'g', 6793, 'h', 'C', 'H', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'T', 'o', 'j', 5777, 3173, 'N', 'Q', 'O', 'm', 4693], ['r', 5349, 503, 'Q', 8435, 'Y', 6633, 'W', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'Q', 'Z', 8433, 'h', 8205, 'm', 6605, 5051, 'w', 'o', 3177, 't', 9005, 'v', 'G']

Output: J, K, 1061, 9585, F, l, 5651, f, P, 9147, 5227, 2861, 6421, V, 1009, 6639, 3701


Input: Consider Input: ['B', 'L', 3509, 'I', 'g', 'u', 'i', '1459', 'g', '9611', '2749', 'L', 'a', 'z', 'K', '4409', 'n', 'J', 'q'], ['t', 'M', 's', 4895, 937, 'E', 1975, 4115, 'X', 'I', 'g', 'u', 'i', '1459', 'g', '9611', '2749', 'L', 'a', 'z', 'K', '4409', 'n', 'x', 'y', 'b', 'T', 3657, 6027, 'A', 5361, 9079, 'K', 8609]


Output: I, g, u, i, 1459, g, 9611, 2749, L, a, z, K, 4409, n