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

Input: Consider Input: [2901, 's', 'N', 'Y', 6789, 6503, 5325, 2735, 'F', 'W', 'e', 5563, 'g', '787', '3713', 'E', '2161', 'M', 'Z', '855', '221', 'l', 'E', 'K', '2681', '2533', '3469', '3237', '1355', 's', 'S', 'm', '9223', '4319', '8883', 'U', 'k', 'W', 8641, 'U', 2749], [7483, 8513, 'u', 'l', 'L', 329, 'R', 9101, 'k', 'L', 5495, 8843, 1707, 'V', 'K', 'o', 'e', 7983, 7331, 'O', 229, 'y', 4901, 'Z', '787', '3713', 'E', '2161', 'M', 'Z', '855', '221', 'l', 'E', 'K', '2681', '2533', '3469', '3237', '1355', 's', 'S', 'm', '9223', '4319', '8883', 'U', 'k', 'j', 3703, 2391, 'G', 's', 'd', 'b', 391, 'Q', 6159, 'e', 'K', 'a', 'c', 'A', 7423, 41]

Output: 787, 3713, E, 2161, M, Z, 855, 221, l, E, K, 2681, 2533, 3469, 3237, 1355, s, S, m, 9223, 4319, 8883, U, k


Input: Consider Input: ['C', 1723, 8981, 3173, 3163, 'j', 'L', 4781, 'N', '5925', '2501', '9697', 'v', 'C', 'O', 'A', '9205', '8339', '3385', 'w', 3467, 'j', 6655, 'P', 8443, 9655], ['v', 'W', 5661, 'z', 'm', 8477, '5925', '2501', '9697', 'v', 'C', 'O', 'A', '9205', '8339', '3385', 'S', 6891, 'H', 'B', 8541]

Output: 5925, 2501, 9697, v, C, O, A, 9205, 8339, 3385


Input: Consider Input: [2463, 4655, 'a', 'W', 'G', 2317], ['P', 'u', 'a', 'W', 'P', 'Y']


Output: a, W