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

Input: Consider Input: [8409, 4833, '3743', '7709', '4991', '1023', 'z', 'T', 9821, 'v', 'S', 2959], [2565, 6315, 'm', '3743', '7709', '4991', '1023', 'z', 'V', 'K', 'h', 'e']

Output: 3743, 7709, 4991, 1023, z


Input: Consider Input: [7491, 'w', 'F', 2929, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'X', 'n', 821, 1983, 'S', 6305, 'O', 6533, 'q', 901, 'U', 2911], [3143, 1605, 4373, 'T', 7055, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'r', 'Z', 943, 861, 8883, 'b', 'n', 3409, 8943, 'M']

Output: 6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093


Input: Consider Input: [227, 6301, 'q', 3437, 'j', 963, 'F', 575, 'N', 'x', 'F', 'S', 'R', 1211, 2115, 'g', 6191, 1133, 'i', 5183, 7329, 'Y', 'a', 7259, '6815', '8483', 'R', 'q', '9659', 'D', '919', 'q', '9171', 'C', 'Y', '8867', 'v', 'I', 'K', '5615', 'h', '7317', '7771', '339', '29', 'a', '6569', 'J', '7351', 'x', 'e', 'u', 'k', 5083], ['L', 9565, 'b', 5027, 5863, 7353, 'v', 7701, 3359, 4293, 'G', 'g', 'n', 'X', 419, 'V', 'P', 6923, '6815', '8483', 'R', 'q', '9659', 'D', '919', 'q', '9171', 'C', 'Y', '8867', 'v', 'I', 'K', '5615', 'h', '7317', '7771', '339', '29', 'a', '6569', 'J', '7351', 'x', 'e', 'u', 'M', 'h', 8483, 5607, 'R', 'x', 6011, 'q', 6807, 'm', 'E', 'p', 2043, 'V', 4717, 'x', 9977, 3799, 8779, 3253, 'M', 'L', 'w', 'R', 'V', 6009, 'H', 7683]


Output: 6815, 8483, R, q, 9659, D, 919, q, 9171, C, Y, 8867, v, I, K, 5615, h, 7317, 7771, 339, 29, a, 6569, J, 7351, x, e, u