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

Input: Consider Input: ['g', 305, '8447', 'K', 'y', 'D'], [2445, 5519, '8447', 'K', 't', 'l']

Output: 8447, K


Input: Consider Input: [4005, 'l', 'F', 4041, 'D', 5853, 'w', 'U', 'w', 'B', 'R', 'S', 4969, 'i', 3323, 889, 'N', 'I', 'T', '3715', 'l', '7103', '5669', 'd', '6091', '6783', 'g', '2319', '5827', 'l', '9691', '2421', 'W', '8085', 'p', 4245, 'H', 'v', 5431, 'q', 'w', 'g', 'u', 'l', 9089, 's', 6469, 'P', 'r'], [625, 'R', 2937, 6877, 'I', 'T', '3715', 'l', '7103', '5669', 'd', '6091', '6783', 'g', '2319', '5827', 'l', '9691', '2421', 'W', '8085', 'O', 's', 'k', 'b', 719, 'F', 779, 295, 3669, 'h', 't', 305, 677]

Output: I, T, 3715, l, 7103, 5669, d, 6091, 6783, g, 2319, 5827, l, 9691, 2421, W, 8085


Input: Consider Input: ['l', 7391, 'J', 1589, 8187, 'S', 4699, '6995', '7685', 'P', '6997', '3043', 'e', '7115', 's', '8787', 'y', 'R', 's', 'b', '6567', '1893', '1563', 'B', 'C', 'U', 3421, 'q', 2339, 4517, 'e', 'U', 6817, 'z', 'V'], [223, 'U', 'k', 'h', 9511, 'e', 'b', 'v', 'f', 7317, '6995', '7685', 'P', '6997', '3043', 'e', '7115', 's', '8787', 'y', 'R', 's', 'b', '6567', '1893', '1563', 'B', 'a', 4013, 1645, 'B', 607, 5761, 'B', 'O']


Output: 6995, 7685, P, 6997, 3043, e, 7115, s, 8787, y, R, s, b, 6567, 1893, 1563, B