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

Input: Consider Input: [737, 'z', 4401, 6317, 't', 'B', 3815, 'm', 'G', '8709', '4749', 'J', '8885', 'k', 'Y', '3083', 'X', '8267', 'T', 'A', 'A', '7049', '6681', '6111', 's', 't', 'h', 1687, 'T', 'O', 'A', 'r', 'U', 6703, 'u', 'm', 1571, 'J', 2289, 8279], [5617, 'D', 'p', '8709', '4749', 'J', '8885', 'k', 'Y', '3083', 'X', '8267', 'T', 'A', 'A', '7049', '6681', '6111', 's', 'n', 5571, 8277, 'D', 1885, 7949, 3767, 'o', 'K', 5755, 'v', 9117, 's', 'b']

Output: 8709, 4749, J, 8885, k, Y, 3083, X, 8267, T, A, A, 7049, 6681, 6111, s

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: [6889, 'N', 'z', 3919, 'o', 'c', 'y', 3533, 'f', 7353, 'r', 'g', 'Z', 'W', 4369, 'v', 'I', 943, '5765', 'Q', '8989', '2099', 'w', '5507', 'b', 'v', 'h', 'q', '1395', '1449', '4087', '5087', '2291', '2105', '8835', '4103', '1281', '4575', 'z', 'b', 'e'], [3103, 'q', 569, 8297, 'e', 'b', 4375, 'U', 9791, 8813, 'S', 'C', 6055, 5243, 'K', 8507, 9275, 2577, 5941, '5765', 'Q', '8989', '2099', 'w', '5507', 'b', 'v', 'h', 'q', '1395', '1449', '4087', '5087', '2291', '2105', '8835', '4103', '1281', '4575', 'z', 'c', 'S', 'i', 'j', 9411, 'q', 5823, 'q', 'g', 4889, 'T', 'R', 'O', 'V', 2445, 3069, 5735, 1261, 'x']
Output: 5765, Q, 8989, 2099, w, 5507, b, v, h, q, 1395, 1449, 4087, 5087, 2291, 2105, 8835, 4103, 1281, 4575, z