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

Input: Consider Input: ['d', 6171, 9855, 'D', 'e', '299', 'y', 'U', 'n', 'x', 'f', 2817, 7263, 2945, 'h'], [5759, 2135, '299', 'y', 'U', 'n', 'x', 'g', 2571, 'd']

Output: 299, y, U, n, x


Input: Consider Input: ['J', 6791, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'i', 'n', 'R', 9199, 455, 'i'], [4051, 8463, 'i', 6667, 'N', 'k', 'X', 2629, 'I', 'O', 5057, 1059, 4265, 'B', 3819, 'c', 9941, 'R', 'a', 5545, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'a', 9953, 6229, 'F', 2985]

Output: x, f, n, 5565, 4103, q, n, h, 625, 2981, 3243, q, 2705, 5505, s, 4423, j, 9819, 3841, Z


Input: Consider Input: [4467, 'F', 'd', 'L', 'E', 6185, 8349, 'm', 'O', 921, 'T', 9479, 5973, 'P', 'I', 2551, 'Y', 525, 'g', 'F', 'T', 7071, 1095, 'R', 'C', 'Y', 'n', '9943', '3027', 'O', '5241', 'a', '4099', '7393', '2709', 'p', '223', '503', 'G', '7227', '8679', 'B', '8427', 'N', 'l', 'Z', 'U', 'I', 'w', '2759', '5069', 'V', '7017', 'Z', 3453, 2249, 'v', 'X', 4417, 2635, 729, 'X', 1947, 1611, 'F', 'S', 'v', 6281, 1815], [5965, 'h', 'U', 'B', 3411, 9687, 'Y', 'n', '9943', '3027', 'O', '5241', 'a', '4099', '7393', '2709', 'p', '223', '503', 'G', '7227', '8679', 'B', '8427', 'N', 'l', 'Z', 'U', 'I', 'w', '2759', '5069', 'V', '7017', 'B', 'C', 'I', 4205, 's', 5667, 1513, 'k', 379, 9381, 2769, 4967, 4075, 'Z', 'Y', 't', 'z', 'j', 'u', 'O', 7963, 2401, 'F']


Output: Y, n, 9943, 3027, O, 5241, a, 4099, 7393, 2709, p, 223, 503, G, 7227, 8679, B, 8427, N, l, Z, U, I, w, 2759, 5069, V, 7017