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

Input: Consider Input: [6921, 9035, 1815, 'T', 7393, 6607, 'D', 'c', 293, 'U', 4409, 4737, 3515, 'I', 'a', '839', 'q', 'n', '2571', '5999', 'L', 'k', '9745', '9023', '7365', 'C', '2893', 'n', '7783', 'E', '5071', 'Z', '3647', 'f', '7281', '8791', 'U', 't', '3969', '2029', 'i', 'o', 'a', 'M', 7035, 'v', 4907, 'l', 9767, 9189, 6353, 2883, 'F', 'x', 7665, 6801, 'x', 'J', 'G', 5361, 'f', 'Y', 'u', 'K', 'c', 1779, 1115], [587, 779, 525, 'i', 's', 4247, 5713, 'I', 'a', '839', 'q', 'n', '2571', '5999', 'L', 'k', '9745', '9023', '7365', 'C', '2893', 'n', '7783', 'E', '5071', 'Z', '3647', 'f', '7281', '8791', 'U', 't', '3969', '2029', 'i', 'u', 4957, 'c', 'k', 5231, 'i', 'T', 'q', 'd']

Output: I, a, 839, q, n, 2571, 5999, L, k, 9745, 9023, 7365, C, 2893, n, 7783, E, 5071, Z, 3647, f, 7281, 8791, U, t, 3969, 2029, i


Input: Consider Input: ['q', 6247, 7691, 'M', 'i', 3857, 'J', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'a', 8713, 'a', 2717, 'y', 'l', 't', 1815, 9507, 1713, 'N'], ['Z', 7463, 6215, 'r', 43, 'h', 3841, 9317, 'J', 'x', 6735, 'b', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'Q', 'c', 'B', 9989, 'd', 875, 1185, 7121, 5559, 'k', 2289]

Output: 249, j, 3315, Y, q, K, B, h, M, i, 3947, 8559, 1833, q, x, 1469, 7579, 421, F, y, c, 9043, r, N, O, N, Z


Input: Consider Input: ['b', 1655, 'c', 'U', 'g', '945', 'P', '6291', 'E', 'g', 'V', 'X', 6259, 'h'], [5857, 'm', 5521, 'g', '945', 'P', '6291', 'E', 'g', 'H', 'F', 9971, 'm', 8305]


Output: g, 945, P, 6291, E, g