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

Input: Consider Input: ['M', 7643, 'K', 8165, 'e', '6737', '6573', '9181', 'n', 'l', '6555', '7291', '1765', 'Q', '4605', '7507', '6775', 'x', 'n', '8703', 'y', '2301', 'E', 'L', 5655, 5237, 'G', 'H', 'g', 'K', 9089], ['t', 1921, 'e', '6737', '6573', '9181', 'n', 'l', '6555', '7291', '1765', 'Q', '4605', '7507', '6775', 'x', 'n', '8703', 'y', '2301', 'E', 'H', 2771, 7085]

Output: e, 6737, 6573, 9181, n, l, 6555, 7291, 1765, Q, 4605, 7507, 6775, x, n, 8703, y, 2301, E


Input: Consider Input: ['f', 8855, 'N', 8821, 10001, 6833, 'R', 'I', 1167, 87, 'Y', 'H', 673, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'c', 'd', 'U', 143, 'k', 9757, 943, 'C', 'q', 'u', 'n', 1545, 941], ['T', 7625, 'Y', 'j', 'O', 3075, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'v', 'D', 'g', 'o', 'O', 2255, 'a', 5303, 569, 5721, 'S', 5411, 'E']

Output: 4021, S, 3407, z, 895, j, 9897, U, 3747, S, p, v, y


Input: Consider Input: ['i', 9089, 'v', 3587, 797, '3179', 'L', 'E', 'v', '1201', 'N', 'V', 'j', 'I', 'k', '2371', '6561', 'g', 'u', '8517', 'Q', 'F', 'G', 'j', 'V', 'c', 8457], ['m', 'q', 'M', 9351, 7793, 'Z', 'c', 2989, 5045, '3179', 'L', 'E', 'v', '1201', 'N', 'V', 'j', 'I', 'k', '2371', '6561', 'g', 'u', '8517', 'Q', 'F', 'G', 'T', 8659, 2179, 4153, 'O', 'j', 'X', 'u', 'j', 9323]


Output: 3179, L, E, v, 1201, N, V, j, I, k, 2371, 6561, g, u, 8517, Q, F, G