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

Input: Consider Input: [621, 7677, 'b', '889', '6721', 'H', 'd', 'S'], [8151, 'F', 'b', '889', '6721', 'h', 4123]

Output: b, 889, 6721


Input: Consider Input: ['b', 'Z', 'n', 'O', 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'k', 833, 9001], [6221, 'H', 'w', 6543, 'o', 1523, 'W', 6091, 'T', 7021, 8161, 1111, 4653, 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'j', 5791, 3573, 9639, 'a', 4089, 5045, 'e', 'i', 'S', 3157, 1767, 2199, 'P']

Output: x, K, J, 5997, 8241, O, 9965, n, 6043, p, 8943, F, O, 2181


Input: Consider Input: [5237, 9821, 4677, 551, 9875, 'u', '9', 'M', 'A', '747', 'Z', '2579', '2005', '1215', 'Q', 'S', 'Z', 'j', 'T'], [3505, 'g', 'Z', 'b', 2167, 'u', '9', 'M', 'A', '747', 'Z', '2579', '2005', '1215', 'Q', 'S', 'v', 'r']


Output: u, 9, M, A, 747, Z, 2579, 2005, 1215, Q, S