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

Input: Consider Input: [5451, 't', 'Q', 5199, 'A', 'P', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'u', 'l', 'o', 9943, 'b', 'm'], [1925, 'Q', 'D', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'H', 3347]

Output: 5961, 133, Q, V, 7547, 899, 6027, 439


Input: Consider Input: [1001, 9417, '7135', 'q', 'C', '1417', 'x', '2263', 'F', 539, 5643, 1153, 5893, 'f'], [7791, 6635, 401, '7135', 'q', 'C', '1417', 'x', '2263', 'X', 8455]

Output: 7135, q, C, 1417, x, 2263


Input: Consider Input: [7971, 'D', 8507, 6541, 'L', 3089, 's', 2835, 'c', 7871, 9425, 2245, 'O', 8905, 3503, 'p', 'G', 'D', '7911', '7675', '3117', '8679', '6563', '7651', 'o', 'z', '3023', 'I', '1617', 'r', '9463', 'Y', 'S', 'e', 3257, 5357, 'a', 'B', 'g', 'O', 'f', 'O', 'O', 1547, 3153, 'h', 'T', 4481, 'w', 3375, 3477], ['e', 799, 'W', 'p', 'G', 'D', '7911', '7675', '3117', '8679', '6563', '7651', 'o', 'z', '3023', 'I', '1617', 'r', '9463', 'Y', 'S', 'L', 'E', 'h', 'U', 'W', 10027, 'V', 'e', 2249, 'a', 6657, 257]


Output: p, G, D, 7911, 7675, 3117, 8679, 6563, 7651, o, z, 3023, I, 1617, r, 9463, Y, S