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

Input: Consider Input: [5703, 'd', 2573, 'V', 9273, '7133', 'O', '6191', '6151', '5017', 'c', 'b', '1721', 'Z', 'J', 'C', 'O', 6077, 1125, 1345, 8989], ['f', 59, 8449, 5387, 8075, 9721, 5271, '7133', 'O', '6191', '6151', '5017', 'c', 'b', '1721', 2375, 3141, 'Z', 'Y', 'N']

Output: 7133, O, 6191, 6151, 5017, c, b, 1721


Input: Consider Input: ['H', 9227, 9923, 7577, 8169, 'k', 'B', 'L', 6329, '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'Y', 'M', 7749, 'm', 4159, 'C', 3319, 9363, 2283, 'm', 4571, 'e'], ['u', 'Z', 'r', 1503, 'G', 9799, 'z', 'F', 'b', 'N', '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'J', 7431, 3855, 4535, 6657, 8809, 7885, 'U', 1753, 3423]

Output: 4183, 5427, 255, Y, C, g, I, J, 6847, D, 2735, X


Input: Consider Input: ['K', 's', 'o', 6883, 'r', 'E', 'A', 'a', 'v', 'z', 'J', 'M', '4215', 'W', 'F', 'e', 'G', 'p', '3301', 'e', 'N', 4015, 'R', 'K', 113, 'a', 7389, 9749, 7723], ['Z', 'z', 'l', 'J', 'M', '4215', 'W', 'F', 'e', 'G', 'p', '3301', 'e', 'X', 7145, 'u', 9639, 'O', 'n', 'K', 'K', 9413]


Output: J, M, 4215, W, F, e, G, p, 3301, e