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

Input: Consider Input: [875, 'U', 'g', 'q', 'H', 2847, 'f', '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'e', 'n', 5885, 'w', 3345, 4693, 'H', 7789, 'y', 'j', 'e'], ['V', 'j', 6713, 2923, 'y', 6205, 'm', 5961, 9023, '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'y', 7427, 5987]

Output: 6811, B, 7549, K, r, V, x, P, X, 2469, 3845, W


Input: Consider Input: ['K', 4691, 'I', '2495', '1015', 'L', '581', 'b', 9477], ['k', 2419, 'd', 'I', '2495', '1015', 'L', '581', 'r', 's', 6673, 5755]

Output: I, 2495, 1015, L, 581


Input: Consider Input: ['v', 'Q', 9595, 'j', 711, 'x', 'N', 9739, 'a', 6079, 'r', 1053, 7667, 771, 3425, 4335, 'a', '4851', '7763', '9303', 'R', 'j', 'p', 'x', '349', 'd', '7525', '3801', 't', '1831', '5033', 'S', 'k', '5789', 'E', 'l', 'R', '3079', 'V', 'm', 'z', '4421', '3567', 'L', 3893, 2555, 'A', 8097, 5013, 331, 'p', 4337, 'X', 'a', 7557, 2135, 1435, 7197, 'P', 5601, 4093, 'R', 'x', 'Y', 1313, 319, 'g', 6141, 3711], [5845, 5373, 'k', 8905, 'z', 2049, 'O', 9079, 'N', 'c', 5315, 'H', 3847, '4851', '7763', '9303', 'R', 'j', 'p', 'x', '349', 'd', '7525', '3801', 't', '1831', '5033', 'S', 'k', '5789', 'E', 'l', 'R', '3079', 'V', 'm', 'z', '4421', '3567', 'V', 679, 'a', 'd', 'c', 7825, 2375, 9127, 'e', 8989, 'X', 'P', 'M', 'E', 't', 'a', 231, 'M', 'r', 'd', 'j', 1259, 8253, 3077, 'O']


Output: 4851, 7763, 9303, R, j, p, x, 349, d, 7525, 3801, t, 1831, 5033, S, k, 5789, E, l, R, 3079, V, m, z, 4421, 3567