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

Input: Consider Input: ['E', 'V', 5783, 'G', 8167, 7189, 'I', 'A', '5987', 'd', 'u', '5069', 'v', 'i', '7725', '6567', '9085', '347', '4353', 'A', '5711', 'L', 'S', 'S', 'Z', '8949', 'X', 1807, 7157, 'S', 6831, 'T', 805, 'H', 2489, 'S', 'F', 7167, 'Q', 2907, 6863, 'k', 6843, 2527], ['R', 'y', 'k', 8823, 337, 1587, 'S', 'm', 5803, 'Q', 7073, 'A', '5987', 'd', 'u', '5069', 'v', 'i', '7725', '6567', '9085', '347', '4353', 'A', '5711', 'L', 'S', 'S', 'Z', '8949', 'S', 'O', 2883, 'o', 7283, 9175, 'G', 1287, 'u', 4403]

Output: A, 5987, d, u, 5069, v, i, 7725, 6567, 9085, 347, 4353, A, 5711, L, S, S, Z, 8949


Input: Consider Input: ['o', 833, 'H', 'I', 'x', 'u', 'a', 'L', 'H', 'g', '4519', 'J', 'E'], [9993, 'z', 'g', 'u', 'a', 'L', 'H', 'g', '4519', 'V', 9115]

Output: u, a, L, H, g, 4519


Input: Consider Input: ['d', 'Z', 'C', '5511', '5419', '3815', 'D', 'c', 'i'], [7871, 6453, 1193, 5151, 1859, 'C', '5511', '5419', '3815', 'D', 'O', 6683, 'a']


Output: C, 5511, 5419, 3815, D