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

Input: Consider Input: ['x', 9943, 'K', 'O', 'g', 6603, 1275, 'x', 6903, 'c', 9999, 8825, 2529, 'r', 9149, 'W', 6857, 'A', 'c', '551', 'U', '7103', '453', '4397', 'z', '3567', '8685', '4895', 'k', '6657', '8493', 'Z', 'J', 'y', 'v', 'r', 'J', 'g', '3679', '1287', 'p', 6153, 'A', 'S', 8797, 3097, 8983, 'e', 1335, 'L', 'k'], ['N', 3687, 'j', 325, 'I', 'A', 'T', 2921, 'm', 'Z', 9267, 'U', 3985, 7851, 5999, 'b', 'c', '551', 'U', '7103', '453', '4397', 'z', '3567', '8685', '4895', 'k', '6657', '8493', 'Z', 'J', 'y', 'v', 'r', 'J', 'g', '3679', '1287', 'G', 'K', 8039, 7189, 8641, 'x', 'P', 'v', 7977]

Output: c, 551, U, 7103, 453, 4397, z, 3567, 8685, 4895, k, 6657, 8493, Z, J, y, v, r, J, g, 3679, 1287


Input: Consider Input: ['r', 'y', 1455, 'v', 631, 'q', '5453', '9015', '1127', 'R', 'B', '5487', 'M', '7325', 'L', 'D', '2897', 'z', '7191', '3383', 'E', 't', 't', '963', '2363', '3641', '9827', '6879', '3917', 'm', 'Y', 'w', 'T', 'v', 'v', '3263', 'f', 1003, 'E', 't'], ['r', 5091, 'e', 'i', 'L', 'x', 'D', 'q', 'z', 'M', 707, 'N', 'f', '5453', '9015', '1127', 'R', 'B', '5487', 'M', '7325', 'L', 'D', '2897', 'z', '7191', '3383', 'E', 't', 't', '963', '2363', '3641', '9827', '6879', '3917', 'm', 'Y', 'w', 'T', 'v', 'v', '3263', 'F', 4349, 3915, 6951, 7337, 7671, 3435, 9177, 'G', 'h', 'Q', 'j', 'v', 'q']

Output: 5453, 9015, 1127, R, B, 5487, M, 7325, L, D, 2897, z, 7191, 3383, E, t, t, 963, 2363, 3641, 9827, 6879, 3917, m, Y, w, T, v, v, 3263


Input: Consider Input: [4739, 'M', 3417, 'm', 'n', 'k', '7569', '1549', 'v', 'n', 'Z', 'n', 5349, 3067, 'a'], ['t', 'w', 'P', 'M', 'l', 'R', 'n', 'k', '7569', '1549', 'v', 'n', 'Z', 'D', 8459]


Output: n, k, 7569, 1549, v, n, Z