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

Input: Consider Input: ['N', 'V', 'O', 'x', 1311, 'v', 'd', 8727, 6043, '5765', '7781', '5561', 'S', 'b', 'F', '7789', '6181', 'N', '6861', '9347', '6701', '3981', '4855', 'B', '7527', 'X', 'v', 'D', '9489', 'a', 'T', 3027, 'l', 5595], ['r', 'K', 'R', 6379, 'o', 'w', '5765', '7781', '5561', 'S', 'b', 'F', '7789', '6181', 'N', '6861', '9347', '6701', '3981', '4855', 'B', '7527', 'X', 'v', 'D', '9489', 'x', 'q', 'p', 'Q', 'D', 'B', 9451, 'w', 2131]

Output: 5765, 7781, 5561, S, b, F, 7789, 6181, N, 6861, 9347, 6701, 3981, 4855, B, 7527, X, v, D, 9489


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: [13, 8087, 1681, 's', 't', 'p', '2873', 'l', '8991', '4395', '1309', '2599', '2357', 'D', 'Y', 'W'], ['A', 5865, 't', 'p', '2873', 'l', '8991', '4395', '1309', '2599', '2357', 'X', 8347, 6053]


Output: t, p, 2873, l, 8991, 4395, 1309, 2599, 2357