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

Input: Consider Input: [8903, 3375, 'w', 1053, 3561, 'm', 'n', 525, 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'k', 6765, 'Z', 10011, 'r', 983, 'm', 1725, 4499, 'b', 'w', 4247, 3031, 2341, 'K', 5849, 8609, 'b', 'Q', 9443], [4217, 7417, 7593, 7021, 'x', 'n', 'w', 'G', 'p', 1559, 5043, 's', 'x', 1433, 'U', 6581, 'w', 5419, 'M', 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'n', 7429, 1747, 'f', 'Q', 7365, 'X', 'r', 'f', 1747, 'H', 'w', 7691, 'Y']

Output: X, 405, m, s, 1099, 2317, O, 2573, l, 3259, 4463, 9185, 3407, v, 9943, C, M, O, 3067, 2717, W, B, 5015, m, 6297, 301


Input: Consider Input: [3659, 'D', 'P', 'K', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 'y', 6631, 2281, 6607], [3101, 7057, 'N', 7065, 'X', 'r', 'n', 2803, 'G', 'v', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 's', 5293, 'F', 1371, 4459, 6983, 'R', 'X']

Output: 7241, V, p, i, 6013, X, C, 8145, Y, 2517, z


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