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

Input: Consider Input: [7975, 4703, 'c', '8363', '1673', 'U', 'w', 6977], [3235, 'G', 'c', '8363', '1673', 'N', 'p']

Output: c, 8363, 1673


Input: Consider Input: [7395, 6997, 'Z', 2015, 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'C', 8179, 4675, 'x', 'k', 'V'], ['P', 'A', 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'k', 7667, 3913, 5111, 1215, 'r', 'g']

Output: v, 4045, F, O, N, k, 6013


Input: Consider Input: [9793, 'Z', 8111, 'l', 'L', 3399, '5309', '4055', '6613', '511', '1507', 'm', 'N', 'v', 'j', '9567', 'F', '5837', '6363', '6095', '3143', 'w', '5563', '2565', 'h', 2865, 'e', 1237, 4297, 'f', 'N', 'k', 'm', 'u', 'S', 6499, 1517, 4125, 2455, 'D', 'J'], ['f', 'M', 'w', 'A', 2411, 4211, 'l', 'h', 5979, 'w', 8829, 1203, 765, 6823, '5309', '4055', '6613', '511', '1507', 'm', 'N', 'v', 'j', '9567', 'F', '5837', '6363', '6095', '3143', 'w', '5563', '2565', 'r', 5027, 209, 'a', 3509, 'Y', 'M', 'P', 'j', 'I', 6841, 'X', 857]


Output: 5309, 4055, 6613, 511, 1507, m, N, v, j, 9567, F, 5837, 6363, 6095, 3143, w, 5563, 2565