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

Input: Consider Input: ['H', 9227, 9923, 7577, 8169, 'k', 'B', 'L', 6329, '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'Y', 'M', 7749, 'm', 4159, 'C', 3319, 9363, 2283, 'm', 4571, 'e'], ['u', 'Z', 'r', 1503, 'G', 9799, 'z', 'F', 'b', 'N', '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'J', 7431, 3855, 4535, 6657, 8809, 7885, 'U', 1753, 3423]

Output: 4183, 5427, 255, Y, C, g, I, J, 6847, D, 2735, X


Input: Consider Input: ['X', 4261, 'm', 7859, 4443, 287, 7605, 'X', 'z', 6017, 2097, 2447, 8915, 4657, 375, 81, 'I', 'C', 'T', 7455, 7461, 'W', 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'D', 2439, 'Q', 'l', 'D', 3245], ['J', 'o', 3361, 8709, 8719, 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'g', 'r', 4351, 'F', 2243, 8191, 5111, 6683, 'Y', 3647, 't', 'f', 2885, 5435, 7467, 'S', 9159, 8145, 'H', 'z']

Output: e, n, O, 1627, 5687, 421, 1005, 2703, 2689, 2227, 6679, 5031, y, n, 2949, j, 7753, 1135, A, t, b, x, B


Input: Consider Input: [2863, 2273, 'p', '8653', '6045', 'N', 'N', 'p', '1787', 'D', 'Y', '6847', 'h', 'M', '177', '2883', 'l', '3763', 'S', 'K', 'A', 's', 'i', '1483', 'u', 6065, 187, 'c', 'r', 6077], ['Q', 9327, 'v', 'b', 'c', 'W', 3593, 'y', 2211, 7883, 6035, 'O', 'p', '8653', '6045', 'N', 'N', 'p', '1787', 'D', 'Y', '6847', 'h', 'M', '177', '2883', 'l', '3763', 'S', 'K', 'A', 's', 'i', '1483', 's', 'Y', 4419, 'S', 1895, 6561]


Output: p, 8653, 6045, N, N, p, 1787, D, Y, 6847, h, M, 177, 2883, l, 3763, S, K, A, s, i, 1483