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

Input: Consider Input: [9945, 7993, 'D', 'C', 1341, 'S', 3245, 'v', 'R', 'a', 'Y', 'm', 'j', 'S', 2325, 7293, 8483, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'o', 5889, 'c', 2547, 'q', 9407, 'M', 'O'], [2017, 'P', 9637, 7239, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'Y', 'O', 'U', 495, 'U', 3945, 'h', 9439, 6821, 7583, 6249, 573, 'v', 'T', 2219, 3279]

Output: 2185, X, 5509, v, Q, 1557, 2811, 3957, 431, 2403, 9633, H, d, h, u, P, 3647, t, 8345, 8157, a, 4759, 3097


Input: Consider Input: ['J', 'h', '8587', 'b', 't', 'k'], [8955, 7253, '8587', 'b', 'e', 8655]

Output: 8587, b


Input: Consider Input: [7575, 3337, 'A', 's', 'A', 4037, 'X', 4433, 'w', '8853', 'h', 'q', 'Z', 'l', '4653', '6279', 'k', 'B', '6991', 's', '7399', 'Z', '8721', '8303', 'E', '8315', '5101', '463', 'f', 'c', 'U', 'O', 7533, 'x', 3049, 3221, 675, 'Y', 2811], ['c', 3813, 4389, 4771, 'N', 5023, 897, 'J', 'E', 3937, 'x', 'm', 8157, 'o', 'E', 'w', 'w', '8853', 'h', 'q', 'Z', 'l', '4653', '6279', 'k', 'B', '6991', 's', '7399', 'Z', '8721', '8303', 'E', '8315', '5101', '463', 'f', 'y', 'i', 'e', 7637, 8317, 'd', 'e', 'I', 8579, 2735, 'O', 8339, 'R', 'f', 'c', 'O', 'C', 947]


Output: w, 8853, h, q, Z, l, 4653, 6279, k, B, 6991, s, 7399, Z, 8721, 8303, E, 8315, 5101, 463, f