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

Example Input: ['i', 'n', '7509', '7241', 'V', 'k', 205, 'H'], ['s', 4349, 7023, '7509', '7241', 'V', 'O', 't', 9237]
Example Output: 7509, 7241, V

Example 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']
Example 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

Example Input: ['L', 's', 1907, '9309', '981', '8779', '8175', '5083', '2945', '2737', '1615', '6803', '9675', 'h', 'K', 'A', 6017, 'l', 3605, 'J', 8779, 'V', 5845, 2603, 'n', 'm'], ['n', 9039, '9309', '981', '8779', '8175', '5083', '2945', '2737', '1615', '6803', '9675', 'h', 'K', 'Y', 'o', 6013, 'H', 465, 'F', 9717, 1521, 'h', 'Y']
Example Output:
9309, 981, 8779, 8175, 5083, 2945, 2737, 1615, 6803, 9675, h, K