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

Input: Consider Input: ['J', 'G', 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'm', 't', 'z', 9681, 'z'], ['Q', 4625, 4609, 2245, 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'A', 9751, 'U', 7397]

Output: h, z, 6979, W, W, 7681, s, 8827


Input: Consider Input: [3469, 'O', 'M', 6609, 9577, 'j', 2707, 9267, 'a', 'Z', 'Q', 3461, 'u', 'V', '5791', '1939', 't', 'B', 'Z', 'r', 'v', '4499', '4929', 'S', '3917', 'G', '5357', '9449', '8413', '8381', 'A', '2315', '2553', '5749', 'G', 'V', 'K', '4899', '8425', '937', '1877', '4943', 'e', 5997, 'e', 'q', 'x', 3285, 1197, 'z', 9411], [9093, 'U', 's', 6889, 1183, 1171, 5713, 'A', 8885, 6275, 'I', 'j', '5791', '1939', 't', 'B', 'Z', 'r', 'v', '4499', '4929', 'S', '3917', 'G', '5357', '9449', '8413', '8381', 'A', '2315', '2553', '5749', 'G', 'V', 'K', '4899', '8425', '937', '1877', '4943', 'H', 'M', 'K']

Output: 5791, 1939, t, B, Z, r, v, 4499, 4929, S, 3917, G, 5357, 9449, 8413, 8381, A, 2315, 2553, 5749, G, V, K, 4899, 8425, 937, 1877, 4943


Input: Consider Input: [9137, 513, 8597, 2539, 2711, 'I', 'n', 'S', 'o', 'e', 533, 'E', 5457, '1521', '5791', '3807', 's', '7493', 'F', '8285', 'G', 'A', 'Z', '6151', '2249', 'v', '3769', 'z', '2315', '8365', '2309', '8929', 'u', 'V', 7051, 'D', 'q'], [4185, 9767, 'D', 'f', 9731, 'R', 2321, 3023, '1521', '5791', '3807', 's', '7493', 'F', '8285', 'G', 'A', 'Z', '6151', '2249', 'v', '3769', 'z', '2315', '8365', '2309', '8929', 'u', 'J', 'M', 7607, 5483, 'B', 2437, 3665, 'a', 7041, 8693, 4435, 'z', 'H', 669]


Output: 1521, 5791, 3807, s, 7493, F, 8285, G, A, Z, 6151, 2249, v, 3769, z, 2315, 8365, 2309, 8929, u