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

Input: Consider Input: ['c', 'N', 9495, 305, 1779, 7447, 8519, 2777, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'A', 'p', 'k', 'h', 'A', 7013, 509, 'G'], ['V', 2467, 9505, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'W', 4557, 's', 4431]

Output: 2205, 2411, 4203, g, V, 8037, h, 5963, L, 715

Input: Consider Input: ['L', 'V', 5597, 1661, 'x', 'M', 3901, 'Y', 7525, 'r', 'P', 3031, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'y', 9635, 9141, 't', 7363, 1359, 'H', 5619], [6813, 7119, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'w', 2701, 'f', 9769, 6265, 6111, 'n', 5757, 915, 1583, 'N']

Output: b, y, 951, E, Q, n, 5797, 6551, 7545, 523, 6555, 3247, 1875, 5, 2955

Input: Consider Input: ['a', 9171, 5053, 5369, 'M', 's', '1749', '9611', '6727', '6359', 'j', '5905', '3847', '9623', 'o', '5535', '9185', 'y', 'r', 's', '5531', 'C', '7577', 'w', '357', 'Y', 'd', 'c', 7791, 8781, 1395, 7219], ['D', 4233, 'L', 'Y', 1963, 6691, 'b', 'w', 9929, 'P', 555, 's', '1749', '9611', '6727', '6359', 'j', '5905', '3847', '9623', 'o', '5535', '9185', 'y', 'r', 's', '5531', 'C', '7577', 'w', '357', 't', 'B']
Output: s, 1749, 9611, 6727, 6359, j, 5905, 3847, 9623, o, 5535, 9185, y, r, s, 5531, C, 7577, w, 357