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

Ex Input:
[2799, 'R', 's', '9885', 's', 'c', '7143', 'H', '445', 'F', 9229, 'B', 5169, 'T', 's'], [109, 'u', 'f', 2303, 1495, 5041, '9885', 's', 'c', '7143', 'H', '445', 'v', 7261]

Ex Output:
9885, s, c, 7143, H, 445


Ex 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]

Ex 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


Ex Input:
['a', 'v', 'M', 'm', 2007, 9439, 'z', 'p', 3205, 't', 2313, 'I', 'w', 'G', '7137', '2843', 'Z', '2783', '1747', '1223', '3509', '2457', '2589', 'G', 'V', 'l', '5027', 'v', 'Y', '9979', '8267', 'C', 'V', '3067', 'z', '3277', 'N', 1261, 6675, 5147, 'y', 51, 'K', 2633], [937, 'e', 'L', 2175, 1619, 9635, 8259, 8749, 3099, 'R', 'N', 'k', 9923, 'T', 'S', 'H', 6347, 'N', 9167, 'l', 's', 6979, 'I', 'w', 'G', '7137', '2843', 'Z', '2783', '1747', '1223', '3509', '2457', '2589', 'G', 'V', 'l', '5027', 'v', 'Y', '9979', '8267', 'C', 'V', '3067', 'z', '3277', 'e', 'U', 'h', 'T', 445, 4699, 9047, 'i', 'O', 'b', 'T', 3725, 'Y', 1623, 7671, 's', 'q', 'W', 'p', 2293]

Ex Output:

I, w, G, 7137, 2843, Z, 2783, 1747, 1223, 3509, 2457, 2589, G, V, l, 5027, v, Y, 9979, 8267, C, V, 3067, z, 3277