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

Ex Input:
['B', 'f', 'Y', 'r', 4391, 'B', '6995', '7077', 'p', '3191', 'M', 1379, 5473], [3689, 'g', 5189, 'w', 4837, 'B', '6995', '7077', 'p', '3191', 'B', 9145]

Ex Output:
B, 6995, 7077, p, 3191


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:
[343, 2143, '5189', 'L', 'Y', '8081', 'l', 'v', 131], [4925, 9025, 's', '5189', 'L', 'Y', '8081', 'b', 'W', 377, 'j']

Ex Output:

5189, L, Y, 8081