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

Input: Consider Input: [9673, 'V', 'q', 8183, 4703, '9707', 'Y', '7685', 'o', 'b', 'a', 'g', 'R', '551', 'W', 'Q', 1263, 'd', 'S'], [3777, 'a', 't', 'b', 'P', 'L', 3443, 6611, 1651, 'G', '9707', 'Y', '7685', 'o', 'b', 'a', 'g', 'R', '551', 'W', 'E', 'y', 'U']

Output: 9707, Y, 7685, o, b, a, g, R, 551, W


Input: Consider Input: [3539, 6661, 127, 883, 'j', 'i', 9169, 4635, '8533', 'w', 'B', 'x', '8345', '1367', '8023', '4489', '5083', 'A', '2295', '2737', 'Q', 'H', 'Q', 4829, 'h', 'e', 'L', 6905, 't'], [7275, 1425, 'r', 'G', 'c', 's', 'W', 'L', 'C', 'o', '8533', 'w', 'B', 'x', '8345', '1367', '8023', '4489', '5083', 'A', '2295', '2737', 'z', 'V', 4703, 'c']

Output: 8533, w, B, x, 8345, 1367, 8023, 4489, 5083, A, 2295, 2737


Input: Consider Input: ['p', 3305, 'd', 7211, 1087, 'M', '3901', '9547', '6159', '5487', '3135', '7809', 'K', 'G', 'w', '9945', '3283', 'a', '8953', '9537', 'g', 'm', '7409', '8315', '6925', '8031', 'O', 'j', 'g', 9135, 2059, 7817, 'a', 'D', 'A', 'M'], [5339, 'W', 8143, 'K', 'q', 'Y', 1877, 'J', 'R', '3901', '9547', '6159', '5487', '3135', '7809', 'K', 'G', 'w', '9945', '3283', 'a', '8953', '9537', 'g', 'm', '7409', '8315', '6925', '8031', 'O', 'E', 3015, 8667, 'z', 'V', 'w', 8629, 'V', 'Z', 'Y', 2543]


Output: 3901, 9547, 6159, 5487, 3135, 7809, K, G, w, 9945, 3283, a, 8953, 9537, g, m, 7409, 8315, 6925, 8031, O