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: [9875, 'g', 8729, 'h', 'F', 'v', 'v', 8307, 6379, 3165, 7055, 'f', 'p', 3707, 'P', 6305, 'h', '9891', '2783', 'D', '7567', '95', 'T', 'U', '2035', 'W', 'C', 'B', '9943', 'B', '9033', '6511', 'e', '2623', 'O', 'Z', 'k', 7761], [9061, 1241, 'd', 3917, 'm', 9457, 'n', 1493, 725, 'O', 'h', '9891', '2783', 'D', '7567', '95', 'T', 'U', '2035', 'W', 'C', 'B', '9943', 'B', '9033', '6511', 'e', '2623', 'O', 'Z', 'o', 'J', 'c', 6919, 'O', 'O', 8809, 'J', 'v', 'O', 4633, 941, 'z', 6667, 'X', 'C', 'd', 5189]

Output: h, 9891, 2783, D, 7567, 95, T, U, 2035, W, C, B, 9943, B, 9033, 6511, e, 2623, O, Z


Input: Consider Input: ['h', 'H', 't', 'r', '4083', '5575', 'M', '8729', '3899', 'Z', 'z', 'm', 'O', 'n', 'l', 's', 1253, 9921, 2923, 103, 583], [1669, 8683, 9711, 't', 'r', '4083', '5575', 'M', '8729', '3899', 'Z', 'z', 'm', 'O', 'e', 'E']


Output: t, r, 4083, 5575, M, 8729, 3899, Z, z, m, O