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: ['K', 4691, 'I', '2495', '1015', 'L', '581', 'b', 9477], ['k', 2419, 'd', 'I', '2495', '1015', 'L', '581', 'r', 's', 6673, 5755]

Output: I, 2495, 1015, L, 581


Input: Consider Input: ['Q', 'I', 't', 'b', 9175, 2827, 'P', 'v', 8293, 'c', 1863, 'J', 's', '6749', '5147', 'e', 'O', '8605', '613', '7647', '5691', 'v', '2303', '7061', '1091', '8563', 'T', '511', 'U', '8991', '231', 'f', '8793', '2147', '6075', 'p', 'i', 9597, 4909, 'J'], ['S', 'a', 9123, 'I', 'F', 'z', 3481, 4235, 'X', 'I', 6447, 6365, 'T', '6749', '5147', 'e', 'O', '8605', '613', '7647', '5691', 'v', '2303', '7061', '1091', '8563', 'T', '511', 'U', '8991', '231', 'f', '8793', '2147', '6075', 'p', 'Q', 'R', 'W', 'm', 719, 'A', 'h', 3093, 'O', 8221, 9879, 'W', 6953, 8729, 2853, 3651, 'X', 2079, 4499, 'Q', 7143]


Output: 6749, 5147, e, O, 8605, 613, 7647, 5691, v, 2303, 7061, 1091, 8563, T, 511, U, 8991, 231, f, 8793, 2147, 6075, p