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

Input: Consider Input: [9995, 237, 'f', 'q', '4659', 'C', '1809', 'g', '8581', '3805', '8549', 'H', '8421', 'J', '889', '1383', 'a', 'u', 'u', 'i', 6289, 6979, 8697, 9881, 1747, 4169, 99, 'V', 261, 'n', 2261, 9455], [5613, 'B', 'z', 3941, 571, 9137, 'G', 'a', 3419, 2805, 1425, 'x', 'f', 'q', '4659', 'C', '1809', 'g', '8581', '3805', '8549', 'H', '8421', 'J', '889', '1383', 'a', 'u', 'u', 'n', 3707, 5783]

Output: f, q, 4659, C, 1809, g, 8581, 3805, 8549, H, 8421, J, 889, 1383, a, u, u


Input: Consider Input: [2087, 5665, 'W', 'H', 6711, '8181', 'q', '1949', 'j', '7351', 'g', 5827, 4893, 9173], [5187, 4249, '8181', 'q', '1949', 'j', '7351', 'w', 'Z', 'C', 3255]

Output: 8181, q, 1949, j, 7351


Input: Consider Input: ['R', 2925, 5397, 'A', 157, 'L', 3673, 2405, 1251, 4511, 5461, 'D', 9489, 3301, 'P', 'C', 2793, 's', 'U', 'F', 'u', '8995', '3131', '255', 'K', 'P', '6265', '5145', '5749', 'Z', '5301', 'v', 'U', '8261', 'F', '5225', '1819', '5929', 'W', '2075', '6363', 'U', 3929, 'a', 2683, 7249, 6551, 'b', 'j', 'V', 8553, 's', 'G'], [7535, 9705, 'V', 'F', 'U', 'F', 'u', '8995', '3131', '255', 'K', 'P', '6265', '5145', '5749', 'Z', '5301', 'v', 'U', '8261', 'F', '5225', '1819', '5929', 'W', '2075', '6363', 'C', 'w', 359, 'a', 'm', 1347, 'A', 3239, 2037, 'B', 8927, 'E', 'D', 8321, 'x', 'n', 'q']


Output: U, F, u, 8995, 3131, 255, K, P, 6265, 5145, 5749, Z, 5301, v, U, 8261, F, 5225, 1819, 5929, W, 2075, 6363