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

Input: Consider Input: [9881, 2501, 7097, 3329, 1065, 'h', 'J', 1357, 'Y', 'x', 7747, 357, 3529, 6397, 'L', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'd', 'o', 'Y', 363, 7935, 'M', 'o', 'k', 'w', 9975, 405, 'a'], ['E', 'g', 2627, 1707, 2107, 8717, 'D', 'e', 'g', 'l', 'N', 'd', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'K', 'X', 4927, 'U', 'P', 'r', 'c', 'o', 'm', 7749]

Output: 539, 2309, a, B, 965, 7339, 5615, O, b, 9687, 1095, 2253, G, G, 5381, e, 7179, 3215, z, 7589, V, 6001, 2451, 6691, 2189


Input: Consider Input: ['n', 'W', 'i', 'K', 2711, 3819, 3121, 537, 'b', 'R', 'a', 'L', 9525, 4387, 'd', 'q', 'V', '8621', 'S', '1969', 'Z', 'd', 'q', '2441', 'h', 'f', '6131', '4119', 'P', 'N', '9983', 'o', 'g', 'V', 7589, 5107, 'j', 'Z', 1463, 6377, 6067, 6867, 6039, 'H', 's', 'E'], [9135, 6091, 'K', 4859, 'q', 'G', 'V', 'p', 8559, 'F', 'X', 9801, 4643, 5531, 7251, 'q', 'V', '8621', 'S', '1969', 'Z', 'd', 'q', '2441', 'h', 'f', '6131', '4119', 'P', 'N', '9983', 'H', 2205, 2319, 2013, 1597, 3171, 'A', 'h', 'c']

Output: q, V, 8621, S, 1969, Z, d, q, 2441, h, f, 6131, 4119, P, N, 9983


Input: Consider Input: ['C', 1249, 'f', 'L', 9973, 5043, 8893, 8113, 'I', 'x', 9099, 8827, 'O', '9427', 'T', '6143', '95', 'W', 'D', 'j', 'Q', '6041', 'm', 'T', '1353', 'L', '1673', 'w', 'v', 'N', 'B', 'w', 'e', 'E', 'c', 'q', 'f', 'v', 'H', 7873, 'T', 'Z'], ['X', 4143, 'X', 'o', 'O', 'q', 'k', 'q', 'P', 'L', 'n', 4043, 2067, 9857, 4403, 1993, 'R', 'k', 'Z', 'e', 'F', 2493, 213, 'O', '9427', 'T', '6143', '95', 'W', 'D', 'j', 'Q', '6041', 'm', 'T', '1353', 'L', '1673', 'w', 'v', 'N', 'B', 'w', 'e', 'E', 'c', 'q', 'f', 'v', 'G', 'e', 8543, 'J', 6939, 'O', 5839, 2141, 'c', 'U', 8731, 'N', 'Y', 9623, 4433, 6135, 'q', 4159, 3119, 'q', 3419, 'Y', 'm', 4903, 'R']


Output: O, 9427, T, 6143, 95, W, D, j, Q, 6041, m, T, 1353, L, 1673, w, v, N, B, w, e, E, c, q, f, v