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

Input: Consider Input: [675, 'N', '7605', 'W', 'J', 'E', '2099', 'I', 'i'], ['T', 8995, 'E', 'U', '7605', 'W', 'J', 'E', '2099', 'R', 3629, 977]

Output: 7605, W, J, E, 2099


Input: Consider Input: ['N', 'z', 9641, 'z', 'f', 'o', 'L', 'D', 'w', 2793, 'b'], ['Q', 'R', 'z', 'f', 'o', 'L', 'A', 4343, 8711]

Output: z, f, o, L


Input: Consider Input: [6589, 'Y', 3923, 1283, 5867, 'V', 'w', 'K', 3419, 'X', 4903, 7527, 'G', 1063, 'U', 'g', 3461, 'a', 'W', 'u', '2155', 'b', 'H', 'a', 'P', 'r', 'J', '9815', 'x', '6061', '6449', '5831', '491', '1677', 'w', '9723', 'U', 'A', '6565', 'I', 7263, 2643, 'i', 'B', 7429, 5843, 1153], [641, 1901, 'E', 'P', 'p', 4839, 'x', 'u', '2155', 'b', 'H', 'a', 'P', 'r', 'J', '9815', 'x', '6061', '6449', '5831', '491', '1677', 'w', '9723', 'U', 'A', '6565', 'F', 'Q']


Output: u, 2155, b, H, a, P, r, J, 9815, x, 6061, 6449, 5831, 491, 1677, w, 9723, U, A, 6565