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

Input: Consider Input: [8711, 'f', 8715, 7649, 4967, '5867', 'i', '6567', 'R', '6087', '2945', 'J', 'j', 9099, 6331], ['a', 'T', 'n', 4869, '5867', 'i', '6567', 'R', '6087', '2945', 'M', 3125, 'D', 3835]

Output: 5867, i, 6567, R, 6087, 2945


Input: Consider Input: [891, 1259, 'q', 9801, 3147, 1589, 'u', 'm', 'd', 21, 'm', 'E', 'a', 'K', 'N', '1387', 't', 'w', 'c', 'F', '2369', '2875', 'P', 'B', 'J', '9801', 'j', '6919', 'y', '3757', 'e', 'R', '7811', 'x', 't', '7071', 'W', 'b', 7489, 'B', 'z', 'r'], [8553, 'f', 5473, 9933, 'i', 'L', 'Z', 'r', 1103, 'a', 'H', 9257, 1277, 5689, 6551, 8359, 9607, 'E', 'a', 'K', 'N', '1387', 't', 'w', 'c', 'F', '2369', '2875', 'P', 'B', 'J', '9801', 'j', '6919', 'y', '3757', 'e', 'R', '7811', 'x', 't', '7071', 'W', 'i', 'E', 'V', 'S', 6121, 'q', 't', 'U', 1311, 'q', 3583, 7505, 265, 3415, 'j', 'w']

Output: E, a, K, N, 1387, t, w, c, F, 2369, 2875, P, B, J, 9801, j, 6919, y, 3757, e, R, 7811, x, t, 7071, W


Input: Consider Input: ['Y', 4039, 9081, '4359', 'h', 'k', '9313', 'a', '4029', 'k', '4449', 'C', '2235', 'o', '9045', 'u', 9745, 'G', 'T', 1209, 'U', 1609, 'F', 'V', 7295, 6141, 7895], ['q', 'v', 675, 8083, 105, 7017, 2857, 'D', 6985, 9577, 5647, 'C', '4359', 'h', 'k', '9313', 'a', '4029', 'k', '4449', 'C', '2235', 'o', '9045', 'v', 'l', 'y', 'G', 1253, 1755]


Output: 4359, h, k, 9313, a, 4029, k, 4449, C, 2235, o, 9045