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

Input: Consider Input: ['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']

Output: 5181, q, c, W, r


Input: Consider Input: [1065, 2741, 'w', 'B', 'X', '5865', 's', '2579', '3679', 'K', 4415, 5237], [9019, 4795, 8363, 1935, 9883, 'X', '5865', 's', '2579', '3679', 'y', 4605, 8603, 1243, 9199]

Output: X, 5865, s, 2579, 3679


Input: Consider Input: [8137, 'L', 5, 3255, 'o', 8545, 4053, 'Y', 'e', 'n', 2451, 5923, 4721, 'y', 4461, 7823, 7971, 'o', 'k', '8809', 'c', 'd', '2767', '2477', '7853', '2535', 'o', 'B', 'S', '3987', 'w', '2855', '4331', 'N', 'T', '2717', '6599', 'O', '4187', 'Y', 'I', 's', 'B', 8305, 'l'], [7309, 9177, 't', 3921, 'Y', 4123, 7209, 8575, 't', 'Y', 3903, 'Q', 'b', 8983, 'J', 'y', 4387, 'k', '8809', 'c', 'd', '2767', '2477', '7853', '2535', 'o', 'B', 'S', '3987', 'w', '2855', '4331', 'N', 'T', '2717', '6599', 'O', '4187', 'B', 'b', 1443, 'U', 'O', 'E', 'R', 'b']


Output: k, 8809, c, d, 2767, 2477, 7853, 2535, o, B, S, 3987, w, 2855, 4331, N, T, 2717, 6599, O, 4187