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

Input: Consider Input: [9575, 'B', 2013, 'J', 'e', 7839, 1517, 1505, 'T', 1109, 5639, 'o', '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'j', 3455, 4281, 7515, 2685, 617, 'M', 'f', 1943, 2675, 'L', 'U'], [1429, 2865, 'Y', 745, '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'F', 'r', 'w', 3275, 'x', 'y', 'R', 'N', 'P', 4961, 'm', 'v', 'L', 'g', 'B']

Output: 4409, L, 9207, 2481, W, 5287, h, b, h, T, g, k, 5867, p, 3705, 1257, 4107, 3389, a, r


Input: Consider Input: [2037, 'z', 'w', 7693, 'M', 'W', 'Y', 'G', 'U', 2483, 'l', 2629, 'F', '6973', 'w', 'D', 'z', 'z', 'Y', 'm', '6417', '927', 'X', 'N', 'L', '6511', '8401', 'A', 1945, 5937, 7887, 'j', 6615, 'O', 3925, 7455, 319, 'A', 6973], ['q', 'N', 'V', 'S', '6973', 'w', 'D', 'z', 'z', 'Y', 'm', '6417', '927', 'X', 'N', 'L', '6511', '8401', 'v', 'J', 'j', 'w']

Output: 6973, w, D, z, z, Y, m, 6417, 927, X, N, L, 6511, 8401


Input: Consider Input: [1253, 9353, 'k', 'N', 6825, 955, 2113, 'Y', 'z', 'O', 3199, 'I', '9781', '8579', 'k', '5835', '6231', 'c', '5603', '2397', '6121', '5263', '1753', 'b', 't', 'O', 'H', '8569', '2405', '367', 'R', 'Q', '3125', 'a', 'U', 3539, 'V', 'T', 'T', 1921, 'w', 'r', 'o', 'Y', 2423, 'o', 1799, 4207, 8191, 'E', 's', 1201, 'J', 8811, 6603, 7155], ['c', 'V', 'w', 'Y', 's', 287, 3559, 'm', 797, 'I', '9781', '8579', 'k', '5835', '6231', 'c', '5603', '2397', '6121', '5263', '1753', 'b', 't', 'O', 'H', '8569', '2405', '367', 'R', 'Q', '3125', 'a', 'Z', 'l', 2187, 2075, 'v', 'o', 'q', 'z', 1707, 'F', 9169, 'O']


Output: I, 9781, 8579, k, 5835, 6231, c, 5603, 2397, 6121, 5263, 1753, b, t, O, H, 8569, 2405, 367, R, Q, 3125, a