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

Input: Consider Input: ['o', 'R', 'l', 'y', 8351, 3995, 8667, 'X', 'r', 7749, 's', 9049, 'X', 10021, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'F', 4501, 'N', 'g', 'k', 1891, 8829, 'h', 4055], [3261, 'x', 5565, 'e', 773, 'j', 'h', 317, 5829, 'k', 's', 'I', 2339, 3391, 'L', 'U', 2339, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'g', 5447, 9137, 5965, 'F', 7181, 7811, 9655, 8301, 6751, 't', 1153, 657]

Output: L, 295, M, 6251, k, 925, 9911, 6105, o, 7871, T, h, 7613, 2341, 4205, L, j


Input: Consider Input: ['G', 9195, 'n', 'x', 'A', '3777', 'd', 'K', 'W', '1911', '93', '5157', 'j', 'd', 'L'], ['y', 'I', 8025, 5165, 4825, 'L', 'A', 10001, 'x', 'A', '3777', 'd', 'K', 'W', '1911', '93', '5157', 'E', 'b']

Output: x, A, 3777, d, K, W, 1911, 93, 5157


Input: Consider Input: [7421, 6425, '6171', '1733', '5311', 'g', '2067', 'c', 2405], ['J', 'w', 7073, 'R', 'c', '6171', '1733', '5311', 'g', '2067', 'P', 7885, 'w']


Output: 6171, 1733, 5311, g, 2067