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

Input: Consider Input: [5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]

Output: 6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259


Input: Consider Input: ['c', 7387, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'W', 'i', 'A', 7573], ['K', 'g', 'b', 'u', 7899, 'k', 's', 223, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'h', 7411, 83, 'T', 9199, 't', 9245]

Output: 4905, 999, 5697, G, 9975, f, I, 2807, 6785, 7473, 9999, 8011


Input: Consider Input: ['X', 889, 'K', 'Y', 6939, 'n', '8153', '8523', '1671', 'a', '8655', '5265', 'F', 'F', '6623', '5339', 'a', '4587', '7973', 'z', 'J', '3341', '8667', 'S', '4035', 'z', 'p', 'd', 169, 2539, 'w', 'w', 1379, 975, 'W', 'V'], ['l', 1379, 'n', 'H', 'R', 'r', 'y', 8965, 'F', 'n', '8153', '8523', '1671', 'a', '8655', '5265', 'F', 'F', '6623', '5339', 'a', '4587', '7973', 'z', 'J', '3341', '8667', 'S', '4035', 'e', 4331, 'p', 's', 9635, 6223, 't', 's', 'd', 7335, 'r', 8835, 'P', 'v', 2621]


Output: n, 8153, 8523, 1671, a, 8655, 5265, F, F, 6623, 5339, a, 4587, 7973, z, J, 3341, 8667, S, 4035