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

Input: Consider Input: [4731, 'z', 8923, 1325, 'P', 8435, 'u', 'B', 'N', 8191, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'O', 'H', 9453], [4977, 'E', 4865, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'R', 'T', 7065]

Output: O, 3019, 4077, w, W, x, z, 2233, 6509, N, 3069, 5471, K, x, q, 979, M


Input: Consider Input: ['g', 6485, 9363, 'd', 'C', '7381', 'E', '3625', '8935', '4975', '4199', 'w', '4225', '9911', '4731', 'V', 'K', 2283, 7681, 'G', 1655, 'Y', 5095, 'b', 'x', 'V'], ['N', 'b', 'd', 't', 6171, 3157, 'y', 7821, 8523, 9675, 'd', 'C', '7381', 'E', '3625', '8935', '4975', '4199', 'w', '4225', '9911', '4731', 'G', 6357, 2383, 'j', 'N', 383]

Output: d, C, 7381, E, 3625, 8935, 4975, 4199, w, 4225, 9911, 4731


Input: Consider Input: [9085, 'B', 'D', 'Y', 'r', '6691', 'J', 2153, 'm'], [8907, 'f', 'h', 'x', 'D', 'Y', 'r', '6691', 'H', 'u', 2723]


Output: D, Y, r, 6691