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

Input: Consider Input: ['Y', 7191, 'w', 'I', 2387, 3493, 'F', 9797, 4797, '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'p', 5525, 3953, 1931, 6723, 7597, 9781, 8621, 'f', 6959, 4341, 5543], [7099, 'h', 'm', 1247, 'F', 2321, 'G', 'c', 'a', 57, 7997, 'Y', '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'd', 'k', 3051, 647]

Output: 1075, i, 2867, 6269, X, 8729, u, X, g, 8731, L, 3791, I, 6677, x


Input: Consider Input: [3043, 'd', 1055, '2909', 'J', 'D', '4735', '6701', 'v', 'P', '4341', '7905', 'G', '5297', '6721', 'Y', 'f', 4599], ['Q', 'X', 2931, 'f', 3139, 'r', 3625, 4375, 'B', 8381, '2909', 'J', 'D', '4735', '6701', 'v', 'P', '4341', '7905', 'G', '5297', '6721', 'N', 8281, 'W', 'u', 5969, 'w', 'b', 1735, 'j']

Output: 2909, J, D, 4735, 6701, v, P, 4341, 7905, G, 5297, 6721


Input: Consider Input: [3903, 9099, 7633, 'B', 'g', 'T', '219', '1249', 'u', 3329, 7395, 1031], [8961, 'V', 8559, 's', 'V', 'B', 'g', 'T', '219', '1249', 'v', 8809]


Output: B, g, T, 219, 1249