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

Input: Consider Input: ['c', 'N', 9495, 305, 1779, 7447, 8519, 2777, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'A', 'p', 'k', 'h', 'A', 7013, 509, 'G'], ['V', 2467, 9505, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'W', 4557, 's', 4431]

Output: 2205, 2411, 4203, g, V, 8037, h, 5963, L, 715


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: [257, 'o', '7097', '5913', 'U', 'Z', '3503', 'H', '4393', 'F', 'J', '4291', '3009', 'M', 'g', 'b', '4645', 'B', 'b', 'z', 'H', 2381, 3345, 'K'], ['C', 4147, 895, 181, 'k', 'u', 's', 'o', 'R', '7097', '5913', 'U', 'Z', '3503', 'H', '4393', 'F', 'J', '4291', '3009', 'M', 'g', 'b', '4645', 'B', 'b', 'Q', 407, 'W', 4639, 'v', 8525, 'v', 'U', 'B']


Output: 7097, 5913, U, Z, 3503, H, 4393, F, J, 4291, 3009, M, g, b, 4645, B, b