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

Input: Consider Input: [1229, 2165, 9405, 7393, 'c', 6613, 987, 9213, 9841, 1761, 977, 'X', 'w', 6301, 'h', 7313, 471, 9743, 8297, 'U', 5599, 'V', 'r', 'D', 'D', '5085', 'Z', 'E', '7057', 'r', '9905', '5733', 'M', 'z', 'v', 'C', 'u', 'A', '5577', '5937', 'Z', '4509', '4005', 'Z', 'a', 'F', '6315', '5875', 'c', 'A', 'l', 'I', 'F', 'd', 'Z', 'B', 2909, 'J', 7945, 4375, 'i'], ['u', 7037, 'F', 'P', 'p', 3491, 4945, 4199, 'Z', 9041, 'K', 7385, 'F', 275, 6533, 'x', 'O', 9603, 8641, 'G', 6723, 'L', 'S', 'D', '5085', 'Z', 'E', '7057', 'r', '9905', '5733', 'M', 'z', 'v', 'C', 'u', 'A', '5577', '5937', 'Z', '4509', '4005', 'Z', 'a', 'F', '6315', '5875', 'A', 'q', 4411, 3045, 'A', 933, 7623, 'w']

Output: D, 5085, Z, E, 7057, r, 9905, 5733, M, z, v, C, u, A, 5577, 5937, Z, 4509, 4005, Z, a, F, 6315, 5875


Input: Consider Input: ['L', 5499, 'z', 'J', 'I', 't', 6291], [337, 5087, 'z', 'J', 'I', 'p', 'm']

Output: z, J, I


Input: Consider Input: ['z', 'B', 'g', 'p', 'P', 1387, 1183, 7075, 5299, 'Y', 'k', '2597', '1135', '9353', '1347', 'C', 'l', 'D', '3577', '7095', 'F', 'R', 'i', 2897, 6097, 5413, 4529, 'n', 'e', 'M', 4239, 'v', 179], ['s', 'Z', 'n', 4457, 9301, 'C', 'V', 'T', 'm', 'L', 'Y', 'k', '2597', '1135', '9353', '1347', 'C', 'l', 'D', '3577', '7095', 'F', 'L', 3227, 'Q', 521, 1501, 'c', 8383, 'S', 4095, 'V', 1945]


Output: Y, k, 2597, 1135, 9353, 1347, C, l, D, 3577, 7095, F