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

Input: Consider Input: [7231, 2153, '3257', '3693', 'P', 3291], [1543, 6411, '3257', '3693', 'G', 'k']

Output: 3257, 3693


Input: Consider Input: ['r', 187, 'm', 'S', 'z', 5311, 'Y', 'h', 'y', 'F', 'n', 'h', 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'b', 'n', 'P', 'k', 5257, 'A', 'm', 'q', 'Q', 'n', 'n', 'd'], [5561, 8887, 7269, 'z', 7529, 4645, 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'y', 1507, 'z', 'a']

Output: V, 5467, C, d, 2611, 3895, h, W, T, 7115, N, 4227, 2001


Input: Consider Input: [6999, 'v', 'a', 'L', 'K', 'U'], ['u', 9247, 'a', 'L', 'A', 'M']


Output: a, L