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

Input: Consider Input: [3585, 8561, '6537', 'm', 'e', 'E'], ['H', 'x', '6537', 'm', 'i', 9553]

Output: 6537, m


Input: Consider Input: [3233, 5891, 'C', 'a', 861, 1163, 'k', 'Z', 5517, 'h', 3411, 2441, 507, 's', 'f', 'e', 205, 7893, 't', 's', 'i', '1937', '6727', 'g', 'A', '7263', 'c', 'N', 'W', '1551', 'v', 'j', '153', '5151', 'u', 'H', '6455', '2023', 'f', 'J', '3107', 'r', '4811', 'I', 'k', 'V', 'S', 'V', 7601, 9467, 9511, 'b', 'u', 'X', 'G', 9739, 't', 'N', 3657, 8599, 5567, 6039, 'E', 'S', 't', 'V', 'g', 3377, 'E', 2209], ['g', 'o', 5979, 4497, 'M', 'S', 'd', 'h', 3177, 1275, 's', 'o', 2109, 'Y', 3819, 'v', 3237, 3351, 8809, 'b', 'k', 'H', 'y', 1519, 1669, 's', 'i', '1937', '6727', 'g', 'A', '7263', 'c', 'N', 'W', '1551', 'v', 'j', '153', '5151', 'u', 'H', '6455', '2023', 'f', 'J', '3107', 'r', '4811', 'I', 'k', 'V', 'S', 's', 'b', 8281, 'H', 5969, 1903, 1471, 'c', 'C', 'M', 'G', 'O', 6993, 'R', 'M', 8933, 'f', 'r', 3619, 1857, 1037, 'w', 8845, 'Z', 4635]

Output: s, i, 1937, 6727, g, A, 7263, c, N, W, 1551, v, j, 153, 5151, u, H, 6455, 2023, f, J, 3107, r, 4811, I, k, V, S


Input: Consider Input: [2217, 'Z', 6767, 6975, 227, 8301, 8215, 'T', 7953, 'A', '5353', 't', 'Z', '2643', '6275', 'Y', 'A', '1671', '9571', '6207', 'q', 5603, 'M', 3871, 'k', 3917, 7487, 'q', 'T'], ['I', 6777, 'O', 'h', 699, 605, 2587, '5353', 't', 'Z', '2643', '6275', 'Y', 'A', '1671', '9571', '6207', 'N', 'D', 'W', 2303]


Output: 5353, t, Z, 2643, 6275, Y, A, 1671, 9571, 6207