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

Input: Consider Input: [8937, 'k', 'O', 'p', 'C', 1375, 'i', 'X', 'l', 'L', 'u', 'C', 5395, 'n', 6919, 8055, 1091, '789', 'M', 'c', '431', '3497', '6001', '3601', 'Q', 'R', 'k', 'D', 'k', 'q', '343', 'b', 'j', '4465', '7421', '3927', 'G', '6047', '8287', '187', '2247', 'w', 'S', 'c', 'v', 'X', 'm', 'b', 'a', 'l', 'l', 'w', 'R', 'b', 'W'], [6245, 6001, 'm', 'L', 'o', 7883, 'v', 833, 'n', 9131, 'F', 913, 'z', 'A', 'p', 'v', 4669, 't', 'i', 5055, 8833, 2829, '789', 'M', 'c', '431', '3497', '6001', '3601', 'Q', 'R', 'k', 'D', 'k', 'q', '343', 'b', 'j', '4465', '7421', '3927', 'G', '6047', '8287', '187', '2247', 'w', 'S', 'c', 'v', 'X', 'k', 2275, 'p', 1367, 4807, 5581, 7895]

Output: 789, M, c, 431, 3497, 6001, 3601, Q, R, k, D, k, q, 343, b, j, 4465, 7421, 3927, G, 6047, 8287, 187, 2247, w, S, c, v, X


Input: Consider Input: ['R', 'k', 'g', 4045, 'W', '4923', '9161', '4031', '7443', 'f', 'U', 2683, 'Y'], [943, 'v', '4923', '9161', '4031', '7443', 'f', 't', 'm', 9213]

Output: 4923, 9161, 4031, 7443, f


Input: Consider Input: [7237, 5011, 7385, 8711, 'x', 'x', 'V', '2431', 'f', '579', 'a', '2663', '2605', 'k', '4607', '517', 'v', '1441', 'r', '1729', '4445', 'i', 'y', '2727', 'U', '8423', 'k', '8035', '9413', '723', '8519', 'P', 's', '1885', 'm', 'i', 'Z', 'k', 4667, 'F', 'C', 'Y', 's', 69, 855, 1193, 6997, 8759, 2463, 7389, 9513, 963], ['s', 'f', 8079, 'U', 2925, 4973, 9737, 9171, 6619, 'y', 8543, 7715, 7943, 'Z', 9351, 4425, 5381, 8181, 6865, 'j', 'V', '2431', 'f', '579', 'a', '2663', '2605', 'k', '4607', '517', 'v', '1441', 'r', '1729', '4445', 'i', 'y', '2727', 'U', '8423', 'k', '8035', '9413', '723', '8519', 'P', 's', '1885', 'e', 's', 'S', 7169, 7891, 1261, 4119, 'b', 'W', 6817, 7715, 'r']


Output: V, 2431, f, 579, a, 2663, 2605, k, 4607, 517, v, 1441, r, 1729, 4445, i, y, 2727, U, 8423, k, 8035, 9413, 723, 8519, P, s, 1885