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

Ex Input:
[7491, 'w', 'F', 2929, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'X', 'n', 821, 1983, 'S', 6305, 'O', 6533, 'q', 901, 'U', 2911], [3143, 1605, 4373, 'T', 7055, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'r', 'Z', 943, 861, 8883, 'b', 'n', 3409, 8943, 'M']

Ex Output:
6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093


Ex Input:
[6129, 5205, 127, 9057, 6969, 'A', 5777, 2053, 2141, 7555, 'n', 5593, 4695, 2315, 913, 'b', 3471, 2447, 6689, 'B', '1717', 'S', '9761', '4155', '5049', '879', 'n', '7459', '8765', 'p', '5109', '3135', 'F', '4463', '103', '7581', '7305', 'Q', 'V', 'f', '4413', 'E', 'L', '7993', 'Q', 'E', '9719', '6599', 'u', '2895', 'j', 3893, 855, 'M', 831, 'q', 'V', 'h', 'l', 5363, 'H'], [8061, 5223, 'A', 4297, 'e', 4831, 'w', 'a', 8171, 7891, 'F', 8403, 'F', 5379, 4651, 'M', 1727, 'b', 5653, '1717', 'S', '9761', '4155', '5049', '879', 'n', '7459', '8765', 'p', '5109', '3135', 'F', '4463', '103', '7581', '7305', 'Q', 'V', 'f', '4413', 'E', 'L', '7993', 'Q', 'E', '9719', '6599', 'u', '2895', 'Q', 'E', 2833, 9505, 'C', 6339, 'E', 1589, 5851, 'K', 'r', 4829, 'O', 373, 'K', 8289, 3825, 'i', 'p', 7325, 3637, 6649, 'p', 6411, 2201, 'S', 'Q', 9247, 't']

Ex Output:
1717, S, 9761, 4155, 5049, 879, n, 7459, 8765, p, 5109, 3135, F, 4463, 103, 7581, 7305, Q, V, f, 4413, E, L, 7993, Q, E, 9719, 6599, u, 2895


Ex Input:
[9423, 'Y', 7273, 9761, 4931, 2535, 9421, 2391, 'd', 4657, 'n', 6043, 3569, 'x', 'f', 'z', 'O', 'O', '8603', '9383', '3825', 'h', 'C', 'h', '5187', 'y', '5391', 'Z', 7761, 'U', 'n', 'W', 7951, 'n'], [5229, 5687, 5163, 'i', 4615, 'T', 'x', 'f', 'z', 'O', 'O', '8603', '9383', '3825', 'h', 'C', 'h', '5187', 'y', '5391', 'J', 'j', 8029, 7329, 'G', 'k', 'T', 'd', 'W', 'u', 8987, 2977]

Ex Output:

x, f, z, O, O, 8603, 9383, 3825, h, C, h, 5187, y, 5391